Ny's To-Do List - Todo / Task Manager

Ny's To-Do List - Todo / Task Manager

141k Downloads

“Hide completed categories” should also hide empty categories

tflo opened this issue · 4 comments

commented

I like the new “Hide completed categories” feature for my Weekly and Daily tabs.

But, if this is enabled, then also empty categories should be hidden.

Why?

My “categories” are actually my chars, and not all of them have always a daily or weekly task. As I have many chars, also the ones that do have tasks are usually collapsed, because of the scrolling bug1. The big advantage of “Hide completed categories” is – in theory – that I don’t have to expand a category (a char) to see if all tasks are completed, because the category simply is no longer visible if all is completed.

However, the empty categories (chars without tasks) are still visible, and thus indistinguishable from collapsed categories that still contain open (non-favorite) tasks. As a result, I still click the collapsed empty chars, because I think there could be tasks inside.

If they were hidden (like a category with all tasks completed) then we would have unambiguity: Collapsed category visible = something not yet done is inside.

I hope it is understandable what I mean ;)

– Tom

Footnotes

  1. If the list has a certain length it is often impossible to scroll to the bottom. The scroll bar is at the bottom stop but the text is cut off at the bottom (can be a half line or one line or more). Collapsing some of the other categories usually brings the text back in the visible/scrollable area.

commented

Hey Tom! This feature was something we had in older versions of the addon, it was simply used to clean up the list so that we only saw what was left to do, but it got lost in 6.0, so I added it back.

But now I realise that since we can have empty categories, only hiding the completed ones might not be enough. I didn't think someone would voluntarily leave empty categories, but it makes sense in your case.

The problem with hiding empty categories was simply 'how are we supposed to add new items in it?'. What I'm thinking is that I'll probably add the possibility to add items while in edit mode, that way it'll solve those sorts of problems.

About the 'scrolling bug', it's probably just me that didn't give the right amount of space for empty categories/other things, I'll look into it.

Thanks a lot for the feedback!

commented

Thanks for fixing the scrolling. Seems fine now with 6.2.1 :-)

The problem with hiding empty categories was simply 'how are we supposed to add new items in it?'. What I'm thinking is that I'll probably add the possibility to add items while in edit mode, that way it'll solve those sorts of problems.

Sounds like a good solution…

… because the “how are we supposed to add new items in it?” would not only concern hidden empty categories, it already also concerns the categories that are hidden because of 100% completed tasks:

Unless I’m missing something, if the category is hidden, and I want to add a new task, I cannot. I first have to switch to Edit mode, then uncheck any contained task (to make the category visible), then leave Edit mode again, then add my new task, and finally check again the old task (the one that I had unchecked to make the category visible).

So, the possibility to add tasks in Edit mode would not only make it possible to hide empty categories, but also eliminate that cumbersome process to add a new task to a hidden completed category :)

commented

That's exactly right! Looking forward to releasing this update in the near future ;)

commented

Just downloaded 6.3 :)

Many thanks for implementing it! Love your addon even more now 🥰

(Now I could finally delete all the dummy tasks, which I ticked every day just to hide the taskless toons ;)