Skip to content

fix(mobile): put the reply footer on the same right rail as the live timer - #662

Merged
huichen merged 1 commit into
mainfrom
claude/mobile-footer-rail
Sep 16, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/mobile-footer-rail

Conversation

@huichen

@huichen huichen commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

One-line follow-up to the step-row rail work (#660).

The reply footer — duration, tokens, and the copy button — was left-aligned while the streaming timer directly above it was already on the right rail (runIndicator has alignSelf: "flex-end"). So a reply jumped from the right edge to the left the instant its run settled.

streaming:  ● 4m 3s                                        (right)
settled:    ⧉ 5s · 1,234 tokens                      ← jumps to the left

The footer is the settled form of that same timer, so it now lands on the same rail — no jump, and the prose keeps a clean left edge. alignSelf also keeps the copy button's tap target clipped to the footer instead of spanning the bubble, which matches how every other rail element behaves.

Left unchanged: the retry/continue row stays on the left. It sits under the failure notice and is a primary action rather than metadata, so it reads better in the reading column — say the word if you want it on the rail too.

Test

TimelineCard.test.ts gains a regression: the settled footer's rail must match the live timer's, so the jump cannot come back.

Local (mobile-scoped): npm run typecheck ✅ · npm run lint ✅ · npm test — 97 suites / 1365 tests ✅

…timer

Duration, tokens and the copy button were left-aligned while the streaming timer
directly above them was already on the right rail — so a reply jumped from the
right edge to the left the instant its run settled. The footer is the settled
form of that same timer, so it now lands on the same rail, and `alignSelf` keeps
the copy button's tap target clipped to the footer instead of spanning the
bubble.

The retry/continue row stays on the left: it sits under the failure notice and
is a primary action, not metadata.
@huichen
huichen enabled auto-merge (squash) September 16, 2026 09:33
@huichen
huichen merged commit 578ad17 into main Sep 16, 2026
12 checks passed
@huichen
huichen deleted the claude/mobile-footer-rail branch September 16, 2026 09:35
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