Skip to content

Conversation

@brunobergher
Copy link
Collaborator

@brunobergher brunobergher commented Sep 23, 2025

Roo is smart, but thinks out loud too loud.
We've been experiencing first hand (and hearing feeback) that the expanded-by-default thinking blocks are too much.

This PR:

  • Makes them collapsed by default
  • Adds a customizable keyboard shortcut to expand/collapse all blocks, which is a niche use case (Cmd/Ctrl + Shift + Alt + T – yes, the bear paw 🐾)
  • Cleans up a missing ChatRow from the redesign which contextualizes Roo's thinking output in a better way

Test Procedure

  1. Give Roo as task which requires thinking, and a thinking model
  2. See what it looks like
  3. Try the keyboard shortcut

Important

Collapse thinking blocks by default with a new UI setting and keyboard shortcut for toggling.

  • Behavior:
    • ReasoningBlock in ReasoningBlock.tsx now collapses by default and can be toggled with a new keyboard shortcut (Cmd/Ctrl + Shift + Alt + T).
    • Adds a UI setting in UISettings.tsx to control the default collapse state of thinking blocks.
  • Settings:
    • Adds reasoningBlockCollapsed to global-settings.ts and ClineProvider.ts to manage the default collapse state.
    • Updates SettingsView.tsx to include the new UI setting for collapsing thinking blocks.
  • Tests:
    • Adds UISettings.spec.tsx to test the new UI setting for collapsing thinking blocks.

This description was created by Ellipsis for 285ced2. You can customize this summary. It will automatically update as commits are pushed.

roomote and others added 4 commits September 23, 2025 05:40
- Add collapsible UI with chevron icon that shows on hover
- Default to collapsed state showing only last 2 lines
- Move elapsed time counter next to thinking label
- Add smooth transitions and gradient mask for collapsed state
- Add reasoningBlockCollapsed setting to global state
- Add backend message handler for persisting collapsed state
- Add keyboard shortcut (Ctrl/Cmd+Shift+T) to toggle all reasoning blocks
- Default to collapsed state for better UX
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused labels Sep 23, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found issues that need attention.

const { reasoningBlockCollapsed } = useExtensionState()

// Initialize collapsed state based on global setting (default to collapsed)
const [isCollapsed, setIsCollapsed] = useState(reasoningBlockCollapsed !== false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent default state initialization: This uses which is a double negative pattern. Since line 285 defaults to , this could be simplified to:

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the gist of it.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 23, 2025
…quireTodos

- Added 'Toggle Thinking Blocks' translation to all 17 language files
- Added 'Require todos parameter' translation to all 17 language files
- Ensures consistency across all supported locales
brunobergher and others added 4 commits September 23, 2025 14:22
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
},
"reasoning": {
"thinking": "Pensando",
"seconds": "{{count}}s",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here

@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Sep 23, 2025
@hannesrudolph hannesrudolph removed the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants