Skip to content

Session Chat step rail and activity card timelines with a Timeline Style picker #779

Closed

Description

@ivanfenenko

Session Chat can show an assistant turn's tool activity in two new ways, selectable next to Standard and Chips so all four can be compared on real sessions and the losers removed afterwards:

  • Step Rail (prototype D): one short line per step on a vertical rail, a pulsing dot and elapsed time on running steps, parallel steps branching off the rail, older settled steps folded into "N earlier steps", and child sessions as nested cards on the rail.
  • Activity Card (prototype E1): one compact card per segment with a "Working" header and elapsed time, a summary line with step and family counts, an Agent section listing running child sessions with their current action, and a footer band with the latest running tool that opens a live activity sheet (agents with recent steps, then every step); settles into one "Used N · Read, Edit, Agent" line.

Settings gets a Timeline Style picker (Standard, Chips, Step Rail, Activity Card) replacing the Chip Timeline toggle.

Prototype with all four directions: branch prototype/779-session-activity-row (published 2026-10-21 at http://ivan-m2.local:8787/2026-10-21/1043-session-chat-activity-row--4-directions/).

Acceptance:

  • Timeline Style picker in Settings on both platforms; stored chip preference migrates (on → Chips, off → Standard); Clear All Data resets it.
  • Each new style renders per assistant segment (a run of non-text parts) with a stable row identity, so joining tools never recreate the row; the Working footer hides while a live row exists.
  • Rail: running steps show a pulsing dot and live elapsed; parallel running steps render as branches; a live segment with nothing running shows a Thinking step; more than four settled steps fold into "N earlier steps" with in-place unfold; child sessions are nested cards with tap-through.
  • Card: header with elapsed, summary line, Agent section rows with current action and tap-through, footer band with latest tool and "+N", live activity sheet, settled one-liner that opens the same sheet, no spinners on the card.
  • Tapping a step reuses the existing tool actions (child session, Changes, detail sheet).
  • Standard and Chips timelines keep their current behaviour.

Remaining:

  • iOS implementation (rail, card, picker)
  • Android implementation (rail, card, picker)
  • Unit tests for the block builders, fold and summary rules on both platforms
  • Compare the four styles on real sessions and remove the losing ones (follow-up ticket once decided)

Pull request: #782. Evidence: comments below.

Activity

  1. added
    enhancement
    shared
    priority: medium
    in-progress
    on Oct 21, 2026
  2. ivanfenenko commented on Oct 21, 2026

    @ivanfenenko
    CollaboratorAuthor

    Real-app evidence (PR #782)

    Both apps against a real opencode v1 server with the scenario harness. Full sets: branch evidence/779.

    State iOS Android
    Timeline Style picker
    Live, running step with elapsed
    Live, folded earlier steps, Thinking
    Parallel branch and child session
    Fold unfolded in place
    Child session opened
    Failed edit
    Permission prompt with rail
    Finished turn
    Fixes found while verifying iOS invalid tool call rendered as failed:
    Android settled tool no longer reopened by a late duplicate update:

    Not covered: opencode v2 server; settled steps carry no duration (server sends no end time); live parallel branch seen only on iOS (the Android harness ran the burst sequentially).

  3. added 3 commits that reference this issue on Oct 21, 2026
  4. changed the title [-]Session Chat step rail timeline and timeline style picker[/-] [+]Session Chat step rail and activity card timelines with a Timeline Style picker[/+] on Oct 21, 2026
  5. ivanfenenko commented on Oct 21, 2026

    @ivanfenenko
    CollaboratorAuthor

    Real-app evidence: Activity Card (PR #782)

    Both apps against a real opencode v1 server with the scenario harness. Full sets: branch evidence/779. The step rail table is in the comment above.

    State iOS Android
    Timeline Style picker, four options
    Live card, running lines with elapsed, footer counts
    More running than shown, child session lines
    Live card expanded inline
    Settled one-liners between texts
    Settled card expanded, with a failure
    Permission prompt with a live card

    Not covered: opencode v2; Reduce Motion, dark mode and VoiceOver; settled cards show no total duration (server sends no end time).

  6. added 6 commits that reference this issue on Oct 21, 2026
  7. ivanfenenko commented on Oct 21, 2026

    @ivanfenenko
    CollaboratorAuthor

    Real-app evidence: Activity Card, final shape (prototype E1, PR #782 commit 91fd8e3)

    Replaces the earlier Activity Card table above (that was the B layout). Both apps against a real opencode v1 server with the scenario harness. Full sets: branch evidence/779.

    State iOS Android
    Live card: header, summary, footer with latest tool and "+1"
    Agent section: two running child sessions with their current action
    Footer "Waiting for agents"
    Footer "Thinking…"
    Live sheet: steps
    Live sheet: agents with recent child steps
    Settled line and sheet with a failure

    Not covered: opencode v2; Reduce Motion, dark mode, iPad and VoiceOver; durations for settled steps and finished child sessions (server sends no end time).

  8. added 11 commits that reference this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementin-progresspriority: mediumshared

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions