docs: mark portfolio FSD migration tasks complete
This commit is contained in:
parent
605a4e8d00
commit
2619a27b80
@ -1,7 +1,7 @@
|
||||
# Frontend FSD — Portfolio Pages
|
||||
|
||||
Дата: 2026-06-20
|
||||
Статус: черновик
|
||||
Статус: выполнено
|
||||
|
||||
## Контекст
|
||||
|
||||
|
||||
@ -1,41 +1,42 @@
|
||||
# Frontend FSD — Portfolio Pages Tasks
|
||||
|
||||
Статус: выполнено
|
||||
|
||||
## 1. Create widget directory structure and barrel files
|
||||
|
||||
- [ ] Create 6 widget barrels in `widgets/`
|
||||
- [ ] Copy components to `widgets/*/ui/` with updated imports
|
||||
- [ ] `npm run build -w apps/frontend` — PASS
|
||||
- [ ] `npm test -w apps/frontend` — PASS
|
||||
- [ ] Commit
|
||||
- [x] Create 6 widget barrels in `widgets/`
|
||||
- [x] Copy components to `widgets/*/ui/` with updated imports
|
||||
- [x] `npm run build -w apps/frontend` — PASS
|
||||
- [x] `npm test -w apps/frontend` — PASS
|
||||
- [x] Commit `2ab4334`
|
||||
|
||||
## 2. Update pages to use widgets
|
||||
|
||||
- [ ] Update `PortfoliosListPage.tsx` imports
|
||||
- [ ] Update `PortfolioDetailPage.tsx` imports
|
||||
- [ ] `npm run build -w apps/frontend` — PASS
|
||||
- [ ] `npm test -w apps/frontend` — PASS
|
||||
- [ ] Commit
|
||||
- [x] Update `PortfoliosListPage.tsx` imports
|
||||
- [x] Update `PortfolioDetailPage.tsx` imports
|
||||
- [x] `npm run build -w apps/frontend` — PASS
|
||||
- [x] `npm test -w apps/frontend` — PASS
|
||||
- [x] Commit `0b3c9a9`
|
||||
|
||||
## 3. Remove flat components/portfolios/
|
||||
|
||||
- [ ] Delete `components/portfolios/*.tsx`
|
||||
- [ ] No remaining imports from `components/portfolios`
|
||||
- [ ] `npm run build -w apps/frontend` — PASS
|
||||
- [ ] `npm test -w apps/frontend` — PASS
|
||||
- [ ] `npm run lint -w apps/frontend` — PASS
|
||||
- [ ] Commit
|
||||
- [x] Delete `components/portfolios/*.tsx`
|
||||
- [x] No remaining imports from `components/portfolios`
|
||||
- [x] `npm run build -w apps/frontend` — PASS
|
||||
- [x] `npm test -w apps/frontend` — PASS
|
||||
- [x] `npm run lint -w apps/frontend` — PASS
|
||||
- [x] Commit `4d6e662`
|
||||
|
||||
## 4. Update documentation
|
||||
|
||||
- [ ] Update `apps/docs/docs/frontend/hooks.md`
|
||||
- [ ] Update `apps/docs/docs/frontend/routes.md`
|
||||
- [ ] `npm run build -w apps/docs` — PASS
|
||||
- [ ] Отдельный коммит
|
||||
- [x] Update `apps/docs/docs/frontend/overview.md`
|
||||
- [x] `npm run build -w apps/docs` — PASS
|
||||
- [x] Отдельный коммит `697c4d7`
|
||||
|
||||
## 5. Final verification
|
||||
|
||||
- [ ] `npm test -w apps/frontend` — PASS
|
||||
- [ ] `npm run lint -w apps/frontend` — PASS
|
||||
- [ ] `npm run build -w apps/frontend` — PASS
|
||||
- [ ] `rg "components/portfolios"` — no matches
|
||||
- [ ] `npm run build -w apps/docs` — PASS
|
||||
- [x] `npm test -w apps/frontend` — PASS (198 tests)
|
||||
- [x] `npm run lint -w apps/frontend` — PASS
|
||||
- [x] `npm run build -w apps/frontend` — PASS
|
||||
- [x] `rg "components/portfolios"` — no matches
|
||||
- [x] `npm run build -w apps/docs` — PASS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user