Hide track types from summary if the quantity is zero #9

Open
opened 2024-10-08 19:26:09 +00:00 by ianrenton · 0 comments
ianrenton commented 2024-10-08 19:26:09 +00:00 (Migrated from github.com)

Currently, the track summary shows all possible track types, even ones for which there aren't any tracks:

image

This isn't too bad for me as the only thing I don't routinely track is radiosondes, but it's probably annoying if you only track one or two types.

This should instead not display an entry for which there are zero tracks. Grammar with positioning of commas and "and" should be maintained. If nothing is being tracked, it should be reworded as "This instance is not currently tracking anything."

Currently, the track summary shows all possible track types, even ones for which there aren't any tracks: ![image](https://github.com/user-attachments/assets/9f6e1fd4-91fa-4447-b582-a6fe7a690933) This isn't too bad for me as the only thing I don't routinely track is radiosondes, but it's probably annoying if you only track one or two types. This should instead not display an entry for which there are zero tracks. Grammar with positioning of commas and "and" should be maintained. If nothing is being tracked, it should be reworded as "This instance is not currently tracking anything."
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ian/planesailing#9
No description provided.