2.1 KiB
2.1 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | ||
|---|---|---|---|---|---|---|---|---|
| 03-layout-settings-editor | Layout settings editor | done | 2 |
|
plan.md | ../../specs/ui/requirements/task-layout-profiles.md |
Task 03: Layout Settings Editor
Acceptance
Settings > General > Layoutsmanages built-in layouts and custom profiles through the shared floating save coordinator, navigation guard, and page-level error state.- Built-in edits remain on one visible row, create a hidden override marked
Customized, and can be restored with Reset. - Selecting a tab exposes contextual split/tab actions with hover/focus descriptions; adding panels remains a separate floating action.
- The isolated preview supports reusable panel add/remove, tab reorder, active-tab choice, and split create/move/resize without mounting runtime task panels.
- Every operation is reachable by pointer, keyboard, and touch; the mobile page has no horizontal page scroll.
Files likely touched
apps/web/app/settings/general/layouts/page.tsxapps/web/components/settings/layouts/layout-settings.tsxapps/web/components/settings/layouts/layout-editor.tsxapps/web/components/settings/layouts/layout-editor-toolbar.tsxapps/web/components/settings/layouts/layout-profile-list.tsxapps/web/components/settings/general-nav.tsapps/web/components/app-sidebar/sections/settings/general-group.tsxapps/web/src/settings-routes.tsxapps/web/src/settings-routes.test.ts
Dependencies
- Task 01 supplies backend invariants.
- Task 02 supplies profile and validation helpers.
Inputs
- Spec
What,Failure modes, and settings scenarios. - Existing settings route hydration,
SettingsPageTemplate, Dockview theme, layout serializer/applier, and@dnd-kit/touch patterns.
Verification
pnpm --filter @kandev/web test -- --run lib/layout/layout-profiles.test.ts src/settings-routes.test.ts
pnpm --filter @kandev/web typecheck
Run from apps.
Output contract
Report desktop/mobile behavior, tests run, files changed, blockers, and risks; mark this task and its plan item done.