Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/shared/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris e9a1764f42 fix: themed-dialog click-to-dismiss fires on any shadow-internal click, not just the backdrop
hive-dialog's dismiss-on-backdrop-click handler checked e.target === this
(the host). Shadow DOM event retargeting sets e.target to the host for
ANY click that originated inside the shadow tree once it reaches a
listener attached on the host itself, not just clicks that actually hit
the host's own rendering — so the check was true for every click inside
.box that no other element's listener consumed first (title, message, a
bare checkbox row with no button to intercept it), immediately closing
the whole dialog. Reported by mara: clicking a checkbox in a
confirmation dialog (e.g. the restart dialog) dismissed the dialog
instead of toggling the box.

Switched to e.composedPath()[0] === this, the true original target
unaffected by retargeting — true only for a genuine backdrop click.
2026-07-31 21:33:33 +02:00
..
base.css frontend: move shared spinner CSS out of dashboard.css into shared/base.css 2026-07-27 18:32:54 +02:00
chrome.css fix(dashboard): keep the logs ← home link + sub-tabs on one row 2026-06-10 19:51:34 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
dom.js frontend: hive-btn — drop the is= customized-built-in, use an autonomous element instead 2026-07-29 23:17:19 +02:00
forms.js frontend: extract themed dialogs + async-form handler to shared, wire agent UI 2026-07-27 18:55:17 +02:00
hive-btn.css frontend: hive-btn — drop the is= customized-built-in, use an autonomous element instead 2026-07-29 23:17:19 +02:00
hive-btn.js frontend: hive-btn — drop the is= customized-built-in, use an autonomous element instead 2026-07-29 23:17:19 +02:00
hive-dialog.css frontend: add <hive-btn> component, use it for dialog buttons 2026-07-29 12:55:54 +02:00
hive-toast.css frontend: move shadow-DOM component CSS to real .css files, not JS strings 2026-07-29 12:55:54 +02:00
index.js frontend: add npm workspace scaffold under frontend/ 2026-05-23 14:51:01 +02:00
modal.js fix: themed-dialog click-to-dismiss fires on any shadow-internal click, not just the backdrop 2026-07-31 21:33:33 +02:00
tabs.css refactor(frontend): add createTabStrip + migrate logs sub-tabs (#1464 step 1) 2026-06-08 22:13:41 +02:00
tabs.js refactor(frontend): add createTabStrip + migrate logs sub-tabs (#1464 step 1) 2026-06-08 22:13:41 +02:00
terminal.css fix(term): flex layout for details summary, fix thinking brain icon column 2026-07-05 12:10:24 +02:00
terminal.js refactor(term): add mutableRow to terminal api, use it for thinking_tokens 2026-07-05 12:39:26 +02:00
theme.css ci: tighten tracker-tag lint to exclude digit-runs glued to a letter (#1555) 2026-06-09 13:42:20 +02:00