Skip to content

[Feat] Jump to previous user messages - #1487

Draft
zoomote[bot] wants to merge 3 commits into
mainfrom
feature/previous-user-message-1x8cq09ccz2n0
Draft

[Feat] Jump to previous user messages#1487
zoomote[bot] wants to merge 3 commits into
mainfrom
feature/previous-user-message-1x8cq09ccz2n0

Conversation

@zoomote

@zoomote zoomote Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

​Opened on behalf of @navedmerchant. View the task or mention @roomote for follow-up asks.

What changed

Adds a theme-aware chat navigation control that jumps backward through follow-up messages sent by the user. Repeated clicks move from the newest user message toward older messages, center each target, and stop at the oldest message without wrapping.

The control works alongside scroll-to-bottom, checkpoint, and approval actions. Focused behavior coverage, localized tooltip copy, and container-rendered dark/light visual baselines are included.

Why this change was made

Long AI responses make it difficult to find earlier user instructions in an active task. This provides a direct way to revisit those messages without manually scanning the conversation.

Impact

Users can quickly navigate their own follow-up messages while preserving the existing streaming and browsing behavior. The full Zoo-Code test suite, lint, type checks, translation checks, E2E checks, CodeQL, and visual-regression workflow pass.

Related PRs

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Review process

This PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging.

  1. Required CI checks pass.
  2. The workflow starts CodeRabbit automatically.
  3. For eligible human-authored PRs, CodeRabbit reviews and approves the latest commit.
  4. A human maintainer reviews and approves after CodeRabbit.

Current step: Mark the PR ready to start CodeRabbit after required CI passes.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
webview-ui/src/components/chat/ChatView.tsx 96.42% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

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