fix(web): move chat metrics into top-bar information panel

This commit is contained in:
2026-10-21 11:01:22 +01:00
parent de987555e9
commit b9ace1db62
9 changed files with 187 additions and 21 deletions
+3
View File
@@ -516,6 +516,9 @@ export function createModalController(options = {}) {
const wasTop = index === stack.length - 1;
stack.splice(index, 1);
if (entry.panel?.parentElement) entry.panel.remove();
// Lifecycle cleanup also runs for browser Back and programmatic closeAll,
// not just the owner's Escape/backdrop request handler.
entry.options?.onClosed?.();
if (wasTop) {
const next = top();
if (next) setLowerInert(next, false);