gendesign/frontend/src/lib
Light1YT f7eb98b971
All checks were successful
Deploy / changes (push) Successful in 6s
Deploy / build-backend (push) Has been skipped
Deploy / build-worker (push) Has been skipped
Deploy / build-frontend (push) Successful in 2m52s
Deploy / deploy (push) Successful in 1m1s
fix(site-finder): handle 202 on-demand geometry in analyze + error boundaries (#1001)
Critical demo-blocker: POST /analyze returns 202 {status:fetching} for parcels
whose geometry isn't cached yet (#93 on-demand НСПД fetch). useParcelAnalyzeQuery
treated 202 as success → the stub (no score/competitors) reached render → Section 3/4
threw TypeError → white screen (no error boundary). Repro confirmed on prod.

- useParcelAnalyzeQuery: 202-aware — poll /fetch-status (2s, 2-min cap), re-POST
  on ready (status-checked, no stub on 202 race), throw HTTPError on
  not_in_nspd/failed/invalid_format; horizon preserved in both POSTs; retry: false
- error boundaries: app/site-finder/analysis/[cad]/error.tsx + app/error.tsx —
  no white screen ever; calm RU message in prod, error detail in dev
- Section3/Section4: guard competitors/score against partial payloads
- CadInput: drop hardcoded default cad (empty + placeholder), raw hex → tokens

Map parcel-select already fixed by 3cea915. Part of EPIC #958.
2026-06-05 16:12:21 +05:00
..
__tests__ feat(rbac): pilot scope → только /trade-in/** (#587) 2026-05-26 07:40:44 +00:00
api feat(sf-fe-a12): Landing redesign + PilotCTA с real B3/B4 data (v2 rebased) (#367) 2026-05-18 05:16:57 +00:00
mocks feat(site-finder): forecast Section 6 (прогноз/сценарии/confidence) on analysis screen (#998) 2026-06-05 14:09:55 +05:00
adminStyles.ts refactor(frontend): extract SectionLabel + EmptyState + adminStyles shared (#132) 2026-05-14 23:55:38 +03:00
analytics-api.ts feat(22k): object page — full exposure 9 blocks (sales/quartirography/metro/photos/docs/specs/checks) (#310) 2026-05-17 15:56:39 +00:00
api-types.ts feat(admin): /admin/jobs/settings page — inline-edit Celery job config 2026-05-11 15:47:39 +03:00
api.ts fix(#264): apiFetch — global X-Session-Id header (custom POI scoring в UI) 2026-05-17 10:31:54 +03:00
isPathAllowed.ts feat(rbac): frontend route-guard + nav filter (#586) 2026-05-26 06:51:45 +00:00
mock-toggle.ts feat(sf-fe-a1): routes shell — entry / analysis + _legacy/ backup + mock toggle (#340) 2026-05-17 22:01:49 +00:00
sessionId.ts feat(#254,#114): custom POI UI + score breakdown stacked-bar viz 2026-05-17 09:35:35 +03:00
site-finder-api.ts fix(site-finder): handle 202 on-demand geometry in analyze + error boundaries (#1001) 2026-06-05 16:12:21 +05:00
trade-in-api.ts feat(trade-in): TI-3 frontend /trade-in page + 5 components + hooks (#317) 2026-05-17 16:58:53 +00:00
useMe.ts feat(rbac): frontend route-guard + nav filter (#586) 2026-05-26 06:51:45 +00:00