Skip to content

fix(mobile): align activity rows and stage share destinations - #668

Merged
huichen merged 1 commit into
mainfrom
claude/mobile-timeline-share
Sep 16, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/mobile-timeline-share

Conversation

@huichen

@huichen huichen commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Left-align folded summaries, thinking headers and tool-call headers without extra reasoning indentation.
  • Wrap full file names (including extensions) for expanded file tools and grouped calls instead of clipping them.
  • Ask New conversation / Existing conversation first when sharing, then show only the relevant destinations; allow back navigation without dropping the pending share.
  • Preserve final modal-dismissal ordering for iOS and Android.

Validation

  • Mobile typecheck and ESLint passed.
  • Mobile Jest: 99 suites, 1405 tests passed.
  • Regression coverage uses the real action sheet for two-step navigation, cancellation, desktop mismatch and platform-specific final dismissal.
  • Physical-device visual verification not performed.

@huichen
huichen enabled auto-merge (squash) September 16, 2026 11:45
@huichen
huichen merged commit 2b3a2e5 into main Sep 16, 2026
12 checks passed
@huichen
huichen deleted the claude/mobile-timeline-share branch September 16, 2026 11:47
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.
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