Moves phases 08–11 execution artifacts from .planning/phases/ to .planning/milestones/v0.2-phases/ to keep .planning/phases/ clean for the next milestone. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
46 lines
2.1 KiB
Markdown
46 lines
2.1 KiB
Markdown
---
|
|
phase: 11-visual-design-responsive-layout-cleanup
|
|
plan: 6
|
|
type: execute
|
|
wave: 5
|
|
depends_on: [11-05]
|
|
requirements: [CODE-07, PERF-02]
|
|
files_modified:
|
|
- frontend/src/**/*
|
|
- .planning/perf/phase11-final.html
|
|
- .planning/perf/phase11-final-summary.md
|
|
- .planning/phases/11-visual-design-responsive-layout-cleanup/11-VERIFICATION.md
|
|
autonomous: true
|
|
---
|
|
|
|
# Plan 11-06 — Dead-Code Cleanup & Final Measurement
|
|
|
|
## Objective
|
|
|
|
Delete unreferenced frontend code and capture the final bundle report after all Phase 11 optimizations are complete.
|
|
|
|
## Tasks
|
|
|
|
1. Run dead-code searches for unreferenced components, stores, helpers, imports, and old route views.
|
|
2. Explicitly classify these known suspects before deleting or retaining:
|
|
- `frontend/src/views/AccountView.vue` (`/account` currently redirects to `/settings`)
|
|
- `frontend/src/components/admin/__tests__/AdminAiConfigTab.test.js`
|
|
- `frontend/src/components/admin/__tests__/AdminQuotasTab.test.js`
|
|
- `frontend/src/components/admin/__tests__/AdminUsersTab.test.js`
|
|
3. Confirm `HomeView.vue`, `FolderView.vue`, and `AdminView.vue` remain absent.
|
|
4. Delete files with no active route and no active import in the same commit as their references are removed.
|
|
5. Remove unused imports and stale tests that target deleted files; keep behavior tests that still protect live surfaces.
|
|
6. Run the final analyzer build and write `.planning/perf/phase11-final.html`.
|
|
7. Add `.planning/perf/phase11-final-summary.md` comparing baseline vs final bundle size, chunk count, and largest chunks.
|
|
8. Produce `11-VERIFICATION.md` mapping every Phase 11 requirement to code/test/build evidence.
|
|
|
|
## Acceptance Criteria
|
|
|
|
- CODE-07 is satisfied: no dead files, unused route components, unused stores, or unused imports remain.
|
|
- Known suspects are each documented as deleted or intentionally retained.
|
|
- Final bundle report and summary are committed under `.planning/perf/`.
|
|
- Baseline and final reports are both present.
|
|
- `cd frontend && npm run test -- --run` passes.
|
|
- `cd frontend && npm run build` passes.
|
|
- Phase 11 verification maps VISUAL-01..04, RESP-01..05, CODE-07, PERF-02, and PERF-03 to concrete evidence.
|