Skip to content

feat(native-chat): worker chip opens on hover and grows into the list, above the task list - #50273

Merged
orca-remote-automation[bot] merged 1 commit into
mainfrom
orca-remote-automation/morph-worker-chip
Nov 28, 2026
Merged

orca-remote-automation[bot] merged 1 commit into
mainfrom
orca-remote-automation/morph-worker-chip

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

The little worker chip above the message box now opens by resting the pointer on it and grows into the worker list as one smooth shape. It sits above the task list, the chat scrolls right under it instead of stopping at an invisible line, and the open list has a header instead of a footer.

Files Added Deleted Net
Test 12 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​847 $\color{#cf222e}{\Huge{\mathbf{−}}}$​234 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​613
Prod 30 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1584 $\color{#cf222e}{\Huge{\mathbf{−}}}$​508 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1076

What Changed

  • Folded chip: a short label (3 running, 1 needs you · 4 workers, or a lone worker's title) with one dot for the worst state. Centered, at the top of the stack above the docked task list; at narrow widths it still shows its whole label.
  • No cut-off line: the chip used to be the dock's first row, a strip of pane background, so the transcript stopped at an invisible line level with it. It now sits on the transcript's end and floats over it: the transcript scrolls under it down to the real edge of the stack, and keeps room at its end so its last line still clears the chip. Jump to latest rests 12px above the chip (8px above the open list). Workers' open prompts stay in the dock.
  • One chip across history states: the chip's state (open or folded, details dialog, a failed Stop's notice) lives in one place while the chip is drawn at the transcript's end, so it stays put while history loads, when it turns ready, after a /clear, and when history cannot be read.
  • Opening: hover opens after 120ms and folds 250ms after the pointer leaves; a click pins it open; Enter/Space toggle; Escape folds it (even while typing in the message box when the pointer opened it). Touch taps toggle.
  • Morph: width and height grow together (280ms, cubic-bezier(.22,1,.36,1), no overshoot); rows fade up 22ms apart; the header's actions fade in once the shape has widened; closing is quicker; reopening mid-fold turns back from where it is. prefers-reduced-motion is instant.
  • Open list: flush with the message box; the chip becomes the list's header (status dot and count on the left, in line with the rows' marks and titles; Clear failed / Stop all on the right, Stop wrapping rather than being cut, Clear stepping aside when the header is narrow); one-line 32px rows below; no footer. A press where the folded chip was, as the list opens under the pointer, pins it rather than opening the row that took its place. In a pane too short for the list above the dock, it opens over the dock instead of past the top of the pane.

Why

Owner-approved "Morph" design plus owner feedback: chip above Tasks, no cut-off line, and a header instead of the centered footer. Fewer elements, edges flush, no wrapping. Checked against how comparable products handle this.

Linked Issue

None (owner-requested design).

Visual Proof

Before (dark): the cut-off line beside the chip, and the old centered footer.

before-dark.png

After, light and dark at 320/390: 8 workers with Tasks (folded at 320 and 390, open at 390), 3 workers open at 320, a needs-you list at 320.

narrow-light.png

narrow-dark.png

After, 1000px: 8 workers with Tasks, folded and open; 3 workers open.

wide8-light.png

wide8-dark.png

wide3-light.png

wide3-dark.png

Motion in the Electron renderer (hover in and out, twice), at normal speed and slowed 4x: 8 workers with Tasks (dark), 3 workers (light).

real-eight-workers-tasks-390-dark.gif

real-eight-workers-tasks-390-dark-slow4x.gif

real-three-workers-720-light.gif

real-three-workers-720-light-slow4x.gif

All screenshots and clips are component fixtures with seeded data.

Testing

  • I manually tested these changes locally: fixtures in Chromium and in the Electron renderer (hover in and out, pin, keyboard, touch, Jump to latest, 3 and 8 workers, long titles, 300/320/390/720/1000px, light and dark, reduced motion, a very short pane).
  • Automated tests added/updated: tests/tools/worker-dock-rendered covers the placement (chip above Tasks, transcript under the chip to the stack edge, last line clears it, Jump placement, whole label at narrow widths), the header (row height, dot aligned with row marks, no footer, actions in the header, focus handed on when an action leaves), hover delays, the morph, reduced motion, keyboard, the press-where-the-chip-was pin, a very short pane (the open card stays in the pane on every frame), and the chip keeping its state and focus when the list it draws in is replaced. 106/107 pass; the one failure (a detail read held across a roster change…) already fails on main and is unrelated. Dock alignment 36/36; unit tests pass.
  • Every added test fails without this change and avoids the test anti-patterns.

Performance

Reasoned over the diff; no timing runs. Nothing runs per pointer move. Each open or fold is a short CSS transition plus opacity/transform on at most the first 8 rows; width ends are measured once per open/fold; the chip's room, Jump's lift and the list's height budget are recomputed only when an observed height changes (the header's height steps rather than animating, so this is a handful of writes per open or fold, not one per frame).

Risk

Level: Medium. Renderer-only UI change to the worker chip and where it mounts; no data, IPC or settings changes. Known limits: in a very short pane (about 300px) with an expanded task list, the dock covers part of the task list; when a long Stop label wraps at the end of the opening, the card grows 8px in one step. Back out with a plain revert.

@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/morph-worker-chip branch 2 times, most recently from 8d5c73b to 0cb889b Compare November 27, 2026 05:56
onegaop added a commit to onegaop/orca that referenced this pull request Nov 27, 2026
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/morph-worker-chip branch 6 times, most recently from d8888d9 to 2f20e72 Compare November 28, 2026 01:07
…, above the task list

The chip above the message box shows a short label: a lone worker's
title, what needs the user ("1 needs you · 4 workers"), what runs among
workers ("3 running"), or the count ("2 workers · 1 command", "1
background command", "2 failed"), with one dot for the worst state. It
sits centered at the top of the stack, above the docked task list, on a
zero-height row at the transcript's end: the transcript scrolls under it
down to the stack's real edge instead of stopping at an invisible line,
and keeps room at its end so its last line still clears the chip. Jump to
latest rests above it. Workers' open prompts stay in the dock.

Resting the pointer on the chip opens it (120ms), leaving folds it
(250ms); a click pins it, Enter/Space toggle, Escape folds. Chip and list
are one shape: width and height grow together (280ms, ease-out), rows rise
in 22ms apart, closing is quicker, reduced motion is instant.

Open, the chip heads the list: status dot and label on the left, in line
with the rows' marks, and Clear failed and the scoped Stop on the right
(the toggle gives way first; Stop's label wraps rather than being cut).
No footer. Rows are one line. A press where the folded chip was, as the
list opens under the pointer, pins it rather than acting on the row that
took its place.
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/morph-worker-chip branch from 2f20e72 to 3d58243 Compare November 28, 2026 01:26
@orca-remote-automation orca-remote-automation Bot changed the title feat(native-chat): worker chip opens on hover and grows into the list feat(native-chat): worker chip opens on hover and grows into the list, above the task list Nov 28, 2026
@orca-remote-automation
orca-remote-automation Bot merged commit ea95a40 into main Nov 28, 2026
59 checks passed
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.

0 participants