From 7e4f1f474e4121e7965e95df6560ffa6ffe466da Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 22 Apr 2026 10:30:35 +0100 Subject: [PATCH] Add persistent TLS bypass warning banners --- .../CredentialSlots/TrueNASCredentialSlot.tsx | 7 + .../CredentialSlots/VMwareCredentialSlot.tsx | 7 + .../__tests__/settingsArchitecture.test.ts | 14 + .../SharedPrimitives.guardrails.test.ts | 9 + .../shared/TlsVerificationWarningBanner.tsx | 28 ++ .../TlsVerificationWarningBanner.test.tsx | 29 ++ .../AlertAppriseDestinationsSection.tsx | 8 + .../pages/__tests__/Alerts.helpers.test.ts | 6 + ...7-tls-verification-warning-banners.spec.ts | 301 ++++++++++++++++++ 9 files changed, 409 insertions(+) create mode 100644 frontend-modern/src/components/shared/TlsVerificationWarningBanner.tsx create mode 100644 frontend-modern/src/components/shared/__tests__/TlsVerificationWarningBanner.test.tsx create mode 100644 tests/integration/tests/67-tls-verification-warning-banners.spec.ts diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx index f8a18cd7d..8ed082019 100644 --- a/frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx +++ b/frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx @@ -7,6 +7,7 @@ import { formLabel, formSelect, } from '@/components/shared/Form'; +import { TlsVerificationWarningBanner } from '@/components/shared/TlsVerificationWarningBanner'; import { MonitoredSystemAdmissionPreview } from '../../MonitoredSystemAdmissionPreview'; import type { TrueNASConnection } from '@/api/truenas'; import type { TrueNASSettingsPanelState } from '../../useTrueNASSettingsPanelState'; @@ -191,6 +192,12 @@ export const TrueNASCredentialSlot: Component = (pro Optional certificate pin for HTTPS connections.
+ + +
+ + +