Skip to content

[Feature Request]: Add Partial + Fuzzy Search for Tags #400

Open
@TheTimebreaker

Description

@TheTimebreaker

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.3.2

Operating System & Version

Windows 11 Pro 23H2 (version 10.0.22631 build 22631)

Description

Searching for tags only seems to work if you type in the FULL name of the tag.

e.g. i have a tag for the iroh/zuko/avatar meme template where Iroh says "It's time for you to look inward and start asking yourself the big questions".
The tag is named "Look inward and ..."

Expected Behavior

If you type in only a portion of the tag name, e.g. just "look", then you can't find it.
I would expect that substrings can also find the images associated with that tag.

To actually find the tag i chose as an example, i need to type "lookinwardandstartaskingyourselfthebigquestions" into the search bar.

Now, i think the reason for that is probably a design decision, because allowing substrings to return results can get annoying, if you have a lot of similar tags (or if your names get ridiculous long like in my example and you search by very unspecific words).
So I get if you dont want to change that.

But I think a middle ground would be only returning images with exact matches but showing tagnames at the top that contain the search string, so that you could click them and search for them instead.
and the fact that the "Search for Tag" and "Add to Search" buttons in the tag library / tag manager or whatever its called isnt helping either. (ill submit a seperate issue report for that if there isnt already one)

Steps to Reproduce

  1. choose a tag with a longer name (and make sure youre not accidentaly searching for aliases)
  2. type in a portion of the tagname into the search
  3. no images will be found, until you have entered the full name exactly

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions