Task Type
Refactor
Context
src/renderer/pages/settings/ModelSettings/ModelSettings.tsx statically imports the full TranslateSettings and TopicNamingSettings panels. These panels are only used after the matching sidebar selection, and are unreachable in onboarding because showSettingsButton={false}. This violates bundle-dynamic-imports and bundle-conditional.
Normal model settings and onboarding therefore load translation-language management, preference hooks, and panel dependencies that are usually closed and sometimes impossible to open.
Definition of Done
References
- Code:
src/renderer/pages/settings/ModelSettings/ModelSettings.tsx
- Code:
src/renderer/windows/main/onboarding/OnboardingPage.tsx
- Rules:
bundle-dynamic-imports, bundle-conditional
This task is not reserved for the core team. Community contributions are welcome — if you would like to pick it up, leave a comment before you start so we can avoid duplicated work.
Task Type
Refactor
Context
src/renderer/pages/settings/ModelSettings/ModelSettings.tsxstatically imports the full TranslateSettings and TopicNamingSettings panels. These panels are only used after the matching sidebar selection, and are unreachable in onboarding becauseshowSettingsButton={false}. This violatesbundle-dynamic-importsandbundle-conditional.Normal model settings and onboarding therefore load translation-language management, preference hooks, and panel dependencies that are usually closed and sometimes impossible to open.
Definition of Done
showSettingsButton={false}does not load either panel module.References
src/renderer/pages/settings/ModelSettings/ModelSettings.tsxsrc/renderer/windows/main/onboarding/OnboardingPage.tsxbundle-dynamic-imports,bundle-conditionalThis task is not reserved for the core team. Community contributions are welcome — if you would like to pick it up, leave a comment before you start so we can avoid duplicated work.