fix(ui): make the shared three-part profile the canonical header
This commit is contained in:
+10
-1
@@ -113,5 +113,14 @@ UI preferences belong to browser-local storage; site content and deployment
|
||||
credentials stay in the existing CMS model. Immutable npm snapshots retain
|
||||
package semver and are identified by source commit plus archive SHA-256.
|
||||
|
||||
CMS uses `UserProfileMenu variant="header"`: profile label, menu icon, avatar.
|
||||
CMS uses `UserProfileMenu`: profile label, menu icon, avatar.
|
||||
The menu opens settings; the application does not add a fourth action.
|
||||
|
||||
|
||||
Device Core and CMS share the complete `UserProfileMenu` header, not local copies.
|
||||
The reference composition is the existing rounded profile group in Launcher/Hub
|
||||
and Engine (`EnginePlatformHeader.tsx` / `TopBar.tsx`); its reusable geometry is
|
||||
already in AppHeader, HeaderProfileButton, IconButton and HeaderAvatar. The owner
|
||||
confirmed the order profile → inbox → avatar and settings inside the middle
|
||||
icon's menu on 2026-11-05. No application CSS overrides are needed.
|
||||
Device Core retains session identity, profile URL, permissions and logout actions.
|
||||
|
||||
+8
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user