29 lines
1003 B
Markdown
29 lines
1003 B
Markdown
# Tasks: FSD Final Cleanup
|
|
|
|
## Phase 1: Fix import aliases
|
|
|
|
- [x] **Task 1:** Fix `../../../` → `@/` in 8 broker files (pages + widgets)
|
|
|
|
## Phase 2: Move BrokerAccountLayout to widgets
|
|
|
|
- [x] **Task 2:** Create `widgets/broker-account-layout/index.ts` and `ui/BrokerAccountLayout.tsx`
|
|
- [x] **Task 3:** Update all imports referencing old path, delete `entities/broker-account/ui/BrokerAccountLayout.tsx`
|
|
|
|
## Phase 3: Add api/ to entities/search
|
|
|
|
- [x] **Task 4:** Create `entities/search/api/searchApi.ts` with `searchSecurities`
|
|
- [x] **Task 5:** Update consumers, remove `searchSecurities` from shared
|
|
|
|
## Phase 4: Fix app layer deep imports
|
|
|
|
- [x] **Task 6:** Fix `AppLayout.tsx`, `SessionProvider.tsx`, `ProtectedRoute.tsx` to use `@/entities/session` barrel
|
|
|
|
## Phase 5: Fix test relative imports
|
|
|
|
- [x] **Task 7:** Fix `test/test-utils.tsx` relative import
|
|
- [x] **Task 8:** Fix 9 test files with relative `test/` imports
|
|
|
|
## Verification
|
|
|
|
- [x] **Task 9:** Run tests, lint, build — all pass
|