fix(ptica): left-rail — 7 icon+label items + working nav (match reference) #1853

Merged
bot-backend merged 1 commit from fix/ptica-left-rail into main 2026-06-20 19:45:33 +00:00

1 commit

Author SHA1 Message Date
ee155c9002 fix(ptica): restore left-rail to 7 icon+label items with working nav
All checks were successful
CI / frontend-tests (pull_request) Successful in 52s
CI / openapi-codegen-check (pull_request) Successful in 1m52s
CI / changes (pull_request) Successful in 7s
CI / backend-tests (pull_request) Has been skipped
The cockpit rail had 6 text-only items whose scrollToAnchor targeted
non-existent IDs (clicks did nothing) and diverged from the reference.
Replace with the prototype's 7 icon+label items (Участок/Потенциал/Продукт/
Экономика/Риски/Сравнение/Отчёты, icons ported from the kit). Discriminated
union RailItem {kind:'scroll'|'tab'}: scroll items activate the analysis tab
then scrollIntoView the matching section on the next frame; tab items switch
the top tab. Add ptica-hero/-potential/-product/-economy/-risks section IDs;
port the .nav-item active state (cyan accent + glow + left bar).
2026-06-21 00:45:24 +05:00