Repository navigation
Agent: a running task's title shimmers instead of showing a coral ring - #1521
Draft
matthewrball wants to merge 5 commits into
Draft
matthewrball wants to merge 5 commits into
matthewrball wants to merge 5 commits into
Conversation
A running task showed a coral ring with a breathing dot beside its title, and a task waiting on a question showed a coral dot. The two differed only by shape, and the ring read as a radio button. A running task now shows what the transcript shows while Maple thinks: a brighter band sweeps across its title, and the words rest a step dimmer under it, in the row's secondary ink when selected and muted ink otherwise. Coral is left to the task that needs you. The indicator box stays, empty, on a running row, so the title's width holds as the task moves on to its next state. The band is morph_text's shine, carried here as the "Maple is thinking" line's change adds it (#1587), so the two merge cleanly in either order. It runs on the shared loop clock like the ring did, and holds still under reduced motion and in a background window.
A row's buttons eased to the selected-row colour on hover and pressed to the hairline colour. On a selected row under the pointer the hover chip came out lighter than the row, a press flashed near white, and on a hovered row a press matched the row and showed nothing. Hover and press now ease to the shared hover overlay and a new, stronger overlay_press over whatever the row is, so they read one and two steps past it in either theme. The pin and overflow buttons use the same pair, and an open overflow button holds its press fill under the pointer. With a task's menu open, the pointer leaves the row for the menu, so the row eased back to rest while the action strip kept its fill. The row now holds its hover fill while its menu is open, as a project header does, and the strip keeps covering the title behind the open button.
A task waiting on the user and a task that finished unseen both showed an 8 px dot, told apart only by colour. The waiting mark is now a small coral dot in a soft coral halo with a solid edge; the finished mark stays a plain green dot, so the two differ by shape too. The coral is accent_ink, the ink the transcript's line rests in while Maple waits on you, which holds about 3:1 on a selected light row where the brighter coral faded. The indicator and the title's shine had no accessible name, so screen readers heard only a row's title and project. A task row's description now leads with its status (Running, Waiting for your answer, Last run failed, Finished, not opened yet), then its project details, on this computer's rows and a paired computer's alike. The description is cached per status and details, so the shine's repaints allocate nothing for it. English, Spanish, German and Korean.
The shine coloured its line with a text run per letter. gpui shapes a line anew wherever the colour changes, so each letter inside the band was shaped alone and lost its kerning against its neighbours, while letters outside it, all one colour, kept theirs. As the band crossed, letters moved by up to five pixels and back. The shine now paints the resting line's single layout glyph by glyph, each in its own tint, so the words stay where they rest and only their colour moves.
matthewrball
force-pushed
the
ux/task-status-indicators
branch
from
November 18, 2026 03:48
ea85e9f to
1886285
Compare
A running task's title shone too softly to catch: the band was heading ink, close to the words it crossed, and on a selected row the words rested in secondary ink, nearly the band's colour, so a selected running row looked idle. The band is now activity_shine, the brightest ink each theme has (white on dark, black on light), over words that rest in muted ink on every row, selected or not, and it passes every 1.2 s instead of 1.9 s. The band against the words goes from 1.5:1 to 2.7:1 on a selected dark row; the band against a selected row's fill reaches 11:1 dark and 14:1 light. The resting words of a selected running row sit below 4.5:1 (4.2:1 dark, 3.5:1 light); the band crosses them every 1.2 s, and the task itself is open beside the sidebar.
This branch has not been deployed
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.
Summary
A running task showed a coral ring with a breathing dot beside its title, and a task waiting on a question showed a coral dot. The two differed only by shape, and the ring read like a radio button. The sidebar now uses the transcript's own vocabulary for status:
activity_shinesweeps across them every 1.2 s.activity_shineis a new token: white on dark, black on light. Before this, the band was heading ink every 1.9 s, and on a selected row the words rested in secondary ink, almost the band's colour, so a selected running row looked idle. It'smorph_text's shine, not a second implementation. A running row shows no glyph and keeps its indicator slot empty, so the title's width doesn't change when the task moves to its next state.accent_ink, the coral Agent: Fold a turn's steps under one line that times the work #1587's line rests in while Maple waits on you. It holds about 3:1 on a selected light-mode row, where the brighter coral faded to 2.2:1. The edge separates it from the green dot by shape, not colour alone. The halo breathes over 2.4 s on the shared loop clock while the centre dot stays solid.The shine's letters no longer move
The shine coloured its line with a text run per letter, and gpui shapes a line again wherever the colour changes. Each letter inside the band was shaped on its own and lost its kerning, while the letters outside it kept theirs, so letters shifted by up to 5 px as the band crossed. The shine now paints the resting line's single layout glyph by glyph, each in its own tint. Measured on rendered frames, letters went from shifting in 55 of 57 frames to staying put (under 0.2 px of drift, which is the brightness change). #1587 carries the same commit, so the two copies of
morph_text.rsstay identical and the PRs merge cleanly in either order.Light mode
overlay_hoverand a newoverlay_pressinstead of solid fills. Before, on a selected row under the pointer, the hover chip came out lighter than the row, a press flashed near white, and on a hovered row a press didn't show at all.HoverBackground::highlighted) and the action strip keeps covering the title, as project headers already do.Screenshots
Sidebar rows rendered through gpui's offscreen Metal renderer from the real row code, at the app's 15 fps loop rate. Dark theme is above light, and each row is labelled with its state.
master)One task through its states
Running → asks you something → you answer → finishes while you're elsewhere → you open it. Dark is on the left, light on the right.
Validation
cargo test -p maple-agent-app --bin maple-agentat18862857: 1,509 passed, 0 failed, 3 ignored. This includes the i18n catalog and translation-review tests for all four locales.cargo clippy -p maple-agent-app --all-targets --locked -- -D warningspasses, for default features and for--no-default-features --features acp,proxy.cargo fmt --all -- --checkpasses.record_reviewed_translations, which is whatjust translations-reviewed <locale>runs.just cididn't run on the pinned toolchain.Notes
chat-task-running,chat-task-needs-you,chat-task-failed,chat-task-finished-unseen, andchat-task-status-details. The German and Korean wording would benefit from a native speaker's look.Merge order
Independent of the #1587 stack. Both PRs carry the same
morph_text.rs(shine plus the letter fix), so either can merge first. I simulated #1587 landing onmasterfirst and then merged this branch: it's clean.