fuchsmich / zutun.txt

Taskmanager - Sailfish OS GUI for todo.txt file
4 stars 4 forks source link

[Feature Request] Add counter for (total number of) tasks at top of Task view #21

Closed sphenotux closed 4 years ago

sphenotux commented 5 years ago

Similar to Context and Project view, which show open and done tasks (e.g. (2/3), meaning "two open of three in total")), the Task view should show the total number of (open) tasks. At the top of the GUI, on the left - opposite to the filters? Informative counter - nice 2 have. [Edit: Writing this in order to clean up my zutun.txt - todo.txt file ;-). /Edit]

fuchsmich commented 5 years ago

The counter in the Filterpages actually show (visible/total). If you select a filter the count changes. I don't know if this is usefull at all. Maybe your suggestion (open/total) would be better?

sphenotux commented 4 years ago

Hm... not sure about Filterpages, either. Options:

IMHO a counter for the number of visible lines in the Task view (main page) is sufficient and helpful for everyone. Again, just a suggestion: Task view shows counter by default, but may be set to "invisible" or similar by user in Settings?

EDIT: If unfiltered, it would just mean to count the lines not starting with a lower-case "x", right? As of now, I am not skilled enough to handle this (alone). In Bash, one would probably use the grep -c command...

fuchsmich commented 4 years ago

I guess we should have a counter in the main taskview (NumberOfVisible/TotalNumber). Implementing this is a oneliner.