From c98fe537d3a5e8509a57361a397862992ac78513 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 21 Oct 2025 11:09:59 +0000 Subject: [PATCH] fix: improve alert activation messaging for clarity and friendliness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace harsh/technical language with clearer, more positive messaging: BEFORE → AFTER: - "No alert violations detected during observation yet" → "All systems healthy — no alerts triggered" - "Monitoring is live; notifications will start after..." → "Monitoring is active. Review your settings..." - "24h observation ending" → "24-hour setup period ending soon" - "Review alerts before activating" → "Ready to activate notifications" - "breached thresholds" → "triggered" - "violations" → "alerts" Key improvements: - Removed jargon: "observation window", "during observation" - Removed ominous language: "yet", harsh "violations" - More conversational: "You'll receive" vs "will dispatch to configured destinations" - Positive framing: "All systems healthy" vs absence-focused language - Clearer actions: "turning on alerts" vs "enabling notifications" - Enthusiastic success messages: "Notifications activated!" with exclamation Affected components: - ActivationBanner.tsx: 4 text improvements - ActivationModal.tsx: 5 text improvements Impact: Better first-run UX, less intimidating language, clearer call-to-action --- .../src/components/Alerts/ActivationBanner.tsx | 8 ++++---- .../src/components/Alerts/ActivationModal.tsx | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend-modern/src/components/Alerts/ActivationBanner.tsx b/frontend-modern/src/components/Alerts/ActivationBanner.tsx index ecfec49..6f3b04a 100644 --- a/frontend-modern/src/components/Alerts/ActivationBanner.tsx +++ b/frontend-modern/src/components/Alerts/ActivationBanner.tsx @@ -34,10 +34,10 @@ export function ActivationBanner(props: ActivationBannerProps): JSX.Element { const observationSummary = createMemo(() => { const count = violationCount(); if (count <= 0) { - return 'No alert violations detected during observation yet.'; + return 'All systems healthy — no alerts triggered.'; } const label = count === 1 ? 'issue' : 'issues'; - return `${count} ${label} detected during observation.`; + return `${count} ${label} detected.`; }); const handleReview = async () => { @@ -76,12 +76,12 @@ export function ActivationBanner(props: ActivationBannerProps): JSX.Element {

- Monitoring is live; notifications will start after you review settings. + Monitoring is active. Review your settings to enable notifications.

{observationSummary()}

- 24h observation ending—activate to start notifications. + 24-hour setup period ending soon — activate to start receiving notifications.

diff --git a/frontend-modern/src/components/Alerts/ActivationModal.tsx b/frontend-modern/src/components/Alerts/ActivationModal.tsx index f68c4ef..937e40b 100644 --- a/frontend-modern/src/components/Alerts/ActivationModal.tsx +++ b/frontend-modern/src/components/Alerts/ActivationModal.tsx @@ -163,13 +163,13 @@ export function ActivationModal(props: ActivationModalProps): JSX.Element { if (success) { await props.refreshActiveAlerts(); - showSuccess('Alert notifications activated. Notifications will now dispatch to configured destinations.'); + showSuccess('Notifications activated! You'll now receive alerts when issues are detected.'); if (props.onActivated) { await props.onActivated(); } props.onClose(); } else { - showError('Failed to activate alert notifications. Please try again.'); + showError('Unable to activate notifications. Please try again.'); } setIsSubmitting(false); @@ -188,9 +188,9 @@ export function ActivationModal(props: ActivationModalProps): JSX.Element {
-

Review alerts before activating

+

Ready to activate notifications

- Monitoring is already running. Confirm thresholds and destinations before enabling notifications. + Review your alert thresholds and notification channels before turning on alerts.