fix(mobile): stand the Live Activity's Done row where the working row stands
Ā
DA
22m ago+14+14+01234567890123456789-17-17-01234567890123456789
On the Lock Screen, once no agent works, "ā Done" and "ā N need you" were drawn as one group centered across the activity. Dean asked for Done to line up with the working state's "3 working ⦠1 needs you" and stay vertically centered.
What changed
ActivityContentView(apps/mobile/live-activity/AgentsLiveActivity.swift) now draws a singleVStackwith the working state's own headerHStack { CountLabel; Spacer; WaitingLabel }in both states. OnlyAgentListis conditional onrunning > 0. The done mark therefore stands at the count's leading edge and the asks at their trailing edge, and the even.padding(16)centers the lone row vertically, as before. No offsets.- The expanded Dynamic Island's Done header is unchanged and keeps its center region.
DoneHeader's doc now says it is the island's. - The file header's sentence saying Done is "centered then" was rewritten. #11036 rewrites the same paragraph; its agent agreed to restack onto this one if it lands later.
- The fixture's Done state (
-liveActivity done,src/live-activity/use-live-activity.ts) now keeps the working fixture's one ask waiting, so a Done shot shows both labels. No flow launchesdonetoday.
Testing
- No tests were added or run locally. This is layout in a widget extension, which no vitest test reaches, and this sandbox has no Xcode. CI runs the Linux checks.
- Before merge: a Mac native build through the Mac queue, with the iOS 26 symbol audit, and Lock Screen before/after shots (Done light and dark, with a Working frame beside them) for Dean. Please don't merge until then.
š¤ Generated with Claude Code
Summary by CodeRabbit
- Style
- The completed Lock Screen activity now uses a header layout consistent with the working state, keeping the completion indicator, count, and waiting status aligned.
- Spacing remains consistent when no agents are running, and the agent list is shown only when there are active agents.