feat(site-finder): weight profile panel + analyze options (#114 sub-PR 4/4 FINAL) #139

Merged
lekss361 merged 1 commit from feat/114-weight-profiles-ui into main 2026-05-14 21:50:02 +00:00

1 commit

Author SHA1 Message Date
lekss361
4e58998031 feat(site-finder): weight profile panel + analyze options (#114 sub-PR 4/4 FINAL)
Closing FINAL sub-PR for #114 Custom POI weights — UI complete.

- weightProfiles.ts: TS types + 4 TanStack Query hooks + 11 categories
- WeightProfilePanel.tsx: collapsible panel, sliders, save dialog
- useSiteAnalysis.ts: accepts AnalyzeOptions, query string for backend
- page.tsx: lifts weights state, integrates panel

Approach: 'save first' для ephemeral (no temp profile creation).

tsc 0 errors, ESLint 0 warnings.

Vault: Module_Weight_Profiles_Frontend.md NEW.

Closes #114
2026-05-15 00:45:30 +03:00