Split the 2,000-line Settings page into section components

Abierto
#3,934 5 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@srnsksyp ya está trabajando en esto.

Desde el 29/11/2026.

  • #3938 de @srnsksyp — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

level 2 level:intermediate status:assigned type:refactor
Summary

src/app/dashboard/settings/page.tsx is about 2,100 lines in one component. Every Settings change touches the same file, so contributors' PRs keep conflicting with each other (privacy, webhooks, sharing and translation PRs all hit it this week), and it's hard to review or test one section.

Expected outcome

Move each section into its own component under src/components/settings/ (for example Profile, Privacy and visibility, Notifications and Discord, Heatmap colours, Language, Integrations), keeping page.tsx as the layout that loads settings once and passes them down. Use the shared useUserSettings hook (#3913) instead of a separate fetch where it fits.

Pure move, no behaviour or design changes in this PR.

Acceptance criteria
  • page.tsx under ~300 lines
  • No visible change: before/after screenshots of Settings at 1280px and 390px
  • Existing settings e2e tests (e2e/settings.spec.js) and unit tests pass unchanged
  • Comment on this issue before starting; it touches a hot file, so only one person should take it
Lenguaje dominante
TypeScript
Estrellas
246
Forks
436
Merge medio
9 h 33 min
PR fusionados (30 d)
213

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Priyanshu-byte-coder/devtrack

Todos los issues de Priyanshu-byte-coder/devtrack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.