fix(ui): make the shared three-part profile the canonical header

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 13:02:56 +03:00
parent fdc93a3136
commit 55fa5fa6bc
7 changed files with 34 additions and 17 deletions
+8 -2
View File
@@ -228,7 +228,13 @@ Pill navigation для верхней панели и компактного п
## UserProfileMenu
Каноническая выпадашка профиля для правой группы `AppHeader`. Она использует
Каноническая правая группа `AppHeader`: «Профиль» → inbox → аватар.
`UserProfileMenu` владеет всей группой, включая `HeaderProfile`; приложение
передаёт только identity и действия. Настройки находятся в меню, отдельной
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
Она использует
общий portal `Dropdown`, показывает identity cover с аватаром, именем и
подписью и принимает список application-owned действий.
@@ -527,6 +533,6 @@ Window: `rect` / `onRectCommit` — восстановление и фиксац
## Flat surface profile and profile trigger
The shared theme supports `edges: "flat"` for borderless surfaces, including portal windows. Keyboard focus changes the fill and foreground instead of adding an outline. The living catalog exposes this alongside the Mission appearance switch. `UserProfileMenu variant="header"` composes the canonical profile label, independent inbox/menu button and avatar. CMS puts settings inside that menu. No additional settings button or HeaderProfile wrapper is needed; spacing comes from existing HeaderProfileButton and IconButton geometry.
The shared theme supports `edges: "flat"` for borderless surfaces, including portal windows. Keyboard focus changes the fill and foreground instead of adding an outline. The living catalog exposes this alongside the Mission appearance switch. `UserProfileMenu` composes the canonical profile label, independent inbox/menu button and avatar. CMS puts settings inside that menu. No additional settings button or HeaderProfile wrapper is needed; spacing comes from existing HeaderProfileButton and IconButton geometry.
`Select variant="split" shape="pill"` aligns a compact workspace/site selector with adjacent round actions, preserving the shared dimensions and keyboard behavior.