feat: add "Use the same configuration for all modes" checkbox to Settings#12238
Draft
roomote-v0[bot] wants to merge 1 commit intomainfrom
Draft
feat: add "Use the same configuration for all modes" checkbox to Settings#12238roomote-v0[bot] wants to merge 1 commit intomainfrom
roomote-v0[bot] wants to merge 1 commit intomainfrom
Conversation
Adds a discoverable "Use the same configuration for all modes" checkbox to the Providers section in Settings. This mirrors the existing lock icon hidden inside the API Configuration popover, making it much easier to find. - Checkbox in Providers tab reads from cachedState and persists on save - i18n strings added for all 18 locales - Tests added for render and toggle+save behavior Addresses #12237
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR attempts to address Issue #12237. Feedback and guidance are welcome.
Problem
The "lock API configuration across modes" feature exists but is nearly impossible to discover. It is hidden behind a small lock icon inside the API Configuration popover -- users must click the configuration profile name in the chat input area, then look at the tiny icons in the bottom-left corner of the popover that appears.
Solution
Adds a clearly visible "Use the same configuration for all modes" checkbox directly in the Providers tab of the Settings view, between the Configuration Profile selector and the API Provider options.
When enabled, switching modes (e.g. Code, Architect, Ask) keeps the current API configuration instead of switching to a mode-specific one.
Changes
SettingsView.tsx: AddedCheckboxfromvscrui, readslockApiConfigAcrossModesfromcachedState, persists viapostMessageon savesettings.json(all 18 locales): AddedlockApiConfigAcrossModesandlockApiConfigAcrossModesDescriptioni18n keysSettingsView.spec.tsx: Addedvscruimock and 2 test cases (renders unchecked by default, toggles and sends message on save)The existing lock icon in the API Configuration popover continues to work as before -- this adds a second, more discoverable path to the same setting.
Test plan
Interactively review PR in Roo Code Cloud