Roo-Code/webview-ui/src
roomote[bot] ed765a3e7d
feat(checkpoints): create checkpoint when user sends a message (#7713)
* feat(checkpoints): create checkpoint on user message send

* fix(checkpoints): suppress implicit user-message checkpoint row; keep current checkpoint updated without a chat row

* Fix checkpoint suppression for user messages

- Propagate suppressMessage flag through event chain properly
- Update ChatView to check checkpoint metadata for suppressMessage flag
- Ensure checkpoint messages are created but not rendered when suppressed
- Fix bug where checkpointSave(false) should have been checkpointSave(true)

* fix: only create checkpoint on user message when files have changed

- Changed allowEmpty from true to false in checkpointSave call
- Checkpoints will now only be created when there are actual file changes
- This avoids creating empty commits in the shadow git repository

* test: update checkpoint test to include suppressMessage parameter

- Fixed test expectation to match the new function signature
- saveCheckpoint now expects both allowEmpty and suppressMessage parameters

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-05 18:07:59 -04:00
..
__tests__ feat: rename Account tab to Cloud tab (#7558) 2025-08-30 18:57:00 -04:00
components feat(checkpoints): create checkpoint when user sends a message (#7713) 2025-09-05 18:07:59 -04:00
context feat: add run_slash_command tool for executing slash commands (#7473) 2025-09-03 14:14:55 -04:00
hooks Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
i18n Edit/Delete User Message (#7447) 2025-09-05 14:50:18 -04:00
lib Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00
oauth Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
utils feat: Add DeepInfra as a model provider in Roo Code (#7677) 2025-09-04 17:28:45 -04:00
vite-plugins fix: prevent empty mode names from being saved (fixes #5766) (#5767) 2025-08-04 11:03:34 -07:00
App.tsx Edit/Delete User Message (#7447) 2025-09-05 14:50:18 -04:00
index.css feat: update tooltip component to match native VSCode tooltip shadow styling (#7457) 2025-08-27 10:27:40 -07:00
index.tsx PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
preflight.css Bring most of Tailwind's preflight.css back 2025-02-03 12:18:28 -08:00
types.d.ts Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
vite-env.d.ts Remove lucide 2025-01-30 14:47:59 -08:00