feat: add UI conformance and launch context

This commit is contained in:
2026-08-18 21:32:25 +02:00
parent 7685a103e8
commit 8a925782ab
35 changed files with 1125 additions and 150 deletions
+3 -2
View File
@@ -82,7 +82,7 @@ export default function PageLayout({
notices,
mode = "standalone",
scrollable,
stickyHeader = true,
stickyHeader,
showHeader = true,
documentationType = "user",
className = "",
@@ -96,6 +96,7 @@ export default function PageLayout({
}: PageLayoutProps) {
const shouldScroll = scrollable ?? mode === "standalone";
const shouldInset = mode !== "embedded";
const shouldStickHeader = stickyHeader ?? mode !== "embedded";
const layoutClasses = [
"page-layout",
`page-layout-${mode}`,
@@ -120,7 +121,7 @@ export default function PageLayout({
description={description}
actions={actions}
loading={headerLoading ?? loading}
sticky={stickyHeader}
sticky={shouldStickHeader}
className={headerClassName}
/>
)}
@@ -171,8 +171,6 @@ export function UnsavedChangesProvider({ children }: {children: ReactNode;}) {
open
role="alertdialog"
title={registration.title ?? "i18n:govoplan-core.unsaved_changes.29267269"}
className="unsaved-changes-dialog"
footerClassName="unsaved-changes-actions"
closeOnBackdrop={!saving}
closeDisabled={saving}
onClose={() => setPendingAction(null)}