Skip to content

Polish the Activity Card timeline and turn status - #1094

Merged
ivanfenenko merged 1 commit into
mainfrom
feature/timeline-activity-card-polish
Nov 21, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
feature/timeline-activity-card-polish

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Activity Card: text, icons, border and footer use stronger existing tokens, so the card is easier to read in light and dark. Measured on Porcelain, card text is at least 4.61:1 and icons at least 3.23:1.
  • Turn status: in the Activity Card style, Working moves out of the timeline into a floating pill in the bottom-left slot. When the turn ends it becomes Done, holds 3 s, fades, and the list glides back.
  • Layout: the status pill leads the row. It folds to a round mark beside another pill or away from the end, never counts toward +N, and hides for a pending permission or question and after a shown failure.
  • Spinner: every floating pill now uses one monochrome arc spinner. On the status pill it morphs into the check.
  • Checks: finished floating pills and the finished subagent row are monochrome. Semantic green stays on settled cards, diffs and the connection dot.
  • Message notes: Interrupted and Response cut off get 4 pt horizontal and 2 pt vertical padding.

Other timeline styles keep the existing Working row and 5 s Idle.

Checks

  • Android: :app:assembleDebug passes. :app:testDebugUnitTest passes, 3,494 tests.
  • iOS: OpenCode MobileTests passes, 3,862 tests.
  • iOS UI tests: 8 fail, and the same 8 fail on a clean export of main: 2 benchmarks, 5 store screenshots, and testChangesScreenMultiFileAccessibilityAndFiltering. This suite ran before the final gallery-only edit.
  • Two unit tests failed once and then passed on rerun: SseRecoveryFaultOracleTest.v1InstanceLeaseLost_recoversWithOneReopen (Android) and MessageSyncTests.idleDuringInitialSubscribe_visibleThoughtStillRefetchesCompletedTail (iOS).
  • Shared kit code is unchanged, so Hex Code was not rebuilt.
  • Real apps against the scenario harness on the v2 protocol, iOS simulator and Android emulator, light and dark.

Evidence

Screenshots in the evidence comment.

Issue

None.

Risks / Follow-ups

Not verified:

  • Reduce Motion (iOS) and Remove animations (Android) were not exercised on a device.
  • Goal met was not captured because no harness scenario reaches it. It uses the same monochrome check as Done.
  • The finished-subagent check in Background work was not captured.
  • The v1 protocol was not run in the apps for this change.
  • The hidden-after-failure rule is covered by unit tests only.

Decisions where the spec met the code:

  • The pill follows the existing Working row signal, so it does not show while a live card is already carrying the status. This matches the approved design.
  • Done also shows after a turn the user stopped, next to the Interrupted note, because the spec only hides it for a shown failure.
  • The pill also folds to round with the keyboard up, matching how other activity pills behave.
  • The Android card moves from surface-base to surface-raised-base. On the old fill, footer text measured 4.33:1, below the 4.5:1 target.
  • The Android card shimmer highlight changes from warning to text-strong to match the spec and iOS. The activity sheet keeps warning.
  • Done reuses the existing common string, so there is no new copy.
  • The gallery gains a Turn status entry, per the design system workflow.

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

@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

iOS simulator and Android emulator, v2 protocol, scenario harness data, Activity Card style.

Step iOS Android
Live card, light iOS live card light Android live card with agent light
Live card, dark iOS live card dark Android live card dark
Working alone, light iOS Working light Android Working light
Working alone, dark iOS Working dark Android Working dark
Working to Done morph iOS morph Android morph
Done with Interrupted note, light iOS Done light Android Done light
Round status beside another pill iOS round status Android round status
Done with Interrupted note, dark iOS Interrupted dark Android Interrupted dark

Not captured: Goal met (no harness scenario reaches it), the finished-subagent row, and Reduce Motion.

@ivanfenenko
ivanfenenko marked this pull request as ready for review November 21, 2026 19:29

@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 3 passes agreed on.

opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.160

@ivanfenenko
ivanfenenko added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 31efe20 Nov 21, 2026
@ivanfenenko
ivanfenenko deleted the feature/timeline-activity-card-polish branch November 21, 2026 22:29
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