Skip to content

fix(ui): show full tag value on hover in TagsInput. Fixes #16096#16095

Open
nakatani-yo wants to merge 2 commits into
argoproj:mainfrom
nakatani-yo:fix/ui/tags-input-show-full-value-on-hover
Open

fix(ui): show full tag value on hover in TagsInput. Fixes #16096#16095
nakatani-yo wants to merge 2 commits into
argoproj:mainfrom
nakatani-yo:fix/ui/tags-input-show-full-value-on-hover

Conversation

@nakatani-yo
Copy link
Copy Markdown
Contributor

@nakatani-yo nakatani-yo commented May 14, 2026

Fixes #16096

Motivation

The TagsInput component truncates long tag values via CSS, but hovering over a truncated tag does not reveal the full value. Users must click into edit mode or inspect the DOM to verify the exact content, which interrupts their workflow when filtering by labels or reviewing metadata.

Modifications

  • Added title={tag} attribute to the <span className='tags-input__tag'> element in ui/src/shared/components/tags-input/tags-input.tsx so the browser displays the full tag value as a native tooltip on hover.
  • Added a unit test in ui/src/shared/components/tags-input/tags-input.test.tsx to verify the title attribute is set correctly.

Verification

  • Ran the new unit test with jest and confirmed it passes.
  • Manually verified in the browser that hovering over a truncated tag in the workflow list filter shows the full value as a tooltip.
image

Documentation

Not needed. This is a small UX improvement using a native HTML attribute with no new configuration or user-facing API changes.

AI

Codex, Gemini

Signed-off-by: nakatani-yo <yoshihito.nakatani@craftsman-software.com>
@nakatani-yo nakatani-yo changed the title fix(ui): show full tag value on hover in TagsInput fix(ui): show full tag value on hover in TagsInput. Fixes #16096 May 14, 2026
…proj#16096

Signed-off-by: nakatani-yo <yoshihito.nakatani@craftsman-software.com>
@nakatani-yo nakatani-yo marked this pull request as ready for review May 14, 2026 09:06
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.

Show full tag value on hover in TagsInput

1 participant