Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Restore intended opacity classes Tailwind 3 never rendered

rcourtman95a231bca6ad
diff --git a/frontend-modern/browser-verification/a60c4eedb1d29238.json b/frontend-modern/browser-verification/a60c4eedb1d29238.json
new file mode 100644
index 0000000000..5406525ac2
--- /dev/null
+++ b/frontend-modern/browser-verification/a60c4eedb1d29238.json
@@ -0,0 +1,63 @@
+{
+ "version": 1,
+ "base_sha": "beb6c3f6a6f3fad74a1b9f76745bacdadcab7834",
+ "verified_at": "2026-10-03T18:30:37Z",
+ "result": "passed",
+ "changed_paths": [
+ "frontend-modern/src/components/AI/Chat/index.tsx",
+ "frontend-modern/src/components/Settings/AIModelSelectionSection.tsx",
+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",
+ "frontend-modern/src/components/Settings/RolesPanel.tsx",
+ "frontend-modern/src/components/Settings/SettingsPageShell.tsx",
+ "frontend-modern/src/components/Workloads/StackedDiskBar.tsx",
+ "frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx",
+ "frontend-modern/src/pages/Actions.tsx"
+ ],
+ "content_sha256": {
+ "frontend-modern/src/components/AI/Chat/index.tsx": "27d3bd9fbdb86c7f6048b29a65d6bac41308f4650ebb7da1b7072a0fec5522e5",
+ "frontend-modern/src/components/Settings/AIModelSelectionSection.tsx": "c94ce3d2b8c4c47bf8b07699bdbd98e9f009feb77bebc7bb81dc24f784248f87",
+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx": "c0eff8e2c786a3baa45c22d0c7118ed55ad1d52b33f8e06692b7c3222431db96",
+ "frontend-modern/src/components/Settings/RolesPanel.tsx": "f8b1cb3a8e47e2815c3978ef07239699cb60989a8ecacd93024178896f6211de",
+ "frontend-modern/src/components/Settings/SettingsPageShell.tsx": "18a195c4c71a939ae17bba3136854f6419c5cbc6c8acb6e62d003d016b0dec74",
+ "frontend-modern/src/components/Workloads/StackedDiskBar.tsx": "be53a9d0c349a54516b29de58bf8e6fb28af6ea9f8028965591aa3cb960a851d",
+ "frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx": "3c4883dcd79af1ecea3c7e967de8a05797c5ffd360e873dbb8550f0632708438",
+ "frontend-modern/src/pages/Actions.tsx": "9ce58a091378c5edc1469f3ad496194668d6d743a217aa43bed6d7ab9c508dcb"
+ },
+ "routes": [
+ "/settings/security-data-handling",
+ "/settings/security-roles",
+ "/settings/system-ai",
+ "/proxmox",
+ "/proxmox/backups/coverage",
+ "/actions",
+ "/alerts/thresholds",
+ "/patrol"
+ ],
+ "viewports": [
+ {
+ "width": 1440,
+ "height": 900
+ },
+ {
+ "width": 390,
+ "height": 844
+ }
+ ],
+ "states": [
+ "light and dark color schemes on a private mock stack with a dev Pro licence; each restored class toggled off and on in one page load for before/after",
+ "Resource Privacy at 390px scrolled under the sticky Settings header: body text no longer shows through (bg-surface/95)",
+ "Resource Privacy Internal meter at 59% renders a slate-400 fill instead of an empty track",
+ "Proxmox backups coverage filter chips: Unknown shows a grey status dot like its siblings",
+ "Assistant session picker in dark mode: section header divider is border-border/60 instead of a bright gray-200 line",
+ "Assistant model-route chips and Patrol model readiness card markup in dark mode: border-current borders replace bright gray-200",
+ "Roles table at 390px with rbac capability and roles intercepted: custom-role rows 53px like built-in rows with 44px Edit and Delete targets; 28px buttons on desktop",
+ "Alerts thresholds mobile card: Cancel threshold edits renders 44x44 like Save, Edit and Delay",
+ "Patrol decision detail at 390px: Copy ID 44px tall in a row already 44px from Open resource"
+ ],
+ "interactions": [
+ "scrolled the app scroll shell under the Settings phone header",
+ "hovered an Actions row and a node disk segment",
+ "opened the Assistant, sent a message and opened the sessions picker",
+ "opened a Patrol decision and a threshold edit on the phone layout"
+ ]
+}
diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsx
index 18e44ec7cc..d802df385e 100644
--- a/frontend-modern/src/components/AI/Chat/index.tsx
+++ b/frontend-modern/src/components/AI/Chat/index.tsx
@@ -4567,7 +4567,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
<For each={sessionPickerSections()}>
{(section) => (
<>
- <div class="sticky top-0 z-10 border-b bg-surface-alt px-3 py-1.5 text-[11px] font-semibold text-muted">
+ <div class="sticky top-0 z-10 border-b border-border/60 bg-surface-alt px-3 py-1.5 text-[11px] font-semibold text-muted">
{section.title}
</div>
<For each={section.sessions}>
@@ -4879,7 +4879,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
<button
type="button"
onClick={switchToProviderReadinessAlternative}
- class="inline-flex max-w-44 items-center gap-1.5 rounded-md border bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
+ class="inline-flex max-w-44 items-center gap-1.5 rounded-md border border-current/20 bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
aria-label={providerReadinessAlternativeButtonLabel()}
title={alternative().label}
>
@@ -4893,7 +4893,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
type="button"
onClick={retrySelectedProviderReadiness}
disabled={providerReadiness().status === 'checking'}
- class="inline-flex items-center gap-1.5 rounded-md border bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-60"
+ class="inline-flex items-center gap-1.5 rounded-md border border-current/20 bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-60"
aria-label="Retry route check"
>
<RefreshCwIcon class="h-3.5 w-3.5" />
@@ -4901,7 +4901,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
</button>
<a
href={AI_CHAT_PROVIDER_READINESS_SETTINGS_HREF}
- class="inline-flex items-center gap-1.5 rounded-md border bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
+ class="inline-flex items-center gap-1.5 rounded-md border border-current/20 bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
>
<SettingsIcon class="h-3.5 w-3.5" />
<span>{AI_CHAT_PROVIDER_READINESS_SETTINGS_LABEL}</span>
@@ -4910,7 +4910,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
<button
type="button"
onClick={() => setProviderReadinessVisible(false)}
- class="inline-flex items-center gap-1.5 rounded-md border bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
+ class="inline-flex items-center gap-1.5 rounded-md border border-current/20 bg-surface px-2 py-1 text-[10px] font-medium text-base-content hover:bg-surface-hover"
aria-label="Hide route status"
>
<XIcon class="h-3.5 w-3.5" />
@@ -5114,7 +5114,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
<Show when={autonomousWarningVisible()}>
<div
class={`flex min-h-8 min-w-0 items-center gap-2 px-2.5 py-1.5 text-xs text-red-700 dark:text-red-200 ${
- currentStatus() ? 'border-t ' : ''
+ currentStatus() ? 'border-t border-border/70' : ''
}`}
role="status"
aria-label="Assistant chat actions warning"
@@ -5149,7 +5149,9 @@ export const AIChat: Component<AIChatProps> = (props) => {
<Show when={activityDockQueuedFollowUpCount() > 0}>
<div
class={`px-2.5 py-1.5 ${
- currentStatus() || autonomousWarningVisible() ? 'border-t ' : ''
+ currentStatus() || autonomousWarningVisible()
+ ? 'border-t border-border/70'
+ : ''
}`}
role="status"
aria-label="Queued follow-up messages"
diff --git a/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx b/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx
index 824c159422..c1c863e213 100644
--- a/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx
+++ b/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx
@@ -312,7 +312,7 @@ export const PatrolModelReadinessControl: Component<{ state: AISettingsState }>
)}
</For>
</div>
- <div class="mt-2 border-t pt-2">
+ <div class="mt-2 border-t border-current/15 pt-2">
<p class="text-[11px] font-medium mb-1">Autonomy suitability</p>
<div class="grid gap-1 sm:grid-cols-2">
<For each={modeRows()}>
diff --git a/frontend-modern/src/components/Settings/DataHandlingPanel.tsx b/frontend-modern/src/components/Settings/DataHandlingPanel.tsx
index 402b36df44..cd875b6556 100644
--- a/frontend-modern/src/components/Settings/DataHandlingPanel.tsx
+++ b/frontend-modern/src/components/Settings/DataHandlingPanel.tsx
@@ -21,7 +21,7 @@ import {
} from './dataHandlingPanelModel';
const meterClassByTone: Record<DataHandlingPostureItem['tone'], string> = {
- neutral: '',
+ neutral: 'bg-slate-400',
info: 'bg-sky-500 dark:bg-sky-400',
success: 'bg-emerald-500 dark:bg-emerald-400',
warning: 'bg-amber-500 dark:bg-amber-400',
diff --git a/frontend-modern/src/components/Settings/RolesPanel.tsx b/frontend-modern/src/components/Settings/RolesPanel.tsx
index f26b9cf56f..c63796477e 100644
--- a/frontend-modern/src/components/Settings/RolesPanel.tsx
+++ b/frontend-modern/src/components/Settings/RolesPanel.tsx
@@ -112,7 +112,7 @@ export const RolesPanel: Component = () => {
label="Edit role"
tone="accent"
size="sm"
- class="min-h-11 min-w-11 sm:min-h-0 sm:min-w-0"
+ class="-my-2 min-h-11 min-w-11 sm:my-0 sm:min-h-0 sm:min-w-0"
onClick={() => state.openEditRole(role)}
>
<Pencil class="w-4 h-4" />
@@ -121,7 +121,7 @@ export const RolesPanel: Component = () => {
label="Delete role"
tone="danger"
size="sm"
- class="min-h-11 min-w-11 sm:min-h-0 sm:min-w-0"
+ class="-my-2 min-h-11 min-w-11 sm:my-0 sm:min-h-0 sm:min-w-0"
onClick={() => state.handleDeleteRole(role)}
>
<Trash2 class="w-4 h-4" />
diff --git a/frontend-modern/src/components/Settings/SettingsPageShell.tsx b/frontend-modern/src/components/Settings/SettingsPageShell.tsx
index c82af0533b..8472889769 100644
--- a/frontend-modern/src/components/Settings/SettingsPageShell.tsx
+++ b/frontend-modern/src/components/Settings/SettingsPageShell.tsx
@@ -263,7 +263,7 @@ export const SettingsPageShell: Component<SettingsPageShellProps> = (props) => {
class={`min-w-0 flex-1 overflow-visible lg:overflow-hidden ${props.isMobileMenuOpen() ? 'hidden lg:block' : 'block'}`}
>
<Show when={props.flatTabs().length > 0}>
- <div class="sticky top-0 z-40 flex min-h-12 items-center border-b border-border-subtle px-2 backdrop-blur-sm lg:hidden">
+ <div class="sticky top-0 z-40 flex min-h-12 items-center border-b border-border-subtle bg-surface/95 px-2 backdrop-blur-sm lg:hidden">
<button
type="button"
onClick={() => {
diff --git a/frontend-modern/src/components/Settings/__tests__/RBACPaywallPanels.test.tsx b/frontend-modern/src/components/Settings/__tests__/RBACPaywallPanels.test.tsx
index ac1f37aaca..991b00183e 100644
--- a/frontend-modern/src/components/Settings/__tests__/RBACPaywallPanels.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/RBACPaywallPanels.test.tsx
@@ -179,8 +179,19 @@ describe('RBAC paywall settings panels', () => {
render(() => <RolesPanel />);
const edit = await screen.findByRole('button', { name: 'Edit role' });
- expect(edit).toHaveClass('min-h-11', 'min-w-11', 'sm:min-h-0', 'sm:min-w-0');
+ // The negative margin keeps the 44px phone target inside the row's
+ // existing height, so custom roles line up with built-in ones.
+ expect(edit).toHaveClass(
+ '-my-2',
+ 'min-h-11',
+ 'min-w-11',
+ 'sm:my-0',
+ 'sm:min-h-0',
+ 'sm:min-w-0',
+ );
expect(screen.getByRole('button', { name: 'Delete role' })).toHaveClass(
+ '-my-2',
+ 'sm:my-0',
'min-h-11',
'min-w-11',
'sm:min-h-0',
diff --git a/frontend-modern/src/components/Workloads/StackedDiskBar.tsx b/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
index d50486f26b..46c6d86628 100644
--- a/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
+++ b/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
@@ -200,7 +200,7 @@ export function StackedDiskBar(props: StackedDiskBarProps) {
<For each={presentation().verticalBars}>
{(bar) => (
<div
- class="group/disk relative h-full w-[5px] shrink-0 cursor-help overflow-hidden rounded-xs bg-surface-hover ring-1 ring-transparent transition-[transform,box-shadow,ring-color] duration-100 hover:scale-y-[1.08]"
+ class="group/disk relative h-full w-[5px] shrink-0 cursor-help overflow-hidden rounded-xs bg-surface-hover ring-1 ring-transparent transition-[transform,box-shadow,ring-color] duration-100 hover:scale-y-[1.08] hover:ring-base-content/30"
title={bar.title}
>
<div
diff --git a/frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx b/frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx
index 4534c53816..6fb3b924ac 100644
--- a/frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx
+++ b/frontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsx
@@ -128,7 +128,7 @@ export const COVERAGE_FILTERS: FilterOption<CoverageFilterValue>[] = [
{
value: 'unknown',
label: 'Unknown',
- leading: filterChipStatusDot(''),
+ leading: filterChipStatusDot('bg-base-content/40'),
},
];
diff --git a/frontend-modern/src/pages/Actions.tsx b/frontend-modern/src/pages/Actions.tsx
index c9775c9ecc..63db3cfc9d 100644
--- a/frontend-modern/src/pages/Actions.tsx
+++ b/frontend-modern/src/pages/Actions.tsx
@@ -294,7 +294,7 @@ export function Actions() {
<button
type="button"
aria-label={`Review ${title()} on ${action.request.resourceId}, ${state().label}`}
- class={`group w-full border-l-2 px-3 py-3 text-left transition-colors focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-blue-500 sm:px-4 ${state().accentClass}`}
+ class={`group w-full border-l-2 px-3 py-3 text-left transition-colors hover:bg-surface-hover focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-blue-500 sm:px-4 ${state().accentClass}`}
onClick={() => openAction(action)}
>
<div class="flex items-center gap-3">