Repository navigation
Agent: keep the folder readable in the project chip and quiet the picker - #1554
Merged
Merged
Conversation
Collaborator
|
lgtm |
marksftw
previously approved these changes
Nov 10, 2026
Follow-ups from the reviews of #1517 and #1516. On a paired computer the project chip reads "computer · folder" inside a 260 px cap and was cut from the end, so a long computer name hid the folder. The two are now separate: the computer name shortens first and the folder only once the name is down to its ellipsis. Opening the project picker no longer shows an error notice when a computer is slow or away, and no longer blinks its recents empty while each computer answers; a computer's answer replaces its last list. Also: the chip helper no longer styles itself by element id, the branch label is visible to accessibility, the multi-computer menu uses the menu's own separator, and comments that still said "header" are fixed. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…visible The chip above the composer was capped at 260 px, though it has that row to itself. It now shows its text whole while the row has room and only shortens when it does not. On a paired computer a long computer name shortens first, but keeps its first several letters, and a short one stays whole; the folder shortens after that. The menu separator collapsed to nothing in a menu tall enough to scroll, which hid the divider between computers in the project picker once that menu used it. It no longer shrinks. Co-Authored-By: Claude Fable 5.2 <[email protected]>
AnthonyRonning
force-pushed
the
draft-context-followups
branch
from
November 11, 2026 02:00
9cf9009 to
2e737c9
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.
Follow-ups from the reviews of #1517 and #1516, both merged.
Before and after
Real chat screen rendered offscreen with sample data, dark theme. "Before" is master at
317c1603; "after" is this branch.A paired computer with a long name. The chip was capped at 260 px and cut from the end, so the folder was the part that disappeared. The chip now uses the row it already has to itself.
Both names long.
Both names long in a 640 px window. When the row really runs out, a long computer name shortens first but keeps its first several letters, then the folder.
A short computer name is never the part that shortens (after only; wide, then a 640 px window):
The picker with two computers, with the divider between them (after only):
In that last image the picker covers its own chip: with two computers it is too tall to fit above or below the chip in a 740 px window. That comes from where the picker sits since #1517 and is not changed here.
What changes
chip()no longer styles itself onid == "root-picker"; the project chip has its own builder over a shared frame. The branch label usesgpui::text!so accessibility sees it. Comments that still said "header" for the project chip are corrected.Not in this PR
Untitled project-<uuid>, with "Untitled project" in English on the host.Verification
just ci-lintandjust ci-testpass in the pinned Nix shell on9cf90092(the pre-commit hook).project_chip_shortens_the_computer_before_the_foldercovers: both names whole when the row has room; the chip staying inside the composer's width when it does not, with the computer at its floor and the folder cut; a short computer name staying whole.ChatScreenwith seeded state. Not run against a live paired computer.🤖 Generated with Claude Code