feat(ui): support notification history and selectable side-panel actions

This commit is contained in:
Codex
2026-11-21 20:58:23 +03:00
parent bcc121e7b2
commit bd08ac46f5
7 changed files with 73 additions and 13 deletions
+8 -4
View File
@@ -708,6 +708,7 @@
"behavior": [
"portal dropdown",
"profile identity card",
"optional pressed state and controlled region on independent header action; its selected circle and glyph use the active IconButton colors, including on hover",
"theme-independent cover",
"action links and callbacks",
"outside pointer and Escape close",
@@ -717,7 +718,8 @@
"The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.",
"Use the existing Dropdown engine so the menu is never clipped by the fixed application header.",
"Do not embed product permissions or sharing rules in the visual menu.",
"The default header composes HeaderProfileButton, an independent menu IconButton and HeaderAvatar using the existing header geometry. Application settings belong inside this menu; do not add an adjacent settings button or another HeaderProfile wrapper."
"The default header composes HeaderProfileButton, an independent menu IconButton and HeaderAvatar using the existing header geometry. Application settings belong inside this menu; do not add an adjacent settings button or another HeaderProfile wrapper.",
"Optional headerAction separates the middle icon action from the avatar/profile trigger; without it legacy behavior is preserved."
]
},
{
@@ -908,7 +910,7 @@
"nodedc-application-side-panel",
"nodedc-app-shell__end-panel"
],
"summary": "Theme-aware trailing application panel paired with AdminNavigationPanel and hosted in a separate ApplicationShell end column.",
"summary": "Theme-aware trailing application panel with optional header actions before close, hosted in a separate ApplicationShell end column.",
"anatomy": [
"eyebrow and title",
"optional description",
@@ -1013,7 +1015,8 @@
"ToastCard",
"ToastStack",
"ToastItem",
"ToastTone"
"ToastTone",
"ToastObserver"
],
"domContract": [
"nodedc-toast-viewport",
@@ -1041,7 +1044,8 @@
"Errors and status copy use the compact Toast typography; consumers do not substitute browser-default paragraphs or title-sized text.",
"Adding or updating another notification never restarts the lifetime of an existing item; each item owns its timer by stable id.",
"Loading notifications remain until the operation updates or dismisses them.",
"Status notifications never replace a blocking confirmation modal."
"Status notifications never replace a blocking confirmation modal.",
"ToastObserver reports new or changed terminal presentations to the consumer; storage and history belong to the application. Set observe=false for server-originated items already recorded in history."
]
},
{