Skip to content

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

Open
saneroen wants to merge 2 commits intoRooCodeInc:mainfrom
saneroen:feat/checkpoint-nav
Open

feat(chat): add previous checkpoint navigation controls and i18n#12139
saneroen wants to merge 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

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

Labels

Enhancement New feature or request 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

1 participant