beromir / Servas

A self-hosted bookmark management tool.
https://servas.app
GNU General Public License v3.0
562 stars 32 forks source link

Feature Request: Tag Filter in sidebar #79

Open underwoodblog opened 10 months ago

underwoodblog commented 10 months ago

I like the new sidebar!

Would be nice to be able to activate the tag filter in the same style as the groups.

Filtering a tag with the "Filter by Tags" button on the home needs three clicks to activate a tag filter.

I liked the old direct clickable taglist over the links on the homepage more. Faster access than the new filter button.

beromir commented 10 months ago

I'm glad you like the new sidebar layout. The tags will not be added to the sidebar. Instead, I plan to introduce "smart groups". With them, you will be able to show links in groups based on rules. For example, if a link is tagged with the tags "A" and "B", it will show up in a specific group. I think this will be a great feature and will allow you to organize your links better.

I share your experience with the tag filter modal. I introduced this because the tag list could grow very large if you had many tags, especially on mobile. And so you had to scroll a long way to get to the link list. Maybe I should add a user setting to choose between the new tag modal and the old tag list. I could add a button to expand and hide the tags, so they will not be in the way.

underwoodblog commented 10 months ago

Smart groups sound interesting. So I can create a smart group and ad multiple tags to it? Will there be a NOT? Like has tag A and C and not tagged with B?

User setting to choose between tag list and tag button would be great. Or a simple switch button in the sidebar to switch between tag button/tag list view mode, that state is stored. Or the tag select list on bottom of the page to prevent scrolling on mobile or when the servas page is in the sidebar of vivaldi browser.

Oh, I noticed that the sidebar close button disapear, when using servas in the sidebar of vivaldi. Have to widen the sidebar to close it.

image

Btw. with the new layout, there is lots of space on top on the page in Vivaldi Browser on Windows PC. Overall the page has a clean looking layout but with Zoom to 90% at 1920x1080 screen resolution, I still have to scroll to see the page switch on bottom of the list.

image

beromir commented 10 months ago

"NOT" conditions are planned for the smart groups, but perhaps not at first, as implementing the filtering logic will be quite difficult.

On most mobile devices there should be enough space on the right to close the sidebar. But maybe I should add a separate close button in the sidebar. For now, the sidebar also closes when you click on a menu item.

It is not intended to see the full content without scrolling. I personally like the space at the top, so this will not be changed.