From 6775c4618ee732aa6d9c37dc26bc3ed54d74a632 Mon Sep 17 00:00:00 2001 From: Juan Denis Date: Thu, 5 Nov 2026 18:26:04 -0500 Subject: [PATCH] feat(ui): calmer Security Firewall, SSH keys and Audit empty states Short one-line copy with details behind an (i) InfoTip, matching Domains/Cron/SSL. --- frontend/src/components/security/AuditTab.jsx | 9 ++++++++- frontend/src/components/security/FirewallTab.jsx | 7 ++++++- frontend/src/components/security/SSHKeysTab.jsx | 9 ++++++++- frontend/src/i18n/locales/ar.json | 1 - frontend/src/i18n/locales/bn.json | 1 - frontend/src/i18n/locales/de.json | 1 - frontend/src/i18n/locales/en.json | 11 ++++++++--- frontend/src/i18n/locales/es.json | 1 - frontend/src/i18n/locales/fr.json | 1 - frontend/src/i18n/locales/id.json | 1 - frontend/src/i18n/locales/it.json | 1 - frontend/src/i18n/locales/ko.json | 1 - frontend/src/i18n/locales/pl.json | 1 - frontend/src/i18n/locales/pt.json | 1 - frontend/src/i18n/locales/ru.json | 1 - frontend/src/i18n/locales/th.json | 1 - frontend/src/i18n/locales/tr.json | 1 - frontend/src/i18n/locales/vi.json | 1 - frontend/src/i18n/locales/zh-Hans.json | 1 - frontend/src/i18n/locales/zh-Hant.json | 1 - 20 files changed, 30 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/security/AuditTab.jsx b/frontend/src/components/security/AuditTab.jsx index 5dcee3ed..bdbc4849 100644 --- a/frontend/src/components/security/AuditTab.jsx +++ b/frontend/src/components/security/AuditTab.jsx @@ -4,6 +4,7 @@ import { ClipboardCheck } from 'lucide-react'; import api from '../../services/api'; import EmptyState from '@/components/EmptyState'; import ErrorState from '@/components/ErrorState'; +import InfoTip from '@/components/InfoTip'; import { Button } from '@/components/ui/button'; import { ScoreGauge } from '@/components/ds'; import { useTranslation } from 'react-i18next'; @@ -59,7 +60,13 @@ const AuditTab = () => { {!audit && !loading && !error && ( + {t('app.auditTab.checkThisServersSecurityPosture', "Check this server's security posture.")} + {t('app.auditTab.runASecurityAuditToCheck', "Run a security audit to check your server's configuration and get a score with findings to fix.")} + + )} /> )} diff --git a/frontend/src/components/security/FirewallTab.jsx b/frontend/src/components/security/FirewallTab.jsx index 4dcb0194..24d0480f 100644 --- a/frontend/src/components/security/FirewallTab.jsx +++ b/frontend/src/components/security/FirewallTab.jsx @@ -454,7 +454,12 @@ const FirewallTab = () => { + {t('app.firewallTab.blockUnwantedTrafficAtTheEdge', 'Block unwanted traffic at the edge.')} + {t('app.firewallTab.installAFirewallToProtectYour', 'Install a firewall to protect your server from unauthorized access. You can do it whenever you are ready.')} + + )} action={(