refactor: split SettingsDialog into per-panel sub-components
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- react, typescript
Línea de trabajo
Start with src/components/settings/SettingsDialog.tsx and trace how the tab navigation selects each panel and how settings are read and saved. Extract the panels into src/components/settings/panels/, keeping the parent responsible for routing and passing settings through props or the store hook. Done means each panel is under 200 lines, settings persist after an app reload, and TypeScript, tests, and the build pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
src/components/settings/SettingsDialog.tsx is 1,321 lines. Each settings panel (General, Editor, Explorer, AI, Keymaps, Templates, Updates) is its own world but they all share one giant file.
What to extract
One PR per panel is fine. Order suggestion (lightest first):
<AISettingsPanel>— the AI provider config (OpenAI / Anthropic / Google / Ollama selector, API key, endpoint, model).<KeymapsPanel>— preset selector + custom-action overrides.<TemplatesPanel>— live-template CRUD.<UpdatesPanel>— the in-app updater UI.<ExplorerSettingsPanel>— the show/hide toggles.<GeneralSettingsPanel>— everything else.
Suggested approach
- Components live in
src/components/settings/panels/. - The parent
SettingsDialogkeeps the tab nav + active-panel routing. - Each panel takes
settings+setSetting(or its store hook) as props — no panel shoulduseSettings()independently if the parent already has it.
Done criteria
SettingsDialog.tsxbecomes a router; each panel < 200 lines.- All settings still persist correctly across app reloads (manual test).
- TypeScript / tests / build green.
Out of scope
- Redesigning the visual layout.
- Adding new settings.
Audit reference
K4 in the pre-launch audit.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6
- Forks
- 1
- Merge medio
- 17 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openidle-dev/queryden
-
Multi Query ClusterAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
openidle-dev/queryden#240 ·
-
bug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openidle-dev/queryden#187 ·
-
Refresh database listAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
openidle-dev/queryden#237 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
openidle-dev/queryden#192 ·
-
dependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
openidle-dev/queryden#186 ·
Todos los issues de openidle-dev/queryden
Issues similares
-
Mend: dependency security vulnerability
Dificultad 1/5 1-3 horas Aptitud para principiantes 65/100
fdm-monster/fdm-monster#5563 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
growilabs/growi#12246 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededPosiblemente ocupada @github-actions la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SSWConsulting/SSW.Rules#2809 · 1 comentario ·
Los mantenedores suelen responder en 1 día