ActivityLog2
                                
                                
                                
                                    ActivityLog2 copied to clipboard
                            
                            
                            
                        Wishlist: Provide "default" sport zone
At the moment, it is possible to set sports zones for running and cycling only. I suggest adding a default sport zone that will be used when no specific zone is defined.
The database schema already allows specifying sport zones for any defined sport, see SPORT_ZONE and SPORT_ZONE_ITEM tables (see here), and adding new sports would simply mean updating the zone editor dialog to add the new sport. The rest of the code should pick up the sport zones for any sport.
Adding a "generic" sport zone is more complicated. In addition to updating the zone editor dialog, the code uses the V_SPORT_ZONE_FOR_SESSION SQL view to query which sport zones are valid for a session and this view would have to be updated to match generic sport zones when no specific zones match.
Alternatively, you can also update your database directly (or writing your own script to do it). This would be simpler if you want to add sport zones for a new, specific sport.