{children}
diff --git a/frontend/src/components/IconStepStrip.jsx b/frontend/src/components/IconStepStrip.jsx
new file mode 100644
index 00000000..b4c333ad
--- /dev/null
+++ b/frontend/src/components/IconStepStrip.jsx
@@ -0,0 +1,22 @@
+import { Fragment } from 'react';
+import { ChevronRight } from 'lucide-react';
+import InfoTip from './InfoTip';
+
+// 2-4 steps: icon tile, a short label and an optional (i) with the detail.
+// steps = [{ icon: ReactNode, label: string, info?: ReactNode }]
+export default function IconStepStrip({ steps, className = '' }) {
+ return (
+
+ {steps.map((s, i) => (
+
+ {i > 0 &&
}
+
+ {s.icon}
+ {s.label}
+ {s.info && {s.info}}
+
+
+ ))}
+
+ );
+}
diff --git a/frontend/src/components/InfoTip.jsx b/frontend/src/components/InfoTip.jsx
new file mode 100644
index 00000000..d88265ab
--- /dev/null
+++ b/frontend/src/components/InfoTip.jsx
@@ -0,0 +1,49 @@
+import { useRef, useState } from 'react';
+import { Info } from 'lucide-react';
+import { Popover, PopoverTrigger, PopoverContent } from '@/components/ui/popover';
+import { t } from '../i18n/t';
+
+// An (i) button that holds the explanation a page used to print inline.
+// Mouse: hover/focus previews it. Touch, click, Enter and Space: toggles a
+// pinned popover that closes on outside tap or Escape. The panel is portalled
+// (no button-in-button) and above Modal/Sheet (.info-tip__panel z-index).
+export default function InfoTip({ children, label, side = 'top', size = 'sm', className = '' }) {
+ const [open, setOpen] = useState(false);
+ const pinned = useRef(false);
+ const hoverable = (e) => e.pointerType === 'mouse';
+
+ const onOpenChange = (next) => {
+ pinned.current = next;
+ setOpen(next);
+ };
+ const stop = (e) => e.stopPropagation();
+
+ return (
+
+
+ {/* eslint-disable-next-line no-restricted-syntax -- bare 18px glyph button; Button/IconButton add control-sized chrome and a nested Tip */}
+
+
+ e.preventDefault()}
+ onCloseAutoFocus={(e) => e.preventDefault()}
+ onClick={stop}
+ >
+ {children}
+
+
+ );
+}
diff --git a/frontend/src/components/SectionIntro.jsx b/frontend/src/components/SectionIntro.jsx
new file mode 100644
index 00000000..d4d75041
--- /dev/null
+++ b/frontend/src/components/SectionIntro.jsx
@@ -0,0 +1,11 @@
+import InfoTip from './InfoTip';
+
+// One short line with the longer explanation tucked in an (i).
+export default function SectionIntro({ children, info, className = '' }) {
+ return (
+
+ {children}
+ {info && {info}}
+
+ );
+}
diff --git a/frontend/src/components/backups/BackupsOverview.jsx b/frontend/src/components/backups/BackupsOverview.jsx
index 90a282ff..4a24e119 100644
--- a/frontend/src/components/backups/BackupsOverview.jsx
+++ b/frontend/src/components/backups/BackupsOverview.jsx
@@ -9,6 +9,7 @@ import api from '../../services/api';
import { formatBytes } from '@/utils/formatBytes';
import { KpiBand, MetricCard, Pill, DataTable, DataTableFooter } from '@/components/ds';
import EmptyState from '../EmptyState';
+import InfoTip from '../InfoTip';
import { useTranslation } from 'react-i18next';
import { formatDuration, formatNumber } from '@/utils/intl';
@@ -407,9 +408,12 @@ export default function BackupsOverview({
))}
{destinations.count === 1 && (
-
-
- {t('app.backupsOverview.everythingIsOnOneDiskAdd', 'Everything is on one disk. Add a remote destination so a dead server doesn\'t take the backups with it.')}
+
+
+
+ {t('app.backupsOverview.singleDisk', 'Single disk')}
+
+ {t('app.backupsOverview.everythingIsOnOneDiskAdd', 'Everything is on one disk. Add a remote destination so a dead server doesn\'t take the backups with it.')}
)}
diff --git a/frontend/src/components/ds/CatalogCard.jsx b/frontend/src/components/ds/CatalogCard.jsx
index af4bc3fe..606d752c 100644
--- a/frontend/src/components/ds/CatalogCard.jsx
+++ b/frontend/src/components/ds/CatalogCard.jsx
@@ -2,6 +2,7 @@ import { Star } from 'lucide-react';
import { cn } from '@/lib/utils';
import { Button } from '@/components/ui/button';
import { t } from '@/i18n/t';
+import InfoTip from '@/components/InfoTip';
/**
* The one card for things you browse to install or deploy: extensions,
@@ -21,6 +22,9 @@ import { t } from '@/i18n/t';
* />
*
*
+ * `description` lives in an (i) beside the tag, not as a paragraph; `chips`
+ * (short strings) show as a tag row in its place.
+ *
* One tag, one action. Version, author and counts go in `sub` / `facts` as
* plain text rather than as more badges.
*
@@ -35,6 +39,7 @@ export function CatalogCard({
sub,
tag,
description,
+ chips,
facts,
action,
featured = false,
@@ -78,8 +83,13 @@ export function CatalogCard({
{sub && {sub}}
{tag && {tag}}
+ {description && {description}}
- {description &&
{description}
}
+ {chips?.length > 0 && (
+
+ {chips.map((c) => {c})}
+
+ )}
{(facts || action) && (
{facts}
diff --git a/frontend/src/components/illustrations/FileIntegrityIllustration.jsx b/frontend/src/components/illustrations/FileIntegrityIllustration.jsx
new file mode 100644
index 00000000..8a98d5fe
--- /dev/null
+++ b/frontend/src/components/illustrations/FileIntegrityIllustration.jsx
@@ -0,0 +1,8 @@
+// Decorative; the surrounding text carries the meaning.
+export default function FileIntegrityIllustration() {
+ return (
+
+ );
+}
diff --git a/frontend/src/components/illustrations/LockShieldIllustration.jsx b/frontend/src/components/illustrations/LockShieldIllustration.jsx
new file mode 100644
index 00000000..c6b47b0e
--- /dev/null
+++ b/frontend/src/components/illustrations/LockShieldIllustration.jsx
@@ -0,0 +1,8 @@
+// Decorative; the surrounding text carries the meaning.
+export default function LockShieldIllustration() {
+ return (
+
+ );
+}
diff --git a/frontend/src/components/proxy/ProxyLogoTiles.jsx b/frontend/src/components/proxy/ProxyLogoTiles.jsx
new file mode 100644
index 00000000..6bc54071
--- /dev/null
+++ b/frontend/src/components/proxy/ProxyLogoTiles.jsx
@@ -0,0 +1,22 @@
+import { SiNginx, SiTraefikproxy, SiCaddy } from 'react-icons/si';
+import { t } from '../../i18n/t';
+
+// The three proxy choices as logo tiles with a one-line caption each.
+export default function ProxyLogoTiles() {
+ const items = [
+ { Icon: SiNginx, name: 'Nginx', sub: t('app.proxyLogoTiles.hostDefault', 'Host default') },
+ { Icon: SiTraefikproxy, name: 'Traefik', sub: t('app.proxyLogoTiles.dockerStack', 'Docker stack') },
+ { Icon: SiCaddy, name: 'Caddy', sub: t('app.proxyLogoTiles.dockerStack', 'Docker stack') },
+ ];
+ return (
+
+ {items.map(({ Icon, name, sub }) => (
+
+
+ {name}
+ {sub}
+
+ ))}
+
+ );
+}
diff --git a/frontend/src/components/proxy/ProxyStackPanel.jsx b/frontend/src/components/proxy/ProxyStackPanel.jsx
index b3e5ead0..65fd1d2a 100644
--- a/frontend/src/components/proxy/ProxyStackPanel.jsx
+++ b/frontend/src/components/proxy/ProxyStackPanel.jsx
@@ -6,6 +6,8 @@ import { Button } from '@/components/ui/button';
import { Textarea } from '@/components/ui/textarea';
import { Pill, SegControl, serviceStatusKind } from '../ds';
import EmptyState from '../EmptyState';
+import InfoTip from '../InfoTip';
+import ProxyLogoTiles from './ProxyLogoTiles';
import { AlertTriangle, CheckCircle2, Network } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { toastError } from '@/utils/errorMessage';
@@ -199,9 +201,10 @@ const ProxyStackPanel = ({ serverId }) => {
-
- {t('app.proxyStackPanel.hostNginxIsTheDefaultAnd', 'Host Nginx is the default and is recommended for PHP/WordPress. You can opt into a Dockerized Traefik or Caddy proxy deployed as a Compose stack.')}
-
+
+
+ {t('app.proxyStackPanel.hostNginxIsTheDefaultAnd', 'Host Nginx is the default and is recommended for PHP/WordPress. You can opt into a Dockerized Traefik or Caddy proxy deployed as a Compose stack.')}
+
{audit && audit.mismatch_count > 0 && (
@@ -301,7 +304,7 @@ const ProxyStackPanel = ({ serverId }) => {
{t('app.proxyStackPanel.theHostSNginxIsHandling', 'The host\'s Nginx is handling reverse proxying. Switch to Traefik or Caddy above to run a managed Docker proxy stack instead.')}}
/>
)}
diff --git a/frontend/src/components/security/IntegrityTab.jsx b/frontend/src/components/security/IntegrityTab.jsx
index 75de07b1..e8b3a9c2 100644
--- a/frontend/src/components/security/IntegrityTab.jsx
+++ b/frontend/src/components/security/IntegrityTab.jsx
@@ -11,6 +11,11 @@ import {
import { useTableSort } from '@/hooks/useTableSort';
import { useColumnVisibility } from '@/hooks/useColumnVisibility';
import { useTranslation } from 'react-i18next';
+import { Camera, Eye, GitCompare, ShieldOff } from 'lucide-react';
+import InfoTip from '@/components/InfoTip';
+import IconStepStrip from '@/components/IconStepStrip';
+import SectionIntro from '@/components/SectionIntro';
+import FileIntegrityIllustration from '@/components/illustrations/FileIntegrityIllustration';
import { Card as SharedCard, CardHeader as SharedCardHeader, CardContent as SharedCardContent } from '@/components/ui/card';
// Scoped file-integrity monitoring: baseline-and-diff over the paths
@@ -309,17 +314,26 @@ const IntegrityTab = () => {
: clean)}
-
+ )}
{/* These act on the SCOPE and are there whether or not the
changes list is open, so they keep their own bar; the
table's chrome rides the view line below. */}
@@ -427,21 +441,34 @@ const IntegrityTab = () => {
)}
-
- {t('app.integrityTab.baselineAndDiffMonitoringOverThe', 'Baseline-and-diff monitoring over the paths ServerKit manages. Baseline a scope, then check it (or let the scheduled sweep do it). Any added, removed or modified files are flagged and admins are notified. Accepting changes re-baselines the scope.')}
-
+
+
+
+
+ {t('app.integrityTab.headerLine', 'Detect changed config files.')}
+
+ , label: t('app.integrityTab.stepBaseline', 'Baseline'), info: t('app.integrityTab.stepBaselineInfo', 'Snapshot the current files of a scope.') },
+ { icon: , label: t('app.integrityTab.stepWatch', 'Watch'), info: t('app.integrityTab.stepWatchInfo', 'Check manually or let the scheduled sweep run.') },
+ { icon: , label: t('app.integrityTab.stepDiff', 'Diff'), info: t('app.integrityTab.stepDiffInfo', 'Added, removed or modified files are flagged and admins are notified. Accepting re-baselines.') },
+ ]}
+ />
+
{t('app.integrityTab.applicationDocroots', 'Service docroots')} {t('app.integrityTab.optIn', '· opt-in')}{' '}
+ {t('app.integrityTab.watchingADocrootHashesEveryFile', 'Watching a docroot hashes every file outside upload/cache directories, so it is opt-in per service.')}
+
-
- {t('app.integrityTab.watchingADocrootHashesEveryFile', 'Watching a docroot hashes every file outside upload/cache directories, so it is opt-in per service.')}
-
{appsError ? (
) : apps.length === 0 ? (
diff --git a/frontend/src/components/security/OverviewTab.jsx b/frontend/src/components/security/OverviewTab.jsx
index ea30c7ff..9c413c8d 100644
--- a/frontend/src/components/security/OverviewTab.jsx
+++ b/frontend/src/components/security/OverviewTab.jsx
@@ -15,7 +15,10 @@ import {
Siren,
Bug,
Radar,
+ Puzzle,
+ Bell,
} from 'lucide-react';
+import InfoTip from '@/components/InfoTip';
import { Card as SharedCard, CardHeader as SharedCardHeader, CardContent as SharedCardContent } from '@/components/ui/card';
// Status glyph per check state — paired with the label so state never relies on
@@ -196,17 +199,22 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
})}
-
+
{!hasSecurityExtensions && (
<>
- {t('app.overviewTab.moreSecurityTools', 'More security tools (malware scanning, brute-force protection, vulnerability scans, auto-updates) are available as extensions in the')}
- {' '}
- {t('app.overviewTab.marketplaceLink', 'Extensions')}
- {'. '}
+
+
+ {t('app.overviewTab.marketplaceLink', 'Extensions')}
+
+ {t('app.overviewTab.moreSecurityTools', 'More security tools (malware scanning, brute-force protection, vulnerability scans, auto-updates) are available as extensions in the Extensions marketplace.')}
>
)}
- {t('app.overviewTab.addAlertDeliveryChannelsDiscordSlack', 'Add alert delivery channels (Discord, Slack, Telegram) in Settings → Notifications.')}
-
+
+
+ {t('app.overviewTab.notificationsLink', 'Notifications')}
+
+ {t('app.overviewTab.addAlertDeliveryChannelsDiscordSlack', 'Add alert delivery channels (Discord, Slack, Telegram) in Settings → Notifications.')}
+
diff --git a/frontend/src/components/serverdetail/ServerSettingsTab.jsx b/frontend/src/components/serverdetail/ServerSettingsTab.jsx
index 8627202c..d36fcce8 100644
--- a/frontend/src/components/serverdetail/ServerSettingsTab.jsx
+++ b/frontend/src/components/serverdetail/ServerSettingsTab.jsx
@@ -5,6 +5,7 @@ import { useToast } from '../../contexts/useToast.js';
import { useConfirm } from '../../hooks/useConfirm';
import CopyField from '@/components/CopyField';
import { InfoList, InfoItem } from '../InfoList';
+import InfoTip from '../InfoTip';
import { DangerZone } from '../DangerZone';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
@@ -45,12 +46,13 @@ const AgentRegistrationSection = ({ server, onRegenerateToken }) => {
{t('app.serverSettingsTab.connectionString', 'Connection string')}
+
{t('app.serverSettingsTab.generateAFreshConnectionStringTo', 'Generate a fresh connection string to pair (or re-pair) this server. Useful after reinstalling the agent: old credentials are gone, but a new string brings the agent right back to this row.')}
{isOnline && ` ${t('app.serverSettingsTab.onlineRegenerateNote', 'This server is online now; a new string only affects re-pairing.')}`}
{isExpired && ` ${t('app.serverSettingsTab.previousTokenExpired', 'The previous token has expired.')}`}
-
+
+
{t('app.serverSettingsTab.pairOrRepair', 'Pair or re-pair this server.')}