Skip to content

OPE-199 Pin Session Running accessory above the composer - #220

Merged
ivanfenenko merged 1 commit into
feature/ope-198-reactive-data-layerfrom
feature/ope-199-session-running-accessory
Aug 21, 2026
Merged

ivanfenenko merged 1 commit into
feature/ope-198-reactive-data-layerfrom
feature/ope-199-session-running-accessory

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Show Working / Retrying / Compacting… whenever this session’s status is not idle, including optimistic busy after Send.
  • Pin that chrome above the composer on iOS and Android; retire the timeline status-indicator slot so it no longer remounts when thought or tool rows settle.
  • Hide only for the permission or question dock. Thought-row Thinking/Thought and top-bar live/connecting/offline stay unchanged.

Docs

  • docs/features/session-chat/plan.md

Checks

  • Android: WorkingTurnIndicatorTest and Session Chat ViewModel coverage for compacting, busy-with-running-tool, and completed compaction snapshot.
  • iOS: WorkingTurnIndicatorTests, SessionChatViewModelTests, MessageListTimelineHostDeclaredIDTests.

Linear

  • OPE-199

Risks / Follow-ups

  • Stacked on OPE-198 Move catch-up into watched stores #219 (feature/ope-198-reactive-data-layer). Retarget to main after that merges.
  • Device smoke: confirm the accessory stays put while tools run and after thought settles to Thought.

Made with Cursor


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

Keep Working/Retrying/Compacting visible for the whole turn from session status only, so the lamp no longer remounts when thought or tool rows settle.

Co-authored-by: Cursor <[email protected]>
@linear-code

linear-code Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
OPE-199 Session Running accessory

While a session is running, Session Chat shows a stable busy lamp above the composer for the whole turn — including while tools run.

Show iff this session’s status is not idle. Optimistic busy on send counts. Do not inspect messages, streaming, tools, or thought rows. Pin above the composer, not in the timeline. Labels: Working / Retrying / Compacting…. Hide only for the permission or question dock.

Remaining:

  • ☐ Pin Session Running accessory above the composer on iOS and Android; retire the timeline status-indicator slot
  • ☐ Collapse WorkingTurnIndicator to status + compacting + awaiting-user (no hide-when-tools-run)
  • ☐ Timeline bottom inset includes accessory height

Docs: docs/features/session-chat/plan.md

Based on feature/ope-198-reactive-data-layer.

Review in Linear

@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor 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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 6ed855d. Configure here.

@ivanfenenko
ivanfenenko merged commit b40f3a6 into feature/ope-198-reactive-data-layer Aug 21, 2026
4 checks passed
@ivanfenenko
ivanfenenko deleted the feature/ope-199-session-running-accessory branch August 21, 2026 10:29
ivanfenenko added a commit that referenced this pull request Aug 21, 2026
* OPE-198 Move catch-up into watched stores so screens only subscribe.

ForegroundRestore split REST across restore, MessageSync, and Screen
Models. World signals now mark stores stale; the observing store fetches.

Co-authored-by: Cursor <[email protected]>

* OPE-198 Publish catch-up frames when SSE reconnect bumps epoch.

v1 dual SSE reconnect was dropping the REST snapshot: fullReload ran
but observeMessages never emitted, so Session Chat stayed on the
partial turn.

Co-authored-by: Cursor <[email protected]>

* OPE-198 Await home refresh; keep todo stale until fetch succeeds.

Catch-up GET that collides with an SSE epoch bump now adopts the new
epoch before publishing, so Session Chat is not stuck on a partial
frame. Todo stores clear the stale bit only after REST succeeds.
Home pull-to-refresh waits for watched live-store catch-up so the
spinner lasts until the list returns.

* OPE-199 Pin Session Running accessory above the composer (#220)

OPE-199 Pin Session Running accessory above the composer.

Keep Working/Retrying/Compacting visible for the whole turn from session status only, so the lamp no longer remounts when thought or tool rows settle.

Co-authored-by: Cursor <[email protected]>

---------

Co-authored-by: Cursor <[email protected]>
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