notes icon indicating copy to clipboard operation
notes copied to clipboard

Remember navigation state if shown or hidden

Open xxKeith20xx opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. I don't find categories useful and would like the option to hide them in general.

Since 4.8 it seems the default is to expand the category navigation on any visit to the notes app?

Describe the solution you'd like I'd like to set the default action as collapse or uncollapse categories in addition to hiding the "uncategorized" text.

Describe alternatives you've considered Disable categories in admin settings?

Additional context I have about 20 note files I use and rarely make new ones. I don't need to categorize such a few amount of note files. I'd like the option to reclaim the space and remove "uncategorized" in general to make the overall interface cleaner and more suited for my workflow.

xxKeith20xx avatar Jul 18 '23 01:07 xxKeith20xx

I was coming here to make this exact same comment. It adds an unnecessary extra step every time I open notes; it seems it should user preference to have notes start with categories collapsed or not since everyone has different use cases.

mobamoba avatar Jul 18 '23 16:07 mobamoba

I think remembering the user preference here is a good idea, so that once someone hides the navigation it stays hidden on future page loads.

juliusknorr avatar Jul 20 '23 13:07 juliusknorr

The first thing I click on every time I open notes is close navigation - every - single - time. I think this is would be a huge improvement. Thank you

user8446 avatar Feb 20 '24 00:02 user8446

This would really save time in our daily workflow so I did some more research to see if this could be done with CSS to close the navigation and it's not possible: https://stackoverflow.com/questions/74691654/is-it-possible-to-add-aria-hidden-for-css-content-property

It appears it would be a simple toggle of true/false in the HTML code though:

Screenshot 2024-03-03 123101

Remembering the state is already implemented in Deck, so possibly the code could just be copied over. I think this PR is it: https://github.com/nextcloud/deck/pull/2440 and actually @juliushaertl you handled it :)

user8446 avatar Mar 03 '24 17:03 user8446