docs: mark portfolio FSD migration tasks complete
Some checks failed
CI / ci (pull_request) Failing after 2m41s

This commit is contained in:
Sergey Krylov 2026-06-20 21:08:04 +03:00
parent 697c4d708a
commit e4a610aa62
2 changed files with 27 additions and 26 deletions

View File

@ -1,7 +1,7 @@
# Frontend FSD — Portfolio Pages # Frontend FSD — Portfolio Pages
Дата: 2026-06-20 Дата: 2026-06-20
Статус: черновик Статус: выполнено
## Контекст ## Контекст

View File

@ -1,41 +1,42 @@
# Frontend FSD — Portfolio Pages Tasks # Frontend FSD — Portfolio Pages Tasks
Статус: выполнено
## 1. Create widget directory structure and barrel files ## 1. Create widget directory structure and barrel files
- [ ] Create 6 widget barrels in `widgets/` - [x] Create 6 widget barrels in `widgets/`
- [ ] Copy components to `widgets/*/ui/` with updated imports - [x] Copy components to `widgets/*/ui/` with updated imports
- [ ] `npm run build -w apps/frontend` — PASS - [x] `npm run build -w apps/frontend` — PASS
- [ ] `npm test -w apps/frontend` — PASS - [x] `npm test -w apps/frontend` — PASS
- [ ] Commit - [x] Commit `2ab4334`
## 2. Update pages to use widgets ## 2. Update pages to use widgets
- [ ] Update `PortfoliosListPage.tsx` imports - [x] Update `PortfoliosListPage.tsx` imports
- [ ] Update `PortfolioDetailPage.tsx` imports - [x] Update `PortfolioDetailPage.tsx` imports
- [ ] `npm run build -w apps/frontend` — PASS - [x] `npm run build -w apps/frontend` — PASS
- [ ] `npm test -w apps/frontend` — PASS - [x] `npm test -w apps/frontend` — PASS
- [ ] Commit - [x] Commit `0b3c9a9`
## 3. Remove flat components/portfolios/ ## 3. Remove flat components/portfolios/
- [ ] Delete `components/portfolios/*.tsx` - [x] Delete `components/portfolios/*.tsx`
- [ ] No remaining imports from `components/portfolios` - [x] No remaining imports from `components/portfolios`
- [ ] `npm run build -w apps/frontend` — PASS - [x] `npm run build -w apps/frontend` — PASS
- [ ] `npm test -w apps/frontend` — PASS - [x] `npm test -w apps/frontend` — PASS
- [ ] `npm run lint -w apps/frontend` — PASS - [x] `npm run lint -w apps/frontend` — PASS
- [ ] Commit - [x] Commit `4d6e662`
## 4. Update documentation ## 4. Update documentation
- [ ] Update `apps/docs/docs/frontend/hooks.md` - [x] Update `apps/docs/docs/frontend/overview.md`
- [ ] Update `apps/docs/docs/frontend/routes.md` - [x] `npm run build -w apps/docs` — PASS
- [ ] `npm run build -w apps/docs` — PASS - [x] Отдельный коммит `697c4d7`
- [ ] Отдельный коммит
## 5. Final verification ## 5. Final verification
- [ ] `npm test -w apps/frontend` — PASS - [x] `npm test -w apps/frontend` — PASS (198 tests)
- [ ] `npm run lint -w apps/frontend` — PASS - [x] `npm run lint -w apps/frontend` — PASS
- [ ] `npm run build -w apps/frontend` — PASS - [x] `npm run build -w apps/frontend` — PASS
- [ ] `rg "components/portfolios"` — no matches - [x] `rg "components/portfolios"` — no matches
- [ ] `npm run build -w apps/docs` — PASS - [x] `npm run build -w apps/docs` — PASS