Repository navigation
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 intoNov 28, 2026
Conversation
orca-remote-automation
Bot
force-pushed
the
orca-remote-automation/morph-worker-chip
branch
2 times, most recently
from
November 27, 2026 05:56
8d5c73b to
0cb889b
Compare
onegaop
added a commit
to onegaop/orca
that referenced
this pull request
Nov 27, 2026
Upstream-PR: stablyai#50273 Upstream-Head: 8d5c73b
orca-remote-automation
Bot
force-pushed
the
orca-remote-automation/morph-worker-chip
branch
6 times, most recently
from
November 28, 2026 01:07
d8888d9 to
2f20e72
Compare
…, 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
Bot
force-pushed
the
orca-remote-automation/morph-worker-chip
branch
from
November 28, 2026 01:26
2f20e72 to
3d58243
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
What Changed
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./clear, and when history cannot be read.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-motionis instant.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.
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.
After, 1000px: 8 workers with Tasks, folded and open; 3 workers open.
Motion in the Electron renderer (hover in and out, twice), at normal speed and slowed 4x: 8 workers with Tasks (dark), 3 workers (light).
All screenshots and clips are component fixtures with seeded data.
Testing
tests/tools/worker-dock-renderedcovers 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 onmainand is unrelated. Dock alignment 36/36; unit tests pass.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.