Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Restore flat welcome tour styling
rcourtmana7ba4206fe0a
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 653e5a2100..082505634d 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -1324,6 +1324,11 @@ without overlapping or collapsing into clipped pills. That map should read asnumbered wayfinding, not placeholder onboarding chrome: concise numeric badgesplus section titles are preferred over repeated `Stop N` copy or other fillerlabels that add noise without helping orientation.+That same welcome surface must stay inside Pulse's existing flat visual+language. The shell, step map, telemetry note, and supporting actions should+use bordered flat fills and normal app radii instead of gradient washes,+glassmorphism, or other marketing-style promo chrome that drifts from the rest+of the product.That state owner now also owns public-demo suppression: the modal must stayclosed until `sessionPresentationPolicyResolved()` is true and must fail closedwhen `presentationPolicyIsDemoMode()` resolves true, so the public demo doesdiff --git a/frontend-modern/src/components/shared/WhatsNewModal.tsx b/frontend-modern/src/components/shared/WhatsNewModal.tsxindex 1eea0ab186..f7a377bcf0 100644--- a/frontend-modern/src/components/shared/WhatsNewModal.tsx+++ b/frontend-modern/src/components/shared/WhatsNewModal.tsx@@ -83,16 +83,16 @@ export function WhatsNewModal() {aria-modal="true"aria-labelledby="whats-new-title"tabindex="-1"- class="fixed z-[1001] max-h-[min(90vh,44rem)] overflow-y-auto rounded-[1.75rem] border border-border bg-surface shadow-2xl backdrop-blur-sm focus:outline-none"+ class="fixed z-[1001] max-h-[min(90vh,44rem)] overflow-y-auto rounded-md border border-border bg-surface shadow-xl focus:outline-none"style={state.panelStyle()}onClick={(event) => event.stopPropagation()}>- <div class="flex items-start justify-between border-b border-border bg-gradient-to-r from-blue-50/90 via-surface to-slate-50/80 px-6 py-5 dark:from-blue-950/30 dark:via-surface dark:to-slate-950/40">+ <div class="flex items-start justify-between border-b border-border bg-surface px-6 py-5"><div>- <div class="inline-flex items-center rounded-full border border-blue-200 bg-white/80 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-blue-700 shadow-sm dark:border-blue-800 dark:bg-slate-950/60 dark:text-blue-200">+ <div class="inline-flex items-center rounded-full border border-border bg-surface-hover px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-muted">Guided Welcome Tour</div>- <div class="mt-3 text-xs font-semibold uppercase tracking-[0.18em] text-blue-600 dark:text-blue-300">+ <div class="mt-3 text-xs font-semibold uppercase tracking-[0.18em] text-muted">Step {state.stepIndex() + 1} of {state.stepCount()}</div><h2 id="whats-new-title" class="mt-1 text-xl font-semibold text-base-content">@@ -111,9 +111,9 @@ export function WhatsNewModal() {</div><div class="space-y-5 px-6 py-5">- <div class={`rounded-[1.5rem] border p-5 shadow-sm ${step().accent}`}>+ <div class={`rounded-md border p-4 ${step().accent}`}><div class="flex items-start gap-4">- <div class="flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-2xl bg-white/80 text-inherit shadow-sm dark:bg-slate-950/40">+ <div class="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-md border border-white/40 bg-surface text-inherit dark:border-slate-800"><WhatsNewFeatureIcon card={step()} /></div><div class="min-w-0">@@ -141,18 +141,18 @@ export function WhatsNewModal() {type="button"onClick={() => state.handleSelectStep(index())}aria-current={index() === state.stepIndex() ? 'step' : undefined}- class={`group min-h-[3.35rem] rounded-2xl border px-3.5 py-3 text-left transition-colors ${+ class={`min-h-[3.25rem] rounded-md border px-3 py-2.5 text-left transition-colors ${index() === state.stepIndex()- ? 'border-blue-300 bg-gradient-to-br from-blue-50 to-white text-blue-900 shadow-sm dark:border-blue-700 dark:from-blue-950 dark:to-slate-950 dark:text-blue-100'+ ? 'border-blue-300 bg-blue-50 text-blue-900 dark:border-blue-700 dark:bg-blue-950 dark:text-blue-100': 'border-border bg-surface-hover text-base-content hover:border-slate-300 hover:bg-surface dark:hover:border-slate-700'}`}><div class="flex items-center gap-3"><div- class={`flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full text-[11px] font-semibold font-mono ${+ class={`flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md border text-[11px] font-semibold font-mono ${index() === state.stepIndex()- ? 'bg-white/85 text-blue-700 shadow-sm dark:bg-slate-950/50 dark:text-blue-200'- : 'bg-surface text-muted'+ ? 'border-blue-200 bg-surface text-blue-700 dark:border-blue-800 dark:bg-slate-900 dark:text-blue-200'+ : 'border-border bg-surface text-muted'}`}>{String(index() + 1).padStart(2, '0')}@@ -165,9 +165,9 @@ export function WhatsNewModal() {</div></div>- <div class="rounded-[1.35rem] border border-sky-200 bg-gradient-to-br from-sky-50/95 to-white p-4 dark:border-sky-800 dark:from-sky-900/45 dark:to-slate-950">+ <div class="rounded-md border border-sky-200 bg-sky-50 p-4 dark:border-sky-800 dark:bg-sky-900/30"><div class="flex items-start gap-2.5">- <div class="mt-0.5 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-xl bg-white/70 text-sky-800 shadow-sm dark:bg-slate-950/40 dark:text-sky-100">+ <div class="mt-0.5 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md border border-sky-200 bg-surface text-sky-800 dark:border-sky-800 dark:bg-slate-900 dark:text-sky-100"><ChartBarIcon class="h-4 w-4" /></div><div>@@ -201,7 +201,7 @@ export function WhatsNewModal() {</p></div>- <div class="flex flex-col gap-3 rounded-2xl border border-border bg-surface-hover/70 p-3.5 sm:flex-row sm:items-center sm:justify-between">+ <div class="flex flex-col gap-3 rounded-md border border-border bg-surface-hover p-3.5 sm:flex-row sm:items-center sm:justify-between"><label class="flex items-center gap-2 text-sm text-muted"><inputtype="checkbox"@@ -217,7 +217,7 @@ export function WhatsNewModal() {href={WHATS_NEW_DOCS_URL}target="_blank"rel="noopener noreferrer"- class="inline-flex items-center gap-1 rounded-full border border-blue-200 bg-white px-3 py-1.5 text-sm font-medium text-blue-700 shadow-sm transition-colors hover:border-blue-300 hover:text-blue-800 dark:border-blue-900 dark:bg-slate-950 dark:text-blue-300 dark:hover:border-blue-700 dark:hover:text-blue-200"+ class="inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-sm font-medium text-base-content transition-colors hover:bg-surface-hover">{WHATS_NEW_DOCS_LABEL}<ExternalLinkIcon class="h-4 w-4" />@@ -239,13 +239,13 @@ export function WhatsNewModal() {type="button"onClick={state.handlePrevious}disabled={state.isFirstStep()}- class="rounded-xl border border-border px-3.5 py-2 text-sm font-medium text-base-content transition-colors hover:bg-surface disabled:cursor-not-allowed disabled:opacity-50"+ class="rounded-md border border-border px-3.5 py-2 text-sm font-medium text-base-content transition-colors hover:bg-surface disabled:cursor-not-allowed disabled:opacity-50">{WHATS_NEW_BACK_LABEL}</button><buttononClick={state.handleNext}- class="rounded-xl bg-blue-600 px-4 py-2 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-blue-700"+ class="rounded-md bg-blue-600 px-4 py-2 text-sm font-semibold text-white transition-colors hover:bg-blue-700"type="button">{state.isLastStep() ? WHATS_NEW_PRIMARY_ACTION_LABEL : WHATS_NEW_NEXT_LABEL}diff --git a/frontend-modern/src/components/shared/__tests__/WhatsNewModal.test.tsx b/frontend-modern/src/components/shared/__tests__/WhatsNewModal.test.tsxindex d2c0948c3e..12d0eeb62f 100644--- a/frontend-modern/src/components/shared/__tests__/WhatsNewModal.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/WhatsNewModal.test.tsx@@ -35,6 +35,8 @@ describe('WhatsNewModal', () => {expect(whatsNewModalSource).not.toContain('WHATS_NEW_NAV_V2_SHOWN');expect(whatsNewModalSource).not.toContain('Migration guide');expect(whatsNewModalSource).not.toContain('https://github.com/rcourtman/Pulse/blob/main/docs/PRIVACY.md');+ expect(whatsNewModalSource).not.toContain('bg-gradient');+ expect(whatsNewModalSource).not.toContain('backdrop-blur-sm');expect(whatsNewModalStateSource).toContain('export function useWhatsNewModalState');expect(whatsNewModalStateSource).toContain('createLocalStorageBooleanSignal');