Skip to content

Sidebar: a row's status leads its model, with its lamp back - #1191

Merged
Tryanks merged 1 commit into
mainfrom
sidebar/status-before-model
Nov 23, 2026
Merged

Tryanks merged 1 commit into
mainfrom
sidebar/status-before-model

Conversation

@Tryanks

@Tryanks Tryanks commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Summary

A thread row's third line was either its status or its model, and the status dot was gone, so a row's state could only be read. Both now show, the status first and led by its lamp. Desktop threads view and phone list share the code.

 line three
-  [glyph] (status | model)
+  ● status · who  [glyph] model
  • The status folds in and out and its width glides between states, so the glyph and model move over instead of jumping.
  • When space is short, who waits gives way first, then the model; the verb is never cut.
  • An unread thread at rest shows the lamp alone. The title keeps its full line.
  • Waiting on the user is amber instead of the blue it shared with working, so the lamp alone tells the two apart. The grouped view's dot and the phone's swipe wash take the same colour.
  • The row's accessible label says both status and model.

LineThree is gone: RowShows carries status and model side by side. status_dot and the row draw one lamp.

Evidence

Desktop app on a throwaway profile, with each row's status injected locally (not committed), light theme, default sidebar width:

  • Before: (from the code) LineThree is Status or Model, never both.
    After:
● 等你批准  [Claude] Claude Opus 5.5          amber
● 等你回答 · Explore  [Codex] gpt-5.5-codex   amber
● 等你批准 · Implem…  [Claude] Claude Opus 5.5  name fades, model whole
● 工作中  [Claude] Claude Sonnet 5.5          blue
● 失败  [Codex] gpt-5.5-codex                red
● 后台  [Claude] Claude Opus 5.5             grey, breathing
● 等待  [Claude] Claude Opus 5.5             grey
● [Claude] Claude Opus 5.5                   unread, blue
[Codex] gpt-5.5-codex                        at rest

A row cycling rest → working → waiting was captured frame by frame: the model slides over and back. One 3pt jump at the end of a long name's fold was found there and fixed.

  • a_lead_row_names_its_waiting_agent_after_a_whole_verb extended, at desktop and phone widths: lamp, verb, model stand in that order inside the row, and the model keeps a width beside a very long name. The earlier code draws no model on such a row.
  • cargo fmt --check and workspace clippy -D warnings pass; workspace nextest: 1512 passed, 7 skipped.

Not looked at: dark theme, a phone device, the draft row.

Merge Danger

Door: two-way

Blast Radius: Sidebar

Presentation only; no protocol or stored state. Narrow sidebars show less of who waits than before, since the model now shares the line.

A thread row's third line showed the status in place of the model, and
the status dot was gone, so a state was told only by reading it. The
status now stands before the harness glyph and the model, pushing them
over as it comes and goes, led by its dot; an unread thread at rest
shows the dot alone. A thread that waits on the user is amber again, so
it is told from one that works without reading.
@Tryanks
Tryanks merged commit 67d6b9c into main Nov 23, 2026
22 of 26 checks passed
@Tryanks
Tryanks deleted the sidebar/status-before-model branch November 23, 2026 17:20
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.

1 participant