Skip to content

Show one turn indicator across every timeline style - #1098

Merged
ivanfenenko merged 1 commit into
mainfrom
feature/unified-turn-indicator
Nov 22, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
feature/unified-turn-indicator

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • One turn indicator: every timeline style now shows one permanent pill from send until the turn ends. It no longer hands off to the Activity Card, and the inline Working row is gone.
  • Merged states: Working, Sending, Retrying, Compacting, Waiting for you, Review permission, Answer question, a subagent's request, Request failed and Done are states of that pill. Requests and failures no longer appear as separate pills or count toward +N.
  • Calmer lifecycle: a 500 ms settle stops Done flashing between steps and queued prompts. Done holds for 3 s and fades. Stopped turns and turns that end while disconnected leave quietly.
  • Stable layout: the pill row stays reserved for the whole turn. A secondary pill no longer folds the turn pill unless the row runs out of space.
  • Background shells: 1 shell counts only commands that outlive their tool call. Ordinary commands stay on the card.
  • Live failures: a reply that fails before producing a part now publishes its failure on both platforms. iOS also keeps JSON booleans as booleans, which previously made that live error update fail to decode.

Checks

  • iOS: OpenCode MobileTests pass, 3,748 Swift Testing tests and 123 XCTest tests.
  • Android: :app:assembleDebug and :app:assembleDebugAndroidTest pass. :app:testDebugUnitTest ran 3,509 tests with 3 failures, and all 3 also fail on clean main:
    • settledThought_isAStep and thoughtDurationLabel_matchesTuiBuckets depend on the machine locale.
    • SseRecoveryFaultOracleTest is intermittent. Over 6 runs each, it failed 4 times on this branch and 5 times on main.
  • Real apps against the scenario harness on v1 and v2: permission, question, stop, provider failure, retry, subagent permission, foreground shell, queued prompt, and a turn ending while offline. Background shell on v2 only, because v1 has none.
  • Permission and failure flows were run on v1 in all four timeline styles on both apps.
  • gitleaks is not installed locally, so the Secret Scan workflow is the secret check for this branch.

Evidence

Screenshots in the evidence comment.

Issue

None.

Risks / Follow-ups

Not verified:

  • Animation feel on a physical device, Reduce Motion (iOS) and Remove animations (Android).
  • Compacting was seen live on Android only. On iOS it finished too quickly to capture, so it is covered by unit tests.
  • Keyboard-up folding was checked live on Android only, because the iOS simulator had a hardware keyboard connected.
  • In one Android v1 run, a 1 subagent count stayed for about 20 s after the child finished. It did not reproduce in 3 repeat runs, and the cause is unknown.

Decisions:

  • An idle status within 5 s of a reconnect counts as "ended while disconnected" and shows no Done.
  • OpenCodeWorkingIndicator stays in the component gallery, but Session Chat no longer uses it.

Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Merge turn status, requests and failures into one permanent pill, count only real background shells, and publish failures that arrive without parts.
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

iOS and Android, v2 protocol, scenario harness data, Activity Card style. The iOS keyboard state was not captured because the simulator had a hardware keyboard connected.

State iOS Android
Working iOS Working Android Working
Waiting for you iOS Waiting for you Android Waiting for you
Panel collapsed iOS Review permission Android Review permission
Done iOS Done Android Done
Request failed iOS Request failed Android Request failed
Real background shell iOS background shell Android background shell
Scrolled away iOS scrolled away Android scrolled away
Keyboard up Not captured Android keyboard

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: no finding that 2+ of 2 passes agreed on.

opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.194 · 1 pass(es) failed

@ivanfenenko
ivanfenenko added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 683cdd3 Nov 22, 2026
@ivanfenenko
ivanfenenko deleted the feature/unified-turn-indicator branch November 22, 2026 19:27
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