Repository navigation
Sidebar: a row's status leads its model, with its lamp back - #1191
Merged
Merged
Conversation
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.
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 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.
LineThreeis gone:RowShowscarriesstatusandmodelside by side.status_dotand the row draw onelamp.Evidence
Desktop app on a throwaway profile, with each row's status injected locally (not committed), light theme, default sidebar width:
LineThreeisStatusorModel, never both.After:
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_verbextended, 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 --checkand workspace clippy-D warningspass; 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.