Skip to content

fix(ui): close menu dropdowns on outside click and Esc, add an X to Recent - #566

Merged
smunini merged 1 commit into
mainfrom
fix/menu-dropdown-close
Aug 19, 2026
Merged

fix(ui): close menu dropdowns on outside click and Esc, add an X to Recent#566
smunini merged 1 commit into
mainfrom
fix/menu-dropdown-close

Conversation

@angela-helios

Copy link
Copy Markdown
Contributor

The Recent-searches popup on Search / Saved Queries only closed by re-clicking its toggle (or by picking an entry). Manual testing flagged that it should also close on an outside click and from an explicit control.

What changed

Tests

  • Extended the existing queries-page render test to assert the close control ships (data-addbox-close).
  • cargo test -p helios-ui --lib: 67 passed.
  • Exercised manually: outside click, Esc, and the X on the Recent popup; outside click and Esc on the tenant and version menus.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@smunini
smunini merged commit c42edde into main Aug 19, 2026
29 of 30 checks passed
@smunini
smunini deleted the fix/menu-dropdown-close branch August 19, 2026 12:25
angela-helios added a commit that referenced this pull request Aug 19, 2026
Main brought Bulk Export (#538), the dashboard job cards (#565), and the menu
close behaviors (#566). The vocabulary work carries over both export pages,
which predate #543: canonical title/button classes, the job-status chips move
onto the .tag status-pill family (main's new .chip block collided with the
facet-chip component — exactly the duplicate this branch exists to kill), the
typegrid joins the pages layer, the job-card additions join the components
layer, and both export routes join the shared guard list.

Also makes the design-system guard read app.css and the shipped scripts over
HTTP from the server under test instead of the source tree: the CI runner
drives a packaged binary with no checkout alongside it (the ENOENT on every
merge-ref run), and in HFS_E2E_BASE_URL mode the running server is the only
truth worth checking anyway.
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