fix(config): use zoo-code-settings.json for settings export/import - #1177
fix(config): use zoo-code-settings.json for settings export/import#1177Rafael-Silva-Oliveira wants to merge 1 commit into
Conversation
The settings export and import dialogs still defaulted to the legacy "roo-code-settings.json" filename, as did the autoImportSettingsPath example in the localized setting descriptions. Rename the default to "zoo-code-settings.json" to match the Zoo Code branding. This only changes the default filename suggested in the save/open dialogs; existing files with any name can still be imported.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (20)
📝 WalkthroughWalkthroughThe import and export dialogs now suggest ChangesSettings filename update
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
src/core/config/__tests__/importExport.spec.tsESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox. src/core/config/importExport.tsESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Related GitHub Issue
Closes: #1176
Description
Renames the default settings export/import filename from
roo-code-settings.jsontozoo-code-settings.json.Three places:
exportSettingsandimportSettingsinsrc/core/config/importExport.ts— the filename passed toresolveDefaultSaveUri.autoImportSettingsPathexample path in all 18package.nls.*.jsonfiles.importExport.spec.ts.This only changes the name the save/open dialog pre-fills. Nothing reads or matches on the filename, so existing exports keep importing fine regardless of what they're called.
Test Procedure
npx vitest run core/config/__tests__/importExport.spec.ts— 49/49 pass.Manually: Settings → About Zoo Code → Manage Settings → Export, and the save dialog now suggests
zoo-code-settings.json. Import shows the same default. Re-importing a file still namedroo-code-settings.jsonworks as before.Pre-Submission Checklist
Documentation Updates
None needed — no documented behavior changes, only the suggested default filename.
Summary by CodeRabbit
Bug Fixes
zoo-code-settings.json.Documentation
Tests