Skip to content

feat(chat): add previous checkpoint navigation controls and i18n#12139

Merged
hannesrudolph merged 2 commits intoRooCodeInc:mainfrom
saneroen:feat/checkpoint-nav
Apr 20, 2026
Merged

feat(chat): add previous checkpoint navigation controls and i18n#12139
hannesrudolph merged 2 commits intoRooCodeInc:mainfrom
saneroen:feat/checkpoint-nav

Conversation

@saneroen
Copy link
Copy Markdown
Contributor

@saneroen saneroen commented Apr 16, 2026

Use this PR body with issue linked to #12138:

Related GitHub Issue

Closes: #12138

Roo Code Task Context (Optional)

N/A

Description

Adds previous-checkpoint navigation in chat so users can quickly revisit earlier checkpoints in long conversations.

  • Adds a footer action to jump through prior checkpoints.
  • Wires checkpoint menu jump callback support.
  • Adds/updates tests for checkpoint navigation behavior.
  • Adds chat:scrollToLatestCheckpoint locale key across chat locale files.

Test Procedure

From webview-ui:

  1. Run lint:
    • pnpm run lint
  2. Run targeted tests:
    • npx vitest run src/components/chat/__tests__/ChatView.scroll-debug-repro.spec.tsx
    • npx vitest run src/components/chat/checkpoints/__tests__/CheckpointSaved.spec.tsx
  3. Manual verification:
    • Open a task with checkpoints.
    • Confirm checkpoint jump button appears when checkpoints exist.
    • Click repeatedly and verify it navigates to earlier checkpoints.
    • Click scroll-to-bottom and verify jump cursor resets.

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue.
  • Scope: Changes are focused on the linked issue.
  • Self-Review: Code self-review completed.
  • Testing: New/updated tests cover the change.
  • Documentation Impact: No user-doc updates required.
  • Contribution Guidelines: Reviewed CONTRIBUTING.md.

Screenshots / Videos

UI change present; attach screenshot/video from local verification.

Documentation Updates

  • No documentation updates are required.
  • Yes, documentation updates are required.

Additional Notes

Excluded unrelated local changes from this PR scope:

Get in Touch

Discord: santy2509

Interactively review PR in Roo Code Cloud

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request UI/UX UI/UX related or focused labels Apr 16, 2026
@saneroen
Copy link
Copy Markdown
Contributor Author

Screenshot 2026-04-16 at 2 07 20 PM Screenshot 2026-04-16 at 2 07 48 PM

@hannesrudolph
Copy link
Copy Markdown
Collaborator

@roomote should I merge this PR?

@roomote-v0
Copy link
Copy Markdown
Contributor

roomote-v0 bot commented Apr 20, 2026

Fixaroo Clock   See task

Fixed the reported issues. Reverted out-of-scope esbuild change, added proper checkpoint-nav disengage source type, guarded optional callback render in CheckpointMenu, and replaced arbitrary Tailwind values with standard spacing. All lint, type-check, and test suites pass.

View commit | Revert commit

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 20, 2026
@hannesrudolph hannesrudolph merged commit 2bb8260 into RooCodeInc:main Apr 20, 2026
10 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Add quick navigation to previous checkpoints in chat

2 participants