[GH-ISSUE #8421] [Feature]: Tag Search #8347

Closed
opened 2026-11-07 16:42:23 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Rojikku on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8421

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

I realistically cannot filter by tags.

Image

In the side bar, you can select tags to filter on, if you're inclined to scroll and find the right one.

However, if you use "Open Library", there's nothing. It also does not respect the filters from the right, either.

Proposed solution

  • Mandatory, Optional, and Exclude options for tags
  • Search or scroll for tags

Alternatives considered

Could make an external extension, maybe? Ultimately, I feel the UI has room for it, and the maintenance burden is likely not a significant change, so native sounds right to me.

Additional context

In ST I used AnotherCharacterManger (extension). For the most part, Open Library has the surface look, but it could be much more usable with tag filters, like so:

Image

Just learned #702 added tag exclude to search, which is useful but not obvious. I don't see a tag include, so I believe only the sidebar can do multi-tag OR.

I would be happy to spend some time with claude and get a PR for this feature, test it and all for a PR.

I would probably try to do it in stages/atomic commits ordered like so:

  • Mirror the OR functionality of the sidebar into the main character browser with a slightly more convenient UI
  • Add the exclude operator as accessible via a second UI element
  • Consider changes needed for the mixture of both AND and OR searches, and either add that commit or do it as a second PR later if overcomplicated.

No intent to touch the sidebar UI at this time.

If that sounds acceptable, let me know and I will give it a shot!

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Rojikku on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8421 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? <!-- Describe the pain point or gap this feature would address --> I realistically cannot filter by tags. <img width="179" height="64" alt="Image" src="https://github.com/user-attachments/assets/9bfb48a1-1e51-45b6-a558-334ce39ec034" /> In the side bar, you can select tags to filter on, if you're inclined to scroll and find the right one. However, if you use "Open Library", there's nothing. It also does not respect the filters from the right, either. ## Proposed solution <!-- What would you like to see added or changed? --> * Mandatory, Optional, and Exclude options for tags * Search **or** scroll for tags ## Alternatives considered <!-- Any other approaches you thought about? --> Could make an external extension, maybe? Ultimately, I feel the UI has room for it, and the maintenance burden is likely not a significant change, so native sounds right to me. ## Additional context <!-- Optional: mockups, related issues, references, or examples --> In ST I used AnotherCharacterManger (extension). For the most part, Open Library has the surface look, but it could be much more usable with tag filters, like so: <img width="425" height="254" alt="Image" src="https://github.com/user-attachments/assets/8deaf861-629e-4802-9742-84ae1dd2926d" /> Just learned #702 added tag exclude to search, which is useful but not obvious. I don't see a tag include, so I believe only the sidebar can do multi-tag OR. I would be happy to spend some time with claude and get a PR for this feature, test it and all for a PR. I would probably try to do it in stages/atomic commits ordered like so: * Mirror the OR functionality of the sidebar into the main character browser with a slightly more convenient UI * Add the exclude operator as accessible via a second UI element * Consider changes needed for the mixture of both AND and OR searches, and either add that commit or do it as a second PR later if overcomplicated. No intent to touch the sidebar UI at this time. If that sounds acceptable, let me know and I will give it a shot! ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-11-07 16:42:23 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 28, 2026):

Hey, thanks for the offer! You can already search by tags by typing them into the search bar; we removed the "search by characters and tags" option because the text was too long for the field and got cut off anyway. We can change it to "search characters/tags" to make that clearer. The exclude tag could be problematic because it might slow searches when someone has a large library. For now, we'll pass on it unless it's absolutely necessary.

<!-- gh-comment-id:6483497983 --> @SpicyMarinara commented on GitHub (Oct 28, 2026): Hey, thanks for the offer! You can already search by tags by typing them into the search bar; we removed the "search by characters and tags" option because the text was too long for the field and got cut off anyway. We can change it to "search characters/tags" to make that clearer. The exclude tag could be problematic because it might slow searches when someone has a large library. For now, we'll pass on it unless it's absolutely necessary.
Author
Owner

@Rojikku commented on GitHub (Oct 28, 2026):

You can already search by tags by typing them into the search bar; we removed the "search by characters and tags" option because the text was too long for the field and got cut off anyway.

To clarify, in Open Library, I am of the understanding you can only search by tag, singular.

If I type female or romance I get results, but female romance and female, romance both return nothing.

Am I misunderstanding something with how that works?

The exclude tag could be problematic because it might slow searches when someone has a large library.

You already have a working exclude tag system, I was just mentioning adding a UI element that utilizes it. So I don't understand what you mean by this.

P.S.
I have like, 5k cards in my library? So I think I qualify to test large libraries? Unsure what high end is.
Currently I'm significantly more concerned with "actually finding things at all" than "the loading being slow"...But I'd love to know if it's a skill issue.

Anyone from the future with this issue, I made an external extension for this goal.
https://github.com/ME-ExtensionCollection/CharacterLibraryTags

<!-- gh-comment-id:6483767646 --> @Rojikku commented on GitHub (Oct 28, 2026): > You can already search by tags by typing them into the search bar; we removed the "search by characters and tags" option because the text was too long for the field and got cut off anyway. To clarify, in Open Library, I am of the understanding you can only search by *tag*, singular. If I type `female` or `romance` I get results, but `female romance` and `female, romance` both return nothing. Am I misunderstanding something with how that works? > The exclude tag could be problematic because it might slow searches when someone has a large library. You already have a working exclude tag system, I was just mentioning adding a UI element that utilizes it. So I don't understand what you mean by this. P.S. I have like, 5k cards in my library? So I think I qualify to test large libraries? Unsure what high end is. Currently I'm significantly more concerned with "actually finding things at all" than "the loading being slow"...But I'd love to know if it's a skill issue. Anyone from the future with this issue, I made an external extension for this goal. https://github.com/ME-ExtensionCollection/CharacterLibraryTags
Author
Owner

@SpicyMarinara commented on GitHub (Oct 29, 2026):

You're not misunderstanding it: positive searches currently treat female romance as one phrase, so they do not yet mean "has both tags." We need to add that behavior.

The concern with separate include/exclude controls is the visual space they would take, especially in compact sidebars and mobile layouts. We prefer to improve the existing search field rather than add a mandatory/optional/exclude filter interface. Tag exclusion already exists; the concern is the extra UI, not that exclusion itself is inherently too slow. My earlier performance explanation was too broad.

We'll add positive AND tag matching: male genshin should find characters tagged with both male and genshin, and female romance should find characters with both of those tags. This is new functionality, alongside ordinary name/text search, and it can use the existing search field without adding more controls.

The AND-search implementation is merged to staging in PR #8442 (merge a7688a071). Required checks and the repaired final-head Dottore review passed. The expanded include/exclude filter UI remains outside this change.

<!-- gh-comment-id:6491555029 --> @SpicyMarinara commented on GitHub (Oct 29, 2026): You're not misunderstanding it: positive searches currently treat `female romance` as one phrase, so they do not yet mean "has both tags." We need to add that behavior. The concern with separate include/exclude controls is the visual space they would take, especially in compact sidebars and mobile layouts. We prefer to improve the existing search field rather than add a mandatory/optional/exclude filter interface. Tag exclusion already exists; the concern is the extra UI, not that exclusion itself is inherently too slow. My earlier performance explanation was too broad. We'll add positive **AND** tag matching: `male genshin` should find characters tagged with both `male` and `genshin`, and `female romance` should find characters with both of those tags. This is new functionality, alongside ordinary name/text search, and it can use the existing search field without adding more controls. The AND-search implementation is merged to `staging` in PR #8442 (merge `a7688a071`). Required checks and the repaired final-head Dottore review passed. The expanded include/exclude filter UI remains outside this change.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8347
No description provided.