Roo-Code/packages
Roo Code 0ac5f16f87
Some checks failed
Preview roocode.com / check-secrets (push) Has been cancelled
Preview roocode.com / preview (push) Has been cancelled
feat: add autoExpandDiffs setting to auto-expand diffs in chat messages
Adds a new boolean setting "autoExpandDiffs" (default: false) under
Settings > UI. When enabled, file edit diffs in chat messages are
automatically expanded instead of requiring a click on the collapsed
filename bar.

The CodeAccordion component already enforces a 300px max height with
scrollbar, so auto-expanded diffs will not overwhelm the chat view.

Changes:
- packages/types: add autoExpandDiffs to GlobalSettings schema and ExtensionState
- webview-ui context: add default and hydration for autoExpandDiffs
- ChatView: add useEffect that auto-expands diff tool messages when setting is on
- UISettings: add checkbox toggle for the new setting
- SettingsView: wire the new setting through cached state
- i18n: add English translation strings
- Tests: update test fixtures for change-detection, unsaved-changes, UISettings

Closes #10955
2026-04-19 19:51:58 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
evals Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
ipc Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
telemetry Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
types feat: add autoExpandDiffs setting to auto-expand diffs in chat messages 2026-04-19 19:51:58 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00