hermes-agent/apps/desktop/src/components/ui
Brooklyn Nicholson 463fbf5b16 fix(desktop): middle-click works on a real three-button mouse
Chromium on Windows and Linux answers a middle press inside a scroller by
starting the autoscroll pan, and the mouseup that ends the pan never becomes
an auxclick. Every surface carrying the gesture — tab strips, the session
list, the terminal rail — is a scroller, so middle-click only ever worked on
macOS, where autoscroll doesn't exist.

Arm on pointerdown, spend on the pointerup over the same element (press one
tab, release on another and nothing happens), and cancel the middle mousedown
on every press so the pan widget can't appear on a surface that owns the
button. One helper, four call sites.
2026-07-30 21:43:14 -05:00
..
__tests__ docs(desktop): tip only when hover teaches something new 2026-07-27 21:43:56 -05:00
action-status.tsx
…
actions-menu.tsx fix(desktop): stop tip-wrapping kebab menu triggers 2026-07-27 21:43:57 -05:00
alert.tsx
…
badge.tsx feat(desktop): shared UI — per-session prompt overlays, gateway overlays, tab primitives 2026-07-13 17:57:54 -04:00
button.tsx feat(desktop): soft gateway switch + gateway-settings polish 2026-07-10 02:57:02 -05:00
checkbox.test.tsx fix(desktop): stop the checkbox painting the check and dash at once 2026-07-30 00:17:26 -05:00
checkbox.tsx fix(desktop): stop the checkbox painting the check and dash at once 2026-07-30 00:17:26 -05:00
codicon.tsx style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
color-swatches.tsx feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
command.tsx fix(desktop): pickers stop eating the keyboard and the pointer 2026-07-30 00:06:52 -05:00
confirm-dialog.tsx refactor(desktop): adopt shared utils + app-wide cleanups 2026-07-03 13:48:44 -05:00
context-menu.tsx feat(statusbar): right-click to choose what the bar shows 2026-07-26 19:52:57 -05:00
control.ts
…
copy-button.test.tsx
…
copy-button.tsx cleanup(desktop): `npm run fix` for fmtting 2026-07-08 16:24:16 -07:00
decode-text.tsx fix(desktop): kill boot overlay fade-race in e2e screenshots 2026-07-20 11:44:41 -04:00
dialog-dismiss-repro.test.tsx feat(desktop): add Cron Blueprints to the GUI (#70066) 2026-07-24 14:22:43 -04:00
dialog-portal-context.ts feat(desktop): add Cron Blueprints to the GUI (#70066) 2026-07-24 14:22:43 -04:00
dialog.test.tsx fmt(js): `npm run fix` on merge (#73096) 2026-07-28 03:43:07 +00:00
dialog.tsx fix(desktop): strip Close-X tips and statusbar tip lectures 2026-07-27 22:03:37 -05:00
diff-count.tsx feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
disclosure-caret.tsx fix(desktop): sidebar labels truncate instead of pushing header icons out 2026-07-30 01:19:31 -05:00
drop-affordance.tsx fix(desktop): session-tab drag, focus sync, and pop-out isolation 2026-07-15 03:13:33 -04:00
dropdown-menu.tsx feat(desktop): add Cron Blueprints to the GUI (#70066) 2026-07-24 14:22:43 -04:00
empty-state.tsx feat(desktop): Capabilities foundation — shared utils, master-detail, editors, primitives 2026-07-03 05:08:13 -05:00
error-state.tsx feat(desktop): Capabilities foundation — shared utils, master-detail, editors, primitives 2026-07-03 05:08:13 -05:00
fade-text.tsx perf(desktop): isolate streaming re-renders & cut layout thrash 2026-06-12 21:07:33 -05:00
field.tsx refactor(desktop): add shared Field form-dialog primitive 2026-07-24 19:16:45 -05:00
file-type-icon.tsx feat(desktop): PR-style file diffs in chat 2026-06-22 05:04:13 -05:00
generate-button.tsx feat(pets): Pokédex generate UI — overlay, animated egg, hatch FX, manage 2026-06-24 13:51:34 -05:00
glyph-spinner.tsx perf(desktop): pause glyph spinners on hidden tabs 2026-07-26 01:10:22 -05:00
highlight-matches.test.tsx feat(desktop): highlight matched letters in searchable pickers 2026-07-29 21:26:10 -05:00
highlight-matches.tsx feat(desktop): highlight matched letters in searchable pickers 2026-07-29 21:26:10 -05:00
input.test.tsx feat(desktop): add prefix/suffix adornments to Input primitive; use $ prefix in billing top-up 2026-07-22 18:17:33 -05:00
input.tsx fmt(js): `npm run fix` on merge (#69805) 2026-07-23 03:32:32 +00:00
kbd.tsx feat(desktop): composer status stack, live subagent windows, editable prompts (#44630) 2026-06-12 08:30:06 -05:00
keyboard-first.test.ts feat(desktop): keyboard-first overlay primitives 2026-07-30 00:06:52 -05:00
keyboard-first.ts feat(desktop): keyboard-first overlay primitives 2026-07-30 00:06:52 -05:00
loader.tsx style(desktop): bring the install & update overlays onto the design system 2026-06-30 14:46:28 -05:00
log-view.tsx fix(desktop): thin chrome scrollbars without platform chunk 2026-07-28 02:57:16 -05:00
pagination.tsx
…
pane-tab.test.tsx fix(desktop): middle-click works on a real three-button mouse 2026-07-30 21:43:14 -05:00
pane-tab.tsx fix(desktop): middle-click works on a real three-button mouse 2026-07-30 21:43:14 -05:00
popover.tsx feat(desktop): add Cron Blueprints to the GUI (#70066) 2026-07-24 14:22:43 -04:00
progress.tsx refactor(desktop): extract shared Progress primitive; billing uses it 2026-07-22 18:53:26 -05:00
row-button.test.tsx refactor(desktop): formalize row-as-button primitive (RowButton) 2026-06-30 01:56:57 -05:00
row-button.tsx docs(desktop): tighten RowButton doc comment 2026-06-30 02:05:55 -05:00
sanitized-input.tsx feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
scroll-area.tsx
…
search-field.tsx feat(desktop): button tooltip keybind hints + keybinds settings tab + unified worktree dialog (#65204) 2026-07-16 18:26:21 -04:00
segmented-control.tsx feat(desktop): add prefix/suffix adornments to Input primitive; use $ prefix in billing top-up 2026-07-22 18:17:33 -05:00
select.tsx refactor(desktop): name the overlay z-index ladder 2026-07-27 15:48:09 -05:00
separator.tsx
…
sheet.tsx
…
sidebar.tsx fix(desktop): name the direction in labels that describe live state 2026-07-30 02:41:41 -05:00
skeleton.tsx feat(desktop): Capabilities foundation — shared utils, master-detail, editors, primitives 2026-07-03 05:08:13 -05:00
split-button.tsx style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
switch.tsx
…
tab-dropdown.tsx refactor(desktop): adopt shared utils + app-wide cleanups 2026-07-03 13:48:44 -05:00
tabs.tsx
…
text-tab.tsx
…
textarea.tsx feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
title-menu-trigger.tsx feat(desktop): shared UI — per-session prompt overlays, gateway overlays, tab primitives 2026-07-13 17:57:54 -04:00
tool-icon.tsx fmt(js): `npm run fix` on merge (#71845) 2026-07-26 08:20:35 +00:00
tooltip.test.tsx fix(desktop): stop the model-pill tooltip popping open after a mouse pick 2026-07-28 02:27:11 -05:00
tooltip.tsx fix(desktop): stop the model-pill tooltip popping open after a mouse pick 2026-07-28 02:27:11 -05:00
use-zoom-pan.ts feat(desktop): Memory Graph — playable radial timeline of memories + skills 2026-06-30 00:54:21 -05:00
zoomable.tsx feat(desktop): button tooltip keybind hints + keybinds settings tab + unified worktree dialog (#65204) 2026-07-16 18:26:21 -04:00