Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching when using tag categories could be streamlined #944

Open
diamondsw opened this issue Jul 7, 2023 · 6 comments
Open

Searching when using tag categories could be streamlined #944

diamondsw opened this issue Jul 7, 2023 · 6 comments
Labels

Comments

@diamondsw
Copy link

Is your feature request related to a problem? Please describe.
When tag categories are enabled, you can no longer search for "kono*" to find "kono_subarashii_sekai_ni_shukufuku_wo!", because technically the tag is now "series:kono_subarashii_sekai_ni_shukufuku_wo!", and you didn't think to include the "*" at the beginning to cover the "series:" portion.

Describe the solution you'd like
The user experience should work as it did prior to tag categories, so "kono*" still finds tags that are categorized, but start with "kono". Obviously this should apply to whatever arbitrary categories that have been defined.

Describe alternatives you've considered
No results. D'oh! Add the star in front. Every single time. Kind of like stubbing your toe on that one piece of furniture.

Additional context
Honestly, since the tag categories are baked right into the tag string, I can see this being rather difficult unless there was a second lookup table of tags-without-categories that could be searched against in this case, and point back to the full tag. Even that could run into trouble if someone actually put in "series:kono*" - but really, who does that?

I could have sworn I came across a similar feature request in another bug, but I'll be damned if I can find it now. Maybe Github's search is no better, or maybe I just suck at searching and need all the help I can get.

@shish shish added the Feature label Aug 16, 2023
@shish
Copy link
Owner

shish commented Jan 5, 2024

This got fixed in #630 :3

@shish shish closed this as completed Jan 5, 2024
@diamondsw
Copy link
Author

Cool - I'll look forward to the next Docker image build (doesn't appear to be working in :latest right now, but that might have been built just before this landed). :)

@shish
Copy link
Owner

shish commented Jan 6, 2024

Weird, the build from 12 hours before your comment should have included that o.o

To make sure I'm understanding correctly, the change is what makes this happen:

Screenshot 2024-01-06 at 11 22 19

(If I've misunderstood and you were talking about something else please reopen ^^)

@diamondsw
Copy link
Author

diamondsw commented Jan 7, 2024

It appears your solution depends on the tag autocomplete extension, which I'm not running (it has significant layout/visual issues, at least in Safari/Danbooru theme - I should probably file another issue for this). For your solution, typing part of a categorized tag name drops down the menu, and then you can select it from that menu.

In my case (without the menu) the search still fails. For instance, my original example of "kono*" gives no results, but "series:kono*" works as expected. Without tag categories, "kono*" works.

(I do not appear to have permission to reopen issues ^^;)

@shish shish reopened this Jan 7, 2024
@shish
Copy link
Owner

shish commented Jan 7, 2024

Aha, ok - I think I was thinking of a different issue when I was reading this one ^^ Now that I'm not mixing up issues, yeah I agree with this one, being able to search across categories is a huge usability issue

@shish
Copy link
Owner

shish commented Jan 7, 2024

(TIL that only repository collaborators are allowed to reopen issues - there isn't even a setting to allow issue reporters to manage their own open/closed statuses -_- isaacs/github#583 - maybe there's a bot for that, though perhaps that is overkill...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants