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
Collaborator

Чинит левый рельс cockpit'а: был 6 текстовых пунктов без иконок со scrollToAnchor по несуществующим ID (клики не работали) и расходился с референсом. Теперь 7 icon+label пунктов как в прототипе (Участок/Потенциал/Продукт/Экономика/Риски/Сравнение/Отчёты), иконки из кита. scroll-пункты активируют analysis-таб и скроллят к секции (ptica-hero/-potential/-product/-economy/-risks), tab-пункты (Сравнение/Отчёты) переключают вкладку. Активное состояние (cyan + glow + полоса). code-reviewer APPROVE (IDs совпадают, rAF-тайминг ок, табы не сломаны). tsc/lint/prettier/build зелёные.

Чинит левый рельс cockpit'а: был 6 текстовых пунктов без иконок со scrollToAnchor по несуществующим ID (клики не работали) и расходился с референсом. Теперь 7 icon+label пунктов как в прототипе (Участок/Потенциал/Продукт/Экономика/Риски/Сравнение/Отчёты), иконки из кита. scroll-пункты активируют analysis-таб и скроллят к секции (ptica-hero/-potential/-product/-economy/-risks), tab-пункты (Сравнение/Отчёты) переключают вкладку. Активное состояние (cyan + glow + полоса). code-reviewer ✅ APPROVE (IDs совпадают, rAF-тайминг ок, табы не сломаны). tsc/lint/prettier/build зелёные.
bot-backend added 1 commit 2026-06-20 19:45:29 +00:00
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
ee155c9002
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).
bot-backend merged commit 5fb69b779e into main 2026-06-20 19:45:33 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#1853
No description provided.