fix(ptica): load Inter, surface map legend, drop flag, honest product chart, home link #1855
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1855
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/ptica-inter-map-product"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses «всё ещё очень криво и косо» on the ПТИЦА cockpit. Five code-verified root causes (diffed vs prototype
ptica-redesign/):"Inter"but only IBM Plex Mono went throughnext/font→ whole cockpit rendered in-apple-system/SF (wider metrics → rail labels overflow 96px column, tabular numbers misalign). Now loads Inter vianext/font/google(latin+cyrillic, 400–700); wires--font-ui+ body tovar(--font-inter). No package.json/lockfile change (next/font bundled).z-index:4was buried under Leaflet panes (200–700). Gave.leaflet-containerits own stacking context (position:absolute; z-index:1) like the prototype → overlay + tools surface.attributionControl={false}+<AttributionControl prefix={false}>; © Esri/Maxar/CARTO data credits kept.obj_class, honest empty state on degenerate signal, cap rows,nowrap+ellipsis labels.<Link href="/site-finder">+ focus ring.Gates: tsc 0 · lint clean · build OK. code-reviewer ⚠️minor → a11y focus ring added.
🤖 Generated with Claude Code
Root causes behind the cockpit looking «криво/косо»: - Inter was never loaded — app referenced literal "Inter" but only IBM Plex Mono went through next/font, so the whole cockpit rendered in -apple-system (wider metrics → rail labels overflow, tabular numbers misalign). Load Inter via next/font/google (latin+cyrillic) and wire --font-ui/body to it. - Map legend overlay (z-index 4) was buried under Leaflet panes (200-700): give .leaflet-container its own stacking context (position:absolute; z-index:1) like the prototype, so the overlay + tools surface. - Drop the Leaflet attribution flag/"Leaflet" prefix (prefix={false}) while keeping the © Esri/Maxar/CARTO data credits. - RECOMMENDED PRODUCT rendered 15 degenerate full-red −1.00 bars: filter mix to the recommended class, show an honest empty state on degenerate signal, cap rows, and stop labels wrapping (nowrap+ellipsis). - ПТИЦА wordmark is now a Link → /site-finder (home), with a focus ring.