Skip to content

🤖 feat(ios): Workspaces rows show the web's live indicators (active pulse, watcher pulse, heartbeat) - #8259

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/ios-live-row-indicators
Dec 5, 2026
Merged

ibetitsmike merged 1 commit into
mainfrom
mike/ios-live-row-indicators

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

Xum opened this PR on behalf of Mike.

Closes #8258

What changes

Workspaces rows now show the web sidebar's live indicators:

State Avatar corner (flat list) Leading mark (grouped list, sub-agent rows)
Active (streaming, workflow run, working sub-agents) green pulsing dot with a glow (web AvatarStatusDot active) spinner, unchanged
Watching (idle, an armed background bash monitor will wake it) blue pulsing dot in the web's --color-backgrounded the same blue pulsing dot
Heartbeat on (heartbeat.enabled in the workspace metadata) pulse-line icon pulse-line icon in place of the idle circle

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):

rows

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: 1 to one workspace's activity. The heartbeat was set with workspace/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:
    • rowMarkPrecedence covers the row mark order from real workspace and activity JSON.
    • pulseDotKeepsOneSteadyPulseAcrossWindows checks a single 1.8 s pulse in clock phase across window re-adds, the glow, and Reduce Motion.
  • No web or server change.

Risk

Low. Only the Workspaces row marks change.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $407.63

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T19:33:29.632451Z bf2e368 Manual request
🔒 Security Review ✅ Completed 2026-12-05T19:35:01.043529Z bf2e368 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review
@codex security review
Head: bf2e368

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: bf2e3689e7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: bf2e3689e7

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ibetitsmike
ibetitsmike merged commit 88996b4 into main Dec 5, 2026
32 of 33 checks passed
@ibetitsmike
ibetitsmike deleted the mike/ios-live-row-indicators branch December 5, 2026 19:42
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.

🤖 iOS: show the web's live indicators (active pulse, watcher pulse, heartbeat) on Workspaces rows

1 participant