Skip to content

[Feat] Jump to previous user messages - #1487

Closed
ghost wants to merge 3 commits into
mainfrom
feature/previous-user-message-1x8cq09ccz2n0
Closed

ghost wants to merge 3 commits into
mainfrom
feature/previous-user-message-1x8cq09ccz2n0

Conversation

@ghost

@ghost ghost commented Sep 1, 2026 •

Copy link
Copy Markdown

​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

@ghost ghost assigned navedmerchant Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Review status

Thanks for contributing. This comment tracks the review sequence and the next action.

Current step: Resolve the merge conflicts. The review sequence resumes after the branch is mergeable.

Review-state labels are managed by this workflow; do not edit them manually. community-approved is managed the same way — do not add or remove it manually. It signals a fresh community code approval for the current head as an advisory priority only; maintainer review is still required.

@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!

@github-actions github-actions Bot added has-conflicts PR has merge conflicts with the base branch and removed has-conflicts PR has merge conflicts with the base branch labels Sep 4, 2026
@github-actions github-actions Bot added has-conflicts PR has merge conflicts with the base branch and removed has-conflicts PR has merge conflicts with the base branch labels Sep 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been awaiting author changes for 14 days and will be automatically closed in 7 days. Please address the review comments or leave a comment if you need more time.

@github-actions

Copy link
Copy Markdown
Contributor

Closing due to author inactivity after requested changes. Feel free to reopen once the requested changes have been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author PR is waiting for the author to address requested changes has-conflicts PR has merge conflicts with the base branch stale-awaiting-author PR is stale while waiting for requested author changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant