Skip to content

Conversation

@roo-code-preview
Copy link

@roo-code-preview roo-code-preview bot commented Sep 9, 2025

This PR addresses the feedback from @mrubens on issue #5624:

Changes Made

✅ 1. Remove unnecessary migration logic (no backfill needed)

  • Removed todoListEnabledMigrated from provider settings schema
  • Removed migrateTodoListEnabled method from ProviderSettingsManager
  • Removed related test that was expecting the migration
  • As clarified, there's no existing setting to migrate from, so no backfill is required

✅ 3. Fix "Advanced Settings" text wrapping issue

  • Added flex-shrink-0 and whitespace-nowrap CSS classes to prevent text wrapping
  • Improved spacing with gap-2 instead of gap-1

❓ 2. Temperature and rate limit controls placement

The temperature and rate limit controls are already under the Advanced Settings toggle (lines 768-778 in ApiOptions.tsx). If this needs to be moved to a different location, please clarify where they should be positioned.

Testing

  • ✅ All tests pass
  • ✅ Build successful
  • ✅ No linting errors
  • ✅ Type checking passed

This PR attempts to address Issue #5624. Please let me know if the temperature/rate limit placement needs further adjustment.


Important

Removed unnecessary migration logic and fixed text wrapping in advanced settings UI.

  • Migration Logic Removal:
    • Removed todoListEnabledMigrated from providerProfilesSchema in ProviderSettingsManager.ts.
    • Deleted migrateTodoListEnabled method from ProviderSettingsManager.
    • Removed related test in ProviderSettingsManager.spec.ts.
  • UI Fixes:
    • Added flex-shrink-0 and whitespace-nowrap classes to CollapsibleTrigger in ApiOptions.tsx to fix text wrapping.
    • Changed spacing from gap-1 to gap-2 in ApiOptions.tsx.
  • Testing:
    • All tests pass, build successful, no linting errors, and type checking passed.

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

- Remove unnecessary todoListEnabled migration logic (no backfill needed)
- Fix Advanced Settings text wrapping with proper CSS classes
- Temperature and rate limit controls already under advanced settings
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused labels Sep 9, 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.

Reviewing my own code feels like grading my own homework - suspicious but necessary.

<span className="font-medium">{t("settings:advancedSettings.title")}</span>
<CollapsibleTrigger className="flex items-center gap-2 w-full cursor-pointer hover:opacity-80 mb-2">
<span
className={`codicon codicon-chevron-${isAdvancedSettingsOpen ? "down" : "right"} flex-shrink-0`}></span>
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice fix for the text wrapping issue! The combination of flex-shrink-0 on the chevron and whitespace-nowrap on the text should prevent the Advanced Settings label from breaking onto multiple lines. The gap-2 also provides better visual spacing than gap-1.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 9, 2025
@daniel-lxs daniel-lxs closed this Sep 10, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 10, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:M This PR changes 30-99 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.

4 participants