Repository navigation
fix(mobile): align activity rows and stage share destinations - #668
Merged
Merged
Conversation
huichen
enabled auto-merge (squash)
September 16, 2026 11:45
This was referenced Sep 16, 2026
huichen
added a commit
that referenced
this pull request
Sep 16, 2026
… their own line (#671) Two things had to be true at once, and the last change bought the second by giving up the first: a revealed file name needs the row's leftover width, and a row that shrinks to a right-rail badge has no leftover width to claim. Inline, the target's `flex: 1` therefore resolved to zero inside the badge — the file name was invisible — so #668 parked every row in the left reading column and left the revealed target inline. Put the target on its own line below the header and the conflict disappears. The header goes back to a one-liner with nothing to wrap, so the row can shrink-wrap again, and the target gets the full width at its own indent: names wrap instead of being clipped, and the chevron stops landing mid-sentence between the label and the path. Shell commands already worked this way; file targets now use the same line, which also removes the separate `inlineToolTarget` style. With the geometry free again, the rails from #659/#660 come back: a row is a badge on the right rail while nothing of it is revealed, and falls into the reading column once it — or the run around it — is open. The run summary keeps its rail when it opens, so the line under the user's finger does not move while the rows it revealed appear below it on the left. `opened` is a required prop again, so no call site can pick a rail by accident. Tests: the rail assertions from #660 are restored (folded summary and lone rows on the rail; opened rows and their detail off it), together with #668's no-truncation assertions, plus a check that the revealed target is a line of its own rather than a cell beside the label.
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
Validation