Skip to content

feat(remote): wire previous/next question navigation into remote conversation view - #1018

Merged
huichen merged 1 commit into
mainfrom
feat/remote-nav-in-remote-view
Oct 13, 2026
Merged

huichen merged 1 commit into
mainfrom
feat/remote-nav-in-remote-view

Conversation

@huichen

@huichen huichen commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

This PR connects the existing previous/next question navigation controls to the remote conversation view.

Changes:

  • Reuse the same pure logic (buildQuestionTurns) and control (QuestionNavControl) from the local conversation.
  • Loosen buildQuestionTurns input to QuestionMessage so it accepts the projected AgentMessage shape from remote timelines without copying logic.
  • Add QuestionNavControl to the remote header in the same row as the usage button, preserving the single-line header layout.
  • Pause sticky auto-follow on question jumps by calling preserveViewport from useStickyAutoScroll, matching local behaviour.
  • Add regression tests for presence, boundary states, and jump behaviour in the remote view.

…ersation view

- Reuse the same pure logic () and control
  () already used by the local conversation.
- Loosen  input to  so it accepts the
  projected  shape from remote timelines without copying logic.
- Add  to the remote header, same row as the usage
  button, preserving the single-line header layout.
- Pause sticky auto-follow on question jumps by calling
   from , matching local behaviour.
- Add regression tests covering presence, boundary states, and jump
  behaviour in the remote view.
@huichen
huichen enabled auto-merge (squash) October 13, 2026 05:17
@huichen
huichen merged commit a102923 into main Oct 13, 2026
12 checks passed
@huichen
huichen deleted the feat/remote-nav-in-remote-view branch October 13, 2026 05:21
huichen added a commit that referenced this pull request Oct 13, 2026
…ay and gaps (#1019)

Bring §2.2.2 (The Desktop as a client) back in line with origin/main after the
remote-alignment round (#1007, #1009, #1010, #1012, #1013, #1014, #1015, #1017,
#1018):

- The two "mechanism, not a gap" table rows are gone: the desktop replays with
  get_events_since (falling back to one whole-page read) and probes
  get_prompt_receipt on a stored send, both as the phone does. The one remaining
  mechanism difference -- get_presence on a suspect socket vs. the presence
  subscription -- is stated in prose.
- The capability paragraph names the gains: workspace rename on the phone, and
  per-host/per-conversation drafts, the stored outbox, the done bell, question
  navigation, list search and image zoom on the desktop.
- The merged-list paragraph describes the pushed catalog: domain-tagged snapshots
  gated by {epoch, revision}, healed by the presence heartbeat, with a slow
  per-host read only as the fallback for older hosts.
- CONNECTION.zh-CN.md carries the same edits.
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