janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.86k stars 1.37k forks source link

Please Add Tag/Category Hierarchy Parsing #2019

Open Zaroz opened 3 years ago

Zaroz commented 3 years ago

Hello, I would like to request that the app be able to parse Hierarchical tags. What I mean by Hierarchical tags is the function in calibre where you can nest tags under other tags by using a period (.) separator (i,e: Fantasy.Magic).

As it is right now, a calibre tag of "Fantasy.Magic" shows up in the Calibre-Web Category browser under the Letter "F" for Fantasy rather than "M" for Magic.

image_2021-06-09_203303

This makes it rather difficult to search for some tags as there is a lot of them that fall under the "Fantasy" parent tag and some are even nested under several more levels, and you would need to know the whole hierarchy to properly find it.

Additionally, when listing tags in the book details page, it displays the full tag path for each tag, taking up a lot of space: image_2021-06-09_202227

What I would like to see is that the app would separately display tags for each level of the hierarchy under their respective letters in the Categories browser and collapse the displayed tags in the book details page to the bottom 1 or 2 levels of the hierarchy in a cleaner format, with maybe hover text displaying the full path (i.e: for Fantasy.Otherworld.Isekai, just display "Otherworld > Isekai" or just "Isekai" on the book details page.

tinywrkb commented 3 years ago

Dup of #1956 and ##1185 is also relevant. This has a better description of the wanted feature so keep this and close at least #1956.

I would also like to see this being implemented.

Zaroz commented 3 years ago

Dup of #1956 and ##1185 is also relevant. This has a better description of the wanted feature so keep this and close at least #1956.

I would also like to see this being implemented.

Not really, a dup of #1956, but related I guess. I feel like he was more concerned about searching using AND logic rather than OR logic, which you can already do using advanced search.

oal100 commented 2 years ago

I also think this Feature is beneficial, and vote for it. Tags: A book can have multiple Tags: "Fiction, Article" Categories: A book "sits" in a unique path of the Category (Genre) Tree: "Genre.Fantasy.Magic"

So while Tags help to discover, a hierarchical categorisation helps to remember.

The official proposal from calibre native to this experience is to generate a user-created, hierarchical attribute (e.g. "Genre) which delimits the nodes by a full stop ".". As in the screenshot above. I use this as well and it would be great if calibre-web would generically understand hierarchical attributes. ref: https://manual.calibre-ebook.com/sub_groups.html

Subbeh commented 1 year ago

Replying to get some traction, hopefully.

I second this request. Would be great to be able to use custom columns defined in Calibre, so we can have hierarchical categories.

grisha-raykov commented 11 months ago

Would love to have this feature.

machmalpause commented 9 months ago

I also use "." separated attributes for grouping of my tons of PDFs into hierarchical categories. I think this is a MUST for huge libraries. It would be fantastic if a proper visualisation of this feature could be soon incorporated in calibre web (which I love for its smooth performance on mobile devices) !