Repository navigation
🤖 feat(ios): Workspaces rows show the web's live indicators (active pulse, watcher pulse, heartbeat) - #8259
Conversation
…ulse, watcher pulse, heartbeat) Closes #8258
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Closes #8258
What changes
Workspaces rows now show the web sidebar's live indicators:
AvatarStatusDotactive)--color-backgroundedheartbeat.enabledin the workspace metadata)The pulse matches the web's
workspace-status-dot-active: opacity 1 to 0.35 and back every 1.8 s with the same easing. Like the spinner, it is a Core Animation layer animation started on whole periods of the media clock. List reloads cannot restart it, and every dot on screen pulses in phase. With Reduce Motion the dots stay still.Precedence follows
getVisualState: active, then waiting on you or error, then watching, then heartbeat, then the quiet states. The web shows its heartbeat icon only on a row with no other state, so the heartbeat icon also outranks the Done check. The row's VoiceOver label says "Watching" or "Heartbeat on".The spinner's clock-phase logic moved into a shared
CALayer.addInClockPhase, used by both animations.Screenshots
From the iPhone 17 simulator against a mock server: grouped list, then the flat list at two points in the pulse (0.9 s apart):
I sampled the dot pixels in frames 0.9 s apart. Green went from (32,179,87) to (27,90,52) to (29,123,65) and blue went from (56,153,202) to (38,79,102) to (45,106,139), so both pulse and stay in phase. The mock AI cannot arm a real bash monitor, so a local proxy added
activeBashMonitorCount: 1to one workspace's activity. The heartbeat was set withworkspace/heartbeat/set, and the active row was a real mock stream.Validation
xcodebuild test(iPhone 17 simulator): 647 tests pass, including the 2 new ones:rowMarkPrecedencecovers the row mark order from real workspace and activity JSON.pulseDotKeepsOneSteadyPulseAcrossWindowschecks a single 1.8 s pulse in clock phase across window re-adds, the glow, and Reduce Motion.Risk
Low. Only the Workspaces row marks change.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$407.63