Split the 2,000-line Settings page into section components
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
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.tsxunder ~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
- 主要语言
- TypeScript
- 星标
- 246
- 派生
- 436
- 平均合并
- 9 小时 33 分钟
- 30 天内合并 PR
- 213
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Priyanshu-byte-coder/devtrack 的其他 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
Priyanshu-byte-coder/devtrack#4067 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 66/100
Priyanshu-byte-coder/devtrack#4066 ·
维护者通常 1 天内回复
-
Webhook manager: replace the browser confirm() dialogs with ConfirmModal可能已有人在做 @Nandaninaulaa 于 4 天前认领。 未关闭good first issue level 1 level:beginner status:assigned type:design
难度 2/5 1-3 小时 新手友好度 90/100
Priyanshu-byte-coder/devtrack#3889 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Goals form: square arcade buttons for recurrence, Create goal and Refresh可能已有人在做 @KartikeyG-world 于 4 天前认领。 未关闭good first issue level 1 level:beginner status:assigned type:design
难度 2/5 1-3 小时 新手友好度 64/100
Priyanshu-byte-coder/devtrack#3877 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Goals: the error banner and the "No goals yet" hint show at the same time可能已有人在做 @KartikeyG-world 于 4 天前认领。 未关闭good first issue level 1 level:beginner status:assigned type:bug
难度 2/5 1-3 小时 新手友好度 73/100
Priyanshu-byte-coder/devtrack#3872 · 6 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 Priyanshu-byte-coder/devtrack 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
makecindy/cindy#15342 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
kwitsch/claude-code-plugin-tooling#219 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
no-repo-link tool-submission
难度 1/5 1 小时以内 新手友好度 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100