Skip to content

ref(ui): migrate ad-hoc hover-reveal patterns to RevealOnHover#115955

Draft
natemoo-re wants to merge 11 commits into
nm/reveal-hover/primitivefrom
nm/reveal-hover/migrate
Draft

ref(ui): migrate ad-hoc hover-reveal patterns to RevealOnHover#115955
natemoo-re wants to merge 11 commits into
nm/reveal-hover/primitivefrom
nm/reveal-hover/migrate

Conversation

@natemoo-re
Copy link
Copy Markdown
Member

@natemoo-re natemoo-re commented May 20, 2026

Migration batches on top of #115953. Replaces ad-hoc hover-reveal across three categories:

Flex-wrapper migrations (simple swap):

  • replayDetailsPageBreadcrumbs — removes the const HoverArea = styled(Flex)``; empty-styled-component hack from #115598.
  • issueIdBreadcrumb — eliminates useState + onMouseEnter/onMouseLeave. Was keyboard-inaccessible.
  • replayTagsTableRow + releaseDropdownFilter — removes .invisible-button className convention.

Callback-children migrations (grid rows):

  • eventTagsTreeRow — CSS Grid subgrid row. Removes isVisible useState + onOpenChange:focus-within handles the "keep dropdown visible while open" case.
  • attributesTree — identical pattern.
  • flagDetailsDrawerContent — grid subgrid row with .invisible + isVisible state.
  • tagDetailsDrawerContent — same pattern.
  • eventFeatureFlagSection + flagActionDropdown — grid ValueWrapper with nested .invisible .flag-button selector.

All 11 files gain :focus-within support and @media (hover: hover) touch device handling they didn't have before.

Depends on #115953.

@natemoo-re natemoo-re requested review from a team as code owners May 20, 2026 21:38
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.57%

@natemoo-re natemoo-re marked this pull request as draft May 20, 2026 21:44
@natemoo-re natemoo-re changed the base branch from master to nm/reveal-hover/primitive May 20, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant