From 1dcdeeae861e1faad9f33b8de7956cb702414005 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sat, 9 May 2026 18:12:43 +0200 Subject: [PATCH] style: consistent notice cards for server probe results --- app/setup/page.tsx | 53 +++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/app/setup/page.tsx b/app/setup/page.tsx index 7d7938a3..77c7da5c 100644 --- a/app/setup/page.tsx +++ b/app/setup/page.tsx @@ -2,6 +2,7 @@ import { useEffect, useState, type FormEvent, type ReactNode } from 'react'; import { useRouter, useSearchParams } from 'next/navigation'; +import { CheckCircle2, AlertTriangle, AlertCircle } from 'lucide-react'; import { apiFetch } from '@/lib/browser-navigation'; type State = 'bootstrap' | 'configured' | 'env-managed'; @@ -497,13 +498,13 @@ function ServerStep({ config, setConfig, onNext }: Pick {probe && probe.url === config.jmapServerUrl && ( - probe.status === 'reachable_no_jmap' ? ( -
-

{probe.message}

-

- This is OK if a reverse proxy routes JMAP traffic separately (e.g. webmail and mail server share a domain), but more often it means the URL is wrong. -

-