| … | … | @@ -734,10 +728,8 @@ export function useSettingsRestore(onRestored?: () => void) { | |
| 735 | 729 | glassOpacity: DEFAULT_UNIFIED_SETTINGS.glassOpacity, | |
| 736 | 730 | panelAnimationDurationMs: DEFAULT_UNIFIED_SETTINGS.panelAnimationDurationMs, | |
| 737 | - | sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount, | |
| 738 | 731 | sidebarProjectGroupingMode: DEFAULT_UNIFIED_SETTINGS.sidebarProjectGroupingMode, | |
🟡 Medium settings/SettingsPanels.tsx:731
Restore device defaults leaves sidebarWorkingShelfEnabled unchanged, and the button is disabled when it is the only changed preference. The setting is still editable in BetaSettings.tsx and used by Sidebar.tsx, but it was removed from both the dirty-label check and the updateSettings reset payload; include it in both so restoring defaults resets the Working section.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/web/src/components/settings/SettingsPanels.tsx around line 731: |
| 2 | |
| 3 | Restore device defaults leaves `sidebarWorkingShelfEnabled` unchanged, and the button is disabled when it is the only changed preference. The setting is still editable in `BetaSettings.tsx` and used by `Sidebar.tsx`, but it was removed from both the dirty-label check and the `updateSettings` reset payload; include it in both so restoring defaults resets the Working section. |
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 948250608e. sidebarWorkingShelfEnabled is back in both the changed-settings label list and the reset payload, matching main. Moving the toggle to the Beta page should not have dropped it from the device reset.
| … | … | @@ -844,17 +846,16 @@ export const SETTINGS_SEARCH_ITEMS = [ | |
| 853 | + | scope: "environment-defaults", | |
| 851 | 854 | }, | |
| 852 | 855 | { | |
| 853 | 856 | id: "review-guide-model", | |
🟡 Medium settings/settingsSearch.ts:856
When review guides are disabled, selecting review-guide-model or review-guide-instructions navigates to /settings/source-control without a rendered destination, so users cannot reach the control that enables the feature. SourceControlWritingSettings.tsx hides both rows in this state, and these search items are not filtered by the setting; hide them until enabled or route disabled-state results to the Beta toggle.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/web/src/components/settings/settingsSearch.ts around line 856: |
| 2 | |
| 3 | When review guides are disabled, selecting `review-guide-model` or `review-guide-instructions` navigates to `/settings/source-control` without a rendered destination, so users cannot reach the control that enables the feature. `SourceControlWritingSettings.tsx` hides both rows in this state, and these search items are not filtered by the setting; hide them until enabled or route disabled-state results to the Beta toggle. |
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 948250608e. Both results now go to /settings/beta with targetId: "review-guides", the switch that reveals those rows. That matches main, where they also targeted the Review guides switch.