bayang / jelu

Self hosted read and to-read list book tracker
MIT License
328 stars 13 forks source link

Feature Request: Media Type field #141

Open kevjs1982 opened 3 days ago

kevjs1982 commented 3 days ago

It would be very handy to have a field where we can record the media type of a book rather than having to overload the tags.

Ideally this would be tag based as some books come in multiple formats for a single purchase

In my relatively small collection, so far, I have identified books in the following formats:-

and those books which comes in multiple formats are:-

I also have a handful of duplicate books which were separate purchases so are now owned in multiple formats (e.g. Paperback and Audiobook) - I'm keeping these separate, but others may wish to tag all the formats they own under one entry.

Note, this was mentioned in regards to the Narrator feature request #139

bayang commented 2 days ago

I'm wondering if this could not be achieved through tags as you mention in your request ?

As I said in other issues, tags in jelu are not designed to only fit the genre as it is often the case. I use tags to mark books in my reading list that I need to buy, you can also use tags to specify the location of the book (eg bedroom bookshelf etc...). Maybe you could tag your travelguides as paperback and map
Tags can be used to build queries so I guess you could easily retrieve your books by media type.

I see another benefit is that each user could use their favourites tags instead of having to pre-populate the jelu DB or even maintain an enum in the code.

Also, you can use the "shelf" feature of jelu to pin some tags on your homepage, which means you could have your favourites media types in a dedicated menu on your home.

What do you think of this ?

kevjs1982 commented 2 days ago

Before I upgraded to 0.59 I was finding that searching for multiple tags - which would allow this sort of functionality to be emulated - wasn't working so assumed that wasn't possible. However I now realise this was caused by bug #143 .

With the tags being multi-purpose, what would make this feature request redundant is if those tags could be added on the filter rather than having to type a manual search query each time.

e.g. once in the following view being able to add a tag of "Audiobooks" would allow you to narrow it down (missing from this feature request was adding the media type to this left hand panel!). As you add more tags (e.g. "Formula 1") it would further reduce the number of books shown to those which contain the original search criteria (e.g. the tag Motorsport), Audiobook, and "Formula 1".

2024-09-21 19_05_10-Jelu _ #Motorsport

bayang commented 1 hour ago

Now that the bug is fixed, I will start thinking about this one. If I understand correctly the major remaining pain point is that filtering by tag has to be done manually in the search field ? You suggest that the side filter bar should provide a convenient and graphical way to selct tags to filter by ?