Skip to content

Improve Tag Selectors#224

Merged
jmattheis merged 18 commits into
traggo:masterfrom
spl3g:ui-tags
Dec 14, 2025
Merged

Improve Tag Selectors#224
jmattheis merged 18 commits into
traggo:masterfrom
spl3g:ui-tags

Conversation

@spl3g

@spl3g spl3g commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

As suggested in #215, i am making another PR for improving TagSelector.
Here i want to expand TagSelector capabilities to allow for filters based on tags and values and standardize chip margins so new filter selectors won't look out of place.

I have a few variants on how to change the margins:

  1. Bring TagKeySelector margins to TagSelector
    image
    image
    it looks pretty good in the dashboard, but a bit cramped in the list view
  2. Bring TagSelector margins to TagKeySelector
    image
    I think that looks better

Also i made a variant, where i replaced TagKeySelector with TagSelector
image

I am presenting all of this before pushing anything, so you can choose the best one and give some feedback

@jmattheis

Copy link
Copy Markdown
Member

I like the last options where everything uses the TagSelector, then it's always in sync.

@spl3g spl3g marked this pull request as ready for review November 25, 2025 09:47
Comment thread ui/src/tag/TagSelector.tsx Outdated
Comment thread ui/src/tag/suggest.ts Outdated
Comment thread ui/src/tag/TagKeySelector.tsx Outdated
Comment thread ui/src/tag/tagSelectorEntry.ts Outdated
Comment thread ui/src/tag/TagSelector.tsx Outdated
Comment thread ui/src/tag/TagSelector.tsx
Comment thread ui/src/tag/TagSelector.tsx Outdated
Comment thread ui/src/tag/TagSelector.tsx Outdated
Comment thread ui/src/tag/suggest.ts

@jmattheis jmattheis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the adjusted addValues function this looks much better, thanks for implementing.

@jmattheis jmattheis merged commit e3b8812 into traggo:master Dec 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants