Difegue / LANraragi

Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
https://lrr.tvc-16.science
MIT License
2.1k stars 142 forks source link

Category buttons. #47

Closed wtf1knox closed 5 years ago

wtf1knox commented 6 years ago

Hello, I wonder, is there any options to pick category of galleries, customizable buttons like 2018-06-25 02_13_30-manga club read official manga for free Maybe point category at the end of file name, or smth like this

Difegue commented 6 years ago

You can already assign categories through tags, doing something like category:cg set, category:doujinshi, category:manga, etc.

Adding customizable shortcut buttons to specific tags is interesting, and wouldn't be very hard to do on my side - it's a feature of hydrus I enjoy and use a lot, so I wouldn't mind adding it in here.

Pinning this for 0.6 but I might get it in for 0.5.3 whenever I get around to releasing it (soon tm)

noirscape commented 6 years ago

I think this is mostly in reference to sites like sadpanda.

Sites like that permit you to toggle the buttons, and having multiple on is an OR operation, not an AND, which might be a pitfall to keep in mind.

wtf1knox commented 6 years ago

Pinning this for 0.6 but I might get it in for 0.5.3 whenever I get around to releasing it (soon tm) supa nice

Difegue commented 6 years ago

I think this is mostly in reference to sites like sadpanda.

Yeah I thought about the sadpanda buttons as well - It wasn't my original intention but datatables supports OR searching pretty easily through regexes: (category:a|category:b) does the job.

I'll do without button toggling first to see how it all holds up, though.

Difegue commented 6 years ago

I'll be releasing 0.5.3 today since the changelog is big enough already - Moving this to 0.5.4.

Difegue commented 5 years ago

Took me way too long, but it's done! 0.5.4 should release soonish with this in.