gendesign/frontend
lekss361 807eb9ae0f fix(sf-fe): poi-score adapter (TypeError) + drawer non-overlay + CSS tokens
Bug A — TypeError 'r is not iterable' on /site-finder/analysis/[cad]:
  Backend /parcels/{cad}/poi-score returns {cad_num, radius_m, top_poi:[...]}
  but useParcelPoiScoreQuery expected {items, poi_weighted_score}. Added
  adapter in queryFn that maps top_poi → items and computes poi_weighted_score
  from weight field. No backend changes needed.

Bug B — Sidebar hides on parcel select (bad UX):
  ParcelDrawer was position:fixed over the whole page, causing sidebar
  (CadInput + RecentParcels + ParcelLegend) to hide. Fix: drawer is now
  position:absolute within the map container (parent given position:relative),
  overlapping only the map area. Sidebar stays permanently visible so user
  can type a cad directly alongside the drawer.

Bug C — CSS design tokens missing (all var(--*) undefined):
  Created frontend/src/app/globals.css with all design tokens from
  UI_Brief_GenDesign_May17 (surface, border, text, brand, semantic, viz).
  Imported in layout.tsx. Removes invisible UI caused by undefined CSS vars.
  Also sets font-variant-numeric: tabular-nums globally per brief.
2026-05-18 02:57:21 +03:00
..
public chore: refresh preview pages + add tradein landing 2026-05-17 15:37:28 +03:00
src fix(sf-fe): poi-score adapter (TypeError) + drawer non-overlay + CSS tokens 2026-05-18 02:57:21 +03:00
.dockerignore fix(scraper): диагностируем «кнопка не работает» — Redis lock + task_received log 2026-04-28 23:17:42 +03:00
.env.example feat(frontend): @sentry/nextjs init для GlitchTip (#204 frontend) (#208) 2026-05-16 15:09:38 +00:00
.eslintrc.json init 2026-04-25 13:45:19 +03:00
Dockerfile fix(infra): wire GlitchTip DSNs (build-arg + env_file) + reject sentry.io promote 2026-05-16 21:48:28 +03:00
next-env.d.ts add interactive analytics dashboard for Sverdlovsk market and PRINZIP 2026-04-27 16:55:30 +03:00
next.config.ts feat(frontend): @sentry/nextjs init для GlitchTip (#204 frontend) (#208) 2026-05-16 15:09:38 +00:00
package-lock.json fix(sf-fe): poi-score adapter (TypeError) + drawer non-overlay + CSS tokens 2026-05-18 02:57:21 +03:00
package.json feat(sf-fe-a4): AnalysisSidebar (scrollspy) + Breadcrumb + UserAvatar 2026-05-18 01:12:18 +03:00
sentry.client.config.ts feat(frontend): @sentry/nextjs init для GlitchTip (#204 frontend) (#208) 2026-05-16 15:09:38 +00:00
sentry.edge.config.ts feat(frontend): @sentry/nextjs init для GlitchTip (#204 frontend) (#208) 2026-05-16 15:09:38 +00:00
sentry.server.config.ts feat(frontend): @sentry/nextjs init для GlitchTip (#204 frontend) (#208) 2026-05-16 15:09:38 +00:00
tsconfig.json init 2026-04-25 13:45:19 +03:00