43 lines
1.3 KiB
Markdown
43 lines
1.3 KiB
Markdown
# Frontend FSD — Portfolio Pages Tasks
|
|
|
|
Статус: выполнено
|
|
|
|
## 1. Create widget directory structure and barrel files
|
|
|
|
- [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
|
|
|
|
- [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/
|
|
|
|
- [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
|
|
|
|
- [x] Update `apps/docs/docs/frontend/overview.md`
|
|
- [x] `npm run build -w apps/docs` — PASS
|
|
- [x] Отдельный коммит `697c4d7`
|
|
|
|
## 5. Final verification
|
|
|
|
- [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
|