iris
844fb0a219
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
...
useDismiss (shared) closes a floating box on a press outside or Escape: the press is seen in the capture phase, a press in an open modal dialog is not outside, Escape yields to a modal dialog the box is not in, and a box in a dialog closes alone. Popover, Dropdown, SettingsMenu, LinksMenu and UserMenu use it in place of five copies with different rules; Escape returns the focus to the button. Dropdown takes the focus on open and moves with the arrow keys, Home and End. The link, account and settings popovers drop role=menu (they had no menu keys) for a labelled group. Dialog no longer reports a close the caller asked for, ignores a drag that started inside and ended on the backdrop, and has a 2.75em close button. Popover uses the shared clampLeft. The dashboard's side panel is inert while closed, takes the focus on open and gives it back, and no longer claims aria-modal; hive-dialog gives the focus back on close.
2026-11-20 02:20:58 +01:00
..
api-error-panel
treefmt: apply prettier
2026-09-02 15:25:07 +02:00
badge
swarm ui: landmarks, a skip link, a page heading, named repeated buttons and a log role on the terminal
2026-11-20 00:23:07 +01:00
dropdown
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
hive-btn
treefmt: apply prettier
2026-09-02 15:25:07 +02:00
hive-dialog
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
hive-menu
dashboard: the SW4RM tab is the agents tab
2026-10-15 09:50:49 +02:00
hive-toast
treefmt: apply prettier
2026-09-02 15:25:07 +02:00
hive-warn
frontend: light-theme terminal contrast, theme before first paint, color-scheme, motion and focus defaults
2026-11-19 20:45:18 +01:00
icon-button
frontend: one shared IconButton for the header's settings, links and account buttons
2026-11-20 01:25:43 +01:00
jobq-graph
frontend: light-theme terminal contrast, theme before first paint, color-scheme, motion and focus defaults
2026-11-19 20:45:18 +01:00
jobq-rollup
dashboard: the SW4RM tab is the agents tab
2026-10-15 09:50:49 +02:00
links-menu
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
settings
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
side-panel
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
tabs
frontend: remove the unused vanilla terminal and tab strip, and fix comments that describe removed UI
2026-11-19 21:47:37 +01:00
terminal
frontend: one glass token pair in place of three copied light and dark blocks
2026-11-20 00:22:35 +01:00
user-menu
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00
warn-banner
frontend: light-theme terminal contrast, theme before first paint, color-scheme, motion and focus defaults
2026-11-19 20:45:18 +01:00
api-error.ts
github swarm bao: address argus review on #4892
2026-10-02 17:54:45 +02:00
base.css
frontend: light-theme terminal contrast, theme before first paint, color-scheme, motion and focus defaults
2026-11-19 20:45:18 +01:00
chrome.css
frontend: one glass token pair in place of three copied light and dark blocks
2026-11-20 00:22:35 +01:00
colors.css
frontend: one glass token pair in place of three copied light and dark blocks
2026-11-20 00:22:35 +01:00
dom.js
treefmt: apply prettier
2026-09-02 15:25:07 +02:00
forms.js
build agents only from internal/meta; delete the hive's local meta flake
2026-10-25 15:32:16 +01:00
icons.tsx
swarm ui: landmarks, a skip link, a page heading, named repeated buttons and a log role on the terminal
2026-11-20 00:23:07 +01:00
modal.js
dashboard: drop the approvals queue
2026-10-04 23:55:32 +02:00
pill.css
frontend: unify pill/chip/badge shape into shared CSS
2026-08-12 19:25:45 +02:00
prefs.ts
frontend: remove the unused vanilla terminal and tab strip, and fix comments that describe removed UI
2026-11-19 21:47:37 +01:00
shadow-css.js
treefmt: apply prettier
2026-09-02 15:25:07 +02:00
theme.css
frontend: one glass token pair in place of three copied light and dark blocks
2026-11-20 00:22:35 +01:00
use-dismiss.ts
frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
2026-11-20 02:20:58 +01:00