manyfold3d / manyfold

A self-hosted digital asset manager for 3d print files.
https://manyfold.app
MIT License
797 stars 50 forks source link

Additional search functionality for tags. #2398

Open dramamoose opened 3 months ago

dramamoose commented 3 months ago

Is your feature request related to a problem? Please describe. I am currently going through and adding additional organization to my files, which are mostly DnD minis and terrain pieces. For example, I am adding 'size' and challenge ratings to each piece, as well as its source book. Currently, as far as I am aware there is no good way to determine what files do not have a particular tag, nor is there a way to select every file which has

Describe the solution you'd like Add a button to the top of the tag section which allows the user to select 'or', 'nor', and 'not', in addition to the 'and' search ability.

I think this makes sense but if not, for five files tagged A - Fantasy, humanoid, minis B - Fantasy, dragon, minis C - Sci-Fi, humanoid, minis D- Fantasy, terrain E- Sci-fi, terrain

Using the search tags of 'Fantasy, Humanoid, Minis', And: Current result, returns 'A' Or: Returns 'A, B, C, and D' Nor: Returns E Not: Returns B, C, D, E

Describe alternatives you've considered One other option would be to move tags into the search field and allow a 'not' operator there, like adding - to the beginning of a search term on google.

Additional context Thank you so much for this project, it's exactly what I needed to not go insane.

Floppy commented 3 months ago

Thanks, very useful to get ideas for how people actually want to use these things. Good idea to integrate tag choice into search, just as a standard query, rather than using URL parameters - makes it all more consistent and means we have to have more powerful search options in order to make the site work!

Linking this up to #1401, search needs a big overhaul I think.