Extract frontend orchestration hooks
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
## Sprint 39 Frontend orchestration decomposition (2026-06-17)
|
||||
|
||||
Changed:
|
||||
- Moved provider capability loading state and `externalApi.listProviders` calls into `frontend/src/hooks/useProviderCapabilities.ts`.
|
||||
- Moved change-detection state, validation and `analysisApi.runChangeDetection` calls into `frontend/src/hooks/useChangeDetectionWorkflow.ts`.
|
||||
- Moved map-layer derived state, area GeoJSON feature construction and selected-feature reset behavior into `frontend/src/hooks/useMapWorkspaceState.ts`.
|
||||
- Kept `App.tsx` as the cross-module composition layer without changing panel props, API contracts, migrations or product behavior.
|
||||
- Added static regression tests for the extracted orchestration hooks.
|
||||
- Updated frontend README, changelog and TODO status.
|
||||
|
||||
Validation:
|
||||
- `cd backend && python -m pytest tests/test_sprint39_frontend_orchestration_hooks.py -q` passed: 4 tests.
|
||||
- `cd frontend && npm run typecheck` passed.
|
||||
- `cd frontend && npm run build` passed.
|
||||
|
||||
Open:
|
||||
- Full readiness and Tower deploy smoke should run before considering this pass deployed.
|
||||
|
||||
Limitations:
|
||||
- Project/area/dataset cross-load orchestration still lives in `App.tsx`; it is a good next low-risk decomposition target.
|
||||
|
||||
Next recommended pass:
|
||||
- Run full readiness and Tower deploy verification, then extract project/area loading into a dedicated hook if behavior remains stable.
|
||||
|
||||
## Sprint 38 Export Center preview hardening (2026-06-17)
|
||||
|
||||
Changed:
|
||||
|
||||
+2
-1
@@ -51,7 +51,8 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Docker Compose port/storage/database configuration via `.env` defaults for Unraid.
|
||||
- [x] Single-container `geointel` Unraid compose/template runtime.
|
||||
- [x] Export preview component decomposition and HTML report download-only UX hardening.
|
||||
- [ ] Further frontend shared workbench orchestration decomposition.
|
||||
- [x] Provider, change-detection and map-workspace orchestration hook decomposition.
|
||||
- [ ] Further project/area/dataset cross-load orchestration decomposition.
|
||||
|
||||
## Sprint 8 status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user