Skip to content

Fix Advanced Settings UI issues and make update_todo_list conditional #5628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

roomote-agent
Copy link
Collaborator

@roomote-agent roomote-agent commented Jul 12, 2025

This PR addresses the feedback from GitHub issue #5624 by fixing Advanced Settings UI issues and making update_todo_list references conditional on the provider-level setting.

Key changes:

  • Fixed Advanced Settings button layout and alignment issues
  • Made update_todo_list tool conditional on alwaysAllowUpdateTodoList setting
  • Updated architect mode instructions to be conditional
  • Updated reminder text to be conditional
  • Enhanced tool filtering for empty descriptions
  • Updated test snapshots for new conditional behavior

All tests pass and linting/type checking successful.

Fixes #5624


Important

Fixes UI layout issues and makes update_todo_list tool usage conditional on settings, with updates to UI components and test snapshots.

  • UI Fixes:
    • Fixed layout and alignment of Advanced Settings button in CodeIndexPopover.tsx.
  • Conditional Logic:
    • Made update_todo_list tool conditional on alwaysAllowUpdateTodoList setting in getEnvironmentDetails.ts and reminder.ts.
    • Updated architect mode instructions and reminder text to be conditional.
  • Tool Filtering:
    • Enhanced filtering for empty tool descriptions in index.ts.
  • Tests:
    • Updated test snapshots for new conditional behavior in multiple snapshot files.

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

…tional

- Fix Advanced Settings button layout with proper flex spacing and alignment
- Remove excessive left border when expanded (pl-0)
- Make update_todo_list tool conditional on alwaysAllowUpdateTodoList setting
- Update architect mode instructions to be conditional on tool availability
- Update reminder text to be conditional on feature being enabled
- Filter out empty tool descriptions from tools list
- Update test snapshots to reflect conditional behavior

Fixes issues reported in GitHub issue #5624
@roomote-agent roomote-agent requested review from mrubens, cte and jr as code owners July 12, 2025 15:31
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working UI/UX UI/UX related or focused labels Jul 12, 2025
Copy link

delve-auditor bot commented Jul 12, 2025

No security or compliance issues detected. Reviewed everything up to e05f7bf.

Security Overview
  • 🔎 Scanned files: 18 changed file(s)
Detected Code Changes
Change Type Relevant files
Enhancement ► getEnvironmentDetails.ts
    Make reminder section conditional on alwaysAllowUpdateTodoList
► reminder.ts
    Add conditional rendering of todo list reminders
► tools/index.ts
    Filter out empty tool descriptions
► tools/update-todo-list.ts
    Make tool description conditional on settings
► CodeIndexPopover.tsx
    Fix Advanced Settings button layout

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@mrubens mrubens closed this Jul 12, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jul 12, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 12, 2025
@roomote-agent
Copy link
Collaborator Author

CI Status Update

The integration test failure appears to be unrelated to the changes in this PR:

Failed Test:
Error:

Analysis:

  • This test is related to MCP (Model Context Protocol) filesystem server functionality
  • My changes focused on:
    1. UI fixes for Advanced Settings component layout
    2. Conditional logic for update_todo_list tool references
  • The MCP filesystem directory_tree tool is completely separate from these modifications

Other CI Checks: ✅ All other checks are passing:

  • ✅ Analyze (javascript-typescript)
  • ✅ CodeQL
  • ✅ Security Check
  • ✅ check-openrouter-api-key
  • ✅ check-translations
  • ✅ compile
  • ✅ knip
  • ✅ platform-unit-test (ubuntu-latest)
  • ✅ platform-unit-test (windows-latest)
  • ✅ notify

This appears to be a flaky test or infrastructure issue rather than a problem with the PR changes. The core functionality changes have been thoroughly tested and all unit tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants