diff --git a/backend/app/services/dashboard_service.py b/backend/app/services/dashboard_service.py index fb2949b5..c7fefa90 100644 --- a/backend/app/services/dashboard_service.py +++ b/backend/app/services/dashboard_service.py @@ -52,13 +52,14 @@ MAX_WIDGETS_PER_BOARD = 100 # A board can also hold the Overview layout a user saved for a page: one kind # of detail page (every server page shares the user's server layout, the # page's own server being the board's variable) or a single overview page -# (Monitoring, Backups). It is an ordinary board row whose slug names the +# (Monitoring, Backups, Security). It is an ordinary board row whose slug names the # page, so it reuses the same storage, validation and ownership rules; it is # just never listed among the dashboard tabs. ENTITY_SCOPE_PREFIX = 'entity:' ENTITY_SCOPES = ( 'entity:server', 'entity:service', - 'entity:monitoring', 'entity:backups', + 'entity:workspace', + 'entity:monitoring', 'entity:backups', 'entity:security', ) diff --git a/backend/tests/test_dashboards.py b/backend/tests/test_dashboards.py index 6cc9ba81..64dc127d 100644 --- a/backend/tests/test_dashboards.py +++ b/backend/tests/test_dashboards.py @@ -486,7 +486,8 @@ def test_overview_layout_is_stored_but_is_not_a_dashboard_tab(client, auth_heade @pytest.mark.parametrize('scope', [ - 'entity:server', 'entity:service', 'entity:monitoring', 'entity:backups', + 'entity:server', 'entity:service', 'entity:workspace', + 'entity:monitoring', 'entity:backups', 'entity:security', ]) def test_overview_layout_is_empty_until_saved(client, auth_headers, scope): resp = client.get(f'/api/v1/dashboards?scope={scope}', headers=auth_headers) diff --git a/frontend/src/components/backups/BackupsOverview.jsx b/frontend/src/components/backups/BackupsOverview.jsx index b1ba0e59..0695d360 100644 --- a/frontend/src/components/backups/BackupsOverview.jsx +++ b/frontend/src/components/backups/BackupsOverview.jsx @@ -7,7 +7,7 @@ import { } from 'lucide-react'; import api from '../../services/api'; import { formatBytes } from '@/utils/formatBytes'; -import { KpiBand, MetricCard, Pill, DataTable, DataTableFooter } from '@/components/ds'; +import { MetricCard, Pill, DataTable, DataTableFooter } from '@/components/ds'; import EmptyState from '../EmptyState'; import InfoTip from '../InfoTip'; import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard'; @@ -103,6 +103,8 @@ const LATEST_COLUMNS = [ // "is my data safe?", not "show me every file". // Dashboard widget types the Backups overview can carry besides its blocks. const BACKUPS_WIDGET_TYPES = ['note']; +// Board rows a KPI tile takes: value, label and its sub line. +const KPI_TILE_ROWS = 3; export default function BackupsOverview({ stats, storageConfig, costSummary, schedules = [], backups = [], onGo, storageWarning = false, @@ -259,8 +261,9 @@ export default function BackupsOverview({ return (
- - + {/* One block per KPI: each is its own tile on the board, never a + section holding a strip of them. */} + } @@ -271,6 +274,8 @@ export default function BackupsOverview({ {protection.detail || t('app.backupsOverview.fromTheBackupArchive', 'from the backup archive')}
+ + } @@ -281,6 +286,8 @@ export default function BackupsOverview({ {t('app.backupsOverview.acrossDestinations', { count: destinations.count, defaultValue_one: 'across 1 destination', defaultValue_other: 'across {{count}} destinations' })} + + = 99 ? 'green' : successRate >= 90 ? 'amber' : 'red'} icon={} @@ -292,6 +299,8 @@ export default function BackupsOverview({ {finished30.length ? t('app.backupsOverview.runsLast30Days', { count: finished30.length, defaultValue_one: '1 run · last 30 days', defaultValue_other: '{{count}} runs · last 30 days' }) : t('app.backupsOverview.noRunsRecordedYet', 'no runs recorded yet')} + + } @@ -306,7 +315,6 @@ export default function BackupsOverview({ - diff --git a/frontend/src/components/dashboard/grid/WidgetFrame.jsx b/frontend/src/components/dashboard/grid/WidgetFrame.jsx index 2c56d355..4a3918ec 100644 --- a/frontend/src/components/dashboard/grid/WidgetFrame.jsx +++ b/frontend/src/components/dashboard/grid/WidgetFrame.jsx @@ -50,6 +50,9 @@ export function WidgetFrame({ const className = [ 'skw-frame', + // A bare widget is its own card (a KPI tile): no header outside edit + // mode, where the header is still needed as the drag handle. + type?.bare && 'skw-frame--bare', edit && 'skw-frame--edit', selected && 'skw-frame--selected', ].filter(Boolean).join(' '); diff --git a/frontend/src/components/detail/OverviewBoard.jsx b/frontend/src/components/detail/OverviewBoard.jsx index 8867b875..0979b808 100644 --- a/frontend/src/components/detail/OverviewBoard.jsx +++ b/frontend/src/components/detail/OverviewBoard.jsx @@ -60,6 +60,11 @@ const isSectionWidget = (widget) => String(widget?.type || '').startsWith(SECTIO // id, title, icon, w (of 12 columns), h (board rows, see BOARD_ROW) // placed in the default layout unless false // lead placed ahead of the board's leading dashboard widgets (a notice) +// tile the block is one KPI tile: its frame is the tile's card, with no +// header of its own outside edit mode. A row of KPIs is a row of +// these, each movable on its own — never one section holding a strip. +// replaces id of a retired section this one was split out of, so a saved +// layout that still names the old block gets the new ones in its place export function OverviewSection() { return null; } @@ -71,6 +76,7 @@ function SectionWidget({ widget, ctx }) { const slotRef = useRef(null); const host = ctx.sectionHosts.get(widget.cfg?.section); const { adoptVersion, releaseSection } = ctx; + const tile = !!getWidgetType(ctx.types, widget.type)?.bare; // Take the section's element whenever it is free to take (first mount, or // after another frame showing the same section let go of it). @@ -85,7 +91,13 @@ function SectionWidget({ widget, ctx }) { return () => releaseSection(host); }, [host, releaseSection]); - return
; + return ( +
+ ); } const NO_WIDGET_TYPES = []; @@ -144,7 +156,9 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi // Everything about the sections that shapes the board (not their content, // which re-renders through the portals below on every pass). const sectionSignature = sections - .map((section) => [section.id, section.title, section.w, section.h, section.placed, section.lead].join(':')) + .map((section) => [ + section.id, section.title, section.w, section.h, section.placed, section.lead, section.tile, section.replaces, + ].join(':')) .join('|'); // The same descriptors object for as long as the signature holds, so the // memos below depend on a real value instead of re-running every render. @@ -152,7 +166,9 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi if (metaRef.current.signature !== sectionSignature) { metaRef.current = { signature: sectionSignature, - meta: sections.map(({ id, title, icon, w, h, placed, lead }) => ({ id, title, icon, w, h, placed, lead })), + meta: sections.map(({ id, title, icon, w, h, placed, lead, tile, replaces }) => ( + { id, title, icon, w, h, placed, lead, tile, replaces } + )), }; } const sectionMeta = metaRef.current.meta; @@ -199,10 +215,12 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi desc: section.title, w: section.w || 6, h: section.h || 3, - min: [3, 2], + min: section.tile ? [2, 2] : [3, 2], defaultCfg: { section: section.id }, component: SectionWidget, section: section.id, + // A tile is its own card: WidgetFrame drops the header outside edit mode. + bare: !!section.tile, })); // Dashboard widgets keep their size on the finer rows. const shared = registered.filter((type) => widgetTypeIds.includes(type.id)).map((type) => ({ @@ -229,10 +247,32 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi }, [kind, sectionMeta, leading]); // Drop anything a saved layout references that this page no longer offers. - const sanitize = useCallback( - (widgets) => widgets.filter((widget) => getWidgetType(types, widget.type)), - [types], - ); + // A page block that was split into smaller ones (`replaces`) is swapped for + // them, so a saved layout keeps what the old block showed. + const sanitize = useCallback((widgets) => { + const kept = widgets.filter((widget) => getWidgetType(types, widget.type)); + const retired = widgets.filter((widget) => isSectionWidget(widget) && !getWidgetType(types, widget.type)); + if (!retired.length) return kept; + const onBoard = new Set(kept.filter(isSectionWidget).map((widget) => widget.cfg?.section)); + retired.forEach((old) => { + sectionMeta + .filter((section) => section.replaces === old.cfg?.section && !onBoard.has(section.id)) + .forEach((section) => { + const w = section.w || 6; + const h = section.h || 3; + kept.push({ + i: nextWidgetId(kept), + type: sectionTypeId(kind, section.id), + ...findFreeSpot(kept, w, h), + w, + h, + cfg: { section: section.id }, + }); + onBoard.add(section.id); + }); + }); + return compact(kept); + }, [types, sectionMeta, kind]); // ---- persistence -------------------------------------------------------- // `board` is the saved row, null while the user is on the shipped layout, diff --git a/frontend/src/components/monitoring/MonitoringOverview.jsx b/frontend/src/components/monitoring/MonitoringOverview.jsx index d8564ca5..a822a756 100644 --- a/frontend/src/components/monitoring/MonitoringOverview.jsx +++ b/frontend/src/components/monitoring/MonitoringOverview.jsx @@ -5,14 +5,15 @@ import { } from 'lucide-react'; import api from '../../services/api'; import { formatBytes } from '@/utils/formatBytes'; -import { AreaChart, KpiBand, MetricCard, Pill, Sparkline } from '@/components/ds'; +import { AreaChart, MetricCard, Pill, Sparkline } from '@/components/ds'; import { Button } from '@/components/ui/button'; import { Skeleton } from '../Skeleton'; -import MonitorsSummary from './MonitorsSummary'; +import { LiveChecks, MonitorKpi, MonitorsList } from './MonitorsSummary'; import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard'; import DiskReclaimModal from './DiskReclaimModal'; import { HOST_SCOPE, useScopeMetrics, trendOf } from './useMonitorScope'; import { useTranslation } from 'react-i18next'; +import { translateLabel } from '@/i18n/labels'; import { formatDateTime } from '@/utils/intl'; const PERIODS = ['1h', '6h', '24h', '7d']; @@ -49,6 +50,24 @@ function last(series) { // Dashboard widget types the Monitoring overview can carry besides its blocks. const MONITORING_WIDGET_TYPES = ['stat', 'gauge', 'timeseries', 'specs', 'note']; +// Board rows a KPI tile takes: enough for value, label, a sub line and the +// sparkline under them. +const KPI_TILE_ROWS = 3; + +const MONITOR_KPI_BLOCKS = [ + { metric: 'availability', labelKey: 'app.monitorsSummary.availability30d', label: 'Availability (30d)' }, + { metric: 'response', labelKey: 'app.monitorsSummary.avgResponse', label: 'Avg response' }, + { metric: 'down', labelKey: 'app.monitorsSummary.monitorsDown', label: 'Monitors down' }, + { metric: 'degraded', labelKey: 'app.monitorsSummary.degraded', label: 'Degraded' }, +]; + +// Board rows for the monitor list and the live check feed: five rows of each +// without scrolling. +const LIST_BLOCK_ROWS = 9; + +// Block ids for the four host readings, in tile order. +const HOST_TILE_IDS = ['host-cpu', 'host-memory', 'host-disk', 'host-extra']; + export default function MonitoringOverview({ scope, isHost, scopeLabel, status, activeAlerts = [], speedTest, speedTestRunning, onRunSpeedTest, @@ -209,28 +228,44 @@ export default function MonitoringOverview({ {/* Monitors first: "is the site up" is the question this page is for, and everything below describes the machines ServerKit runs on rather than the things it is watching. */} - - + {MONITOR_KPI_BLOCKS.map((block) => ( + + + + ))} + + + - - {/* The shared DS tile, not a monitoring-only copy of it — same - geometry as every other KPI strip in the panel, plus the - sparkline slot this page needed. */} - - {tiles.map((tile) => { - const numeric = Number(tile.value); - const alerting = tile.limit != null && !Number.isNaN(numeric) && numeric > tile.limit; - const trend = trendOf(tile.spark); - return ( + + + + + {/* One block per reading, each the shared DS tile. The fourth + slot is the scope's own question (load on the host, containers + on an agent), so it keeps one id whichever it shows. */} + {tiles.map((tile, index) => { + const numeric = Number(tile.value); + const alerting = tile.limit != null && !Number.isNaN(numeric) && numeric > tile.limit; + const trend = trendOf(tile.spark); + return ( + } value={tile.value} unit={tile.unit || undefined} - label={tile.label} + label={translateLabel(t, tile)} trend={trend == null ? undefined : ( <> {trend > 0 ? : } @@ -264,10 +299,9 @@ export default function MonitoringOverview({ )} - ); - })} - - + + ); + })}
diff --git a/frontend/src/components/monitoring/MonitorsSummary.jsx b/frontend/src/components/monitoring/MonitorsSummary.jsx index dab528be..2a106a8e 100644 --- a/frontend/src/components/monitoring/MonitorsSummary.jsx +++ b/frontend/src/components/monitoring/MonitorsSummary.jsx @@ -1,13 +1,12 @@ -// The monitor half of the Monitoring overview: availability KPIs, the live -// check feed and the monitor table. +// The monitor half of the Monitoring overview, as separate board blocks: one +// tile per availability KPI, the monitor list and the live check feed. Each is +// its own , so it can be moved, resized or removed on its own. // -// This is what the page was missing — everything else on Overview describes the -// machines ServerKit runs on, and nothing described the things it is supposed to -// be watching. Host health stays below; this sits above it because "is the site -// up" is the question the page is actually for. +// Everything else on Overview describes the machines ServerKit runs on; these +// sit above it because "is the site up" is the question the page is for. import { Link, useNavigate } from 'react-router-dom'; import { Activity, Plus, Radar, ShieldAlert, Timer, Zap } from 'lucide-react'; -import { AreaChart, KpiBand, MetricCard, Pill } from '@/components/ds'; +import { AreaChart, MetricCard, Pill } from '@/components/ds'; import { Button } from '@/components/ui/button'; import { monitorStateOf } from './monitorShared'; import { useTranslation } from 'react-i18next'; @@ -25,10 +24,74 @@ function relativeTime(iso) { return `${Math.floor(seconds / 3600)}h ago`; } -export default function MonitorsSummary({ summary }) { +// One availability KPI: `metric` is availability | response | down | degraded. +// Renders nothing while no monitor exists, so its block leaves the layout. + +export function MonitorKpi({ summary, metric }) { const { t } = useTranslation(); const navigate = useNavigate(); - const { monitors, stats, feed, loadError, load } = summary; + const { monitors, stats } = summary; + if (!monitors.length) return null; + const open = () => navigate('/monitoring/monitors'); + + if (metric === 'availability') { + return ( + } + value={stats?.overall_uptime_30d != null ? `${stats.overall_uptime_30d}%` : '—'} + onClick={open} + /> + ); + } + if (metric === 'down') { + return ( + } + value={stats?.down ?? 0} + onClick={open} + /> + ); + } + if (metric === 'degraded') { + return ( + } + value={stats?.degraded ?? 0} + onClick={open} + /> + ); + } + + const responseTimes = monitors + .filter((m) => m.last_response_time != null && !m.is_paused) + .map((m) => m.last_response_time); + const avgResponse = responseTimes.length + ? Math.round(responseTimes.reduce((a, b) => a + b, 0) / responseTimes.length) + : null; + // The busiest monitor's recent latency stands in for "how are we doing" — + // averaging series of different lengths across monitors would be a lie. + const leadSpark = monitors.reduce( + (best, m) => ((m.spark?.length || 0) > (best?.spark?.length || 0) ? m : best), + null, + ); + + return ( + } + value={avgResponse ?? '—'} unit={avgResponse != null ? 'ms' : undefined} + spark={leadSpark?.spark?.length > 1 ? ( + + ) : undefined} + /> + ); +} + +// The watched monitors. Also where "nothing is watched yet" +// and a failed load are said, since this is the block that would list them. +export function MonitorsList({ summary }) { + const { t } = useTranslation(); + const navigate = useNavigate(); + const { monitors, loadError, load } = summary; // A failed fetch with nothing loaded is not "nothing is being watched". if (loadError && !monitors.length) { @@ -63,123 +126,90 @@ export default function MonitorsSummary({ summary }) { ); } - const responseTimes = monitors - .filter((m) => m.last_response_time != null && !m.is_paused) - .map((m) => m.last_response_time); - const avgResponse = responseTimes.length - ? Math.round(responseTimes.reduce((a, b) => a + b, 0) / responseTimes.length) - : null; - // The busiest monitor's recent latency stands in for "how are we doing" — - // averaging series of different lengths across monitors would be a lie. - const leadSpark = monitors.reduce( - (best, m) => ((m.spark?.length || 0) > (best?.spark?.length || 0) ? m : best), - null, - ); - return ( -
- - } - value={stats?.overall_uptime_30d != null ? `${stats.overall_uptime_30d}%` : '—'} - onClick={() => navigate('/monitoring/monitors')} - /> - } - value={avgResponse ?? '—'} unit={avgResponse != null ? 'ms' : undefined} - spark={leadSpark?.spark?.length > 1 ? ( - - ) : undefined} - /> - } - value={stats?.down ?? 0} - onClick={() => navigate('/monitoring/monitors')} - /> - } - value={stats?.degraded ?? 0} - onClick={() => navigate('/monitoring/monitors')} - /> - - -
-
-
-
-

{t('app.monitorsSummary.monitors', 'Monitors')}

- {monitors.length} watched -
- -
-
- {monitors.slice(0, 8).map((monitor) => { - const state = monitorStateOf(monitor); - return ( - - - {monitor.name} - - {monitor.check_type} · {monitor.check_target || t('app.monitorsSummary.boundSite', 'bound site')} - - - - {monitor.last_response_time == null ? '—' : `${monitor.last_response_time} ms`} - - {state.label} - - ); - })} -
-
- -
-
-
-

{t('app.monitorsSummary.liveChecks', 'Live checks')}

- {t('app.monitorsSummary.mostRecentResults', 'Most recent results')} -
-
- {feed.length === 0 ? ( -

- {t('app.monitorsSummary.noChecksRecordedYetTheScheduler', "No checks recorded yet. The scheduler polls on each monitor's interval.")} -

- ) : ( -
- {feed.map((monitor) => { - const state = monitorStateOf(monitor); - const ok = state.key === 'up'; - return ( - - - {ok ? 'ok' : state.label.toLowerCase()} - - - {monitor.name} - - {relativeTime(monitor.last_check_at)} - - - - {monitor.last_response_time == null ? 'fail' : `${monitor.last_response_time}ms`} - - - ); - })} -
- )} -
+
+
+
+

{t('app.monitorsSummary.monitors', 'Monitors')}

+ {monitors.length} watched +
+
-
+
+ {monitors.slice(0, 8).map((monitor) => { + const state = monitorStateOf(monitor); + return ( + + + {monitor.name} + + {monitor.check_type} · {monitor.check_target || t('app.monitorsSummary.boundSite', 'bound site')} + + + + {monitor.last_response_time == null ? '—' : `${monitor.last_response_time} ms`} + + {state.label} + + ); + })} +
+
+ ); +} + +// The most recent check results across every monitor. +export function LiveChecks({ summary }) { + const { t } = useTranslation(); + const { monitors, feed } = summary; + if (!monitors.length) return null; + + return ( +
+
+
+

{t('app.monitorsSummary.liveChecks', 'Live checks')}

+ {t('app.monitorsSummary.mostRecentResults', 'Most recent results')} +
+
+ {feed.length === 0 ? ( +

+ {t('app.monitorsSummary.noChecksRecordedYetTheScheduler', "No checks recorded yet. The scheduler polls on each monitor's interval.")} +

+ ) : ( +
+ {feed.map((monitor) => { + const state = monitorStateOf(monitor); + const ok = state.key === 'up'; + return ( + + + {ok ? 'ok' : state.label.toLowerCase()} + + + {monitor.name} + + {relativeTime(monitor.last_check_at)} + + + + {monitor.last_response_time == null ? 'fail' : `${monitor.last_response_time}ms`} + + + ); + })} +
+ )} +
); } diff --git a/frontend/src/components/security/OverviewTab.jsx b/frontend/src/components/security/OverviewTab.jsx index d48011eb..a425af2c 100644 --- a/frontend/src/components/security/OverviewTab.jsx +++ b/frontend/src/components/security/OverviewTab.jsx @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom'; import api from '../../services/api'; import { useContributions } from '@/plugins/contributions'; import { Button } from '@/components/ui/button'; -import { Pill, ScoreGauge, KpiBand, MetricCard } from '@/components/ds'; +import { Pill, ScoreGauge, MetricCard } from '@/components/ds'; import { useTranslation } from 'react-i18next'; import useMediaQuery from '../../hooks/useMediaQuery'; import { @@ -18,14 +18,20 @@ import { Radar, Puzzle, Bell, + ListChecks, } from 'lucide-react'; import InfoTip from '@/components/InfoTip'; -import { Card as SharedCard, CardHeader as SharedCardHeader, CardContent as SharedCardContent } from '@/components/ui/card'; +import { translateLabel } from '@/i18n/labels'; +import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard'; // Status glyph per check state — paired with the label so state never relies on // color alone (color-blind operators), per the product a11y bar. const STATE_ICON = { pass: CheckCircle2, warn: AlertTriangle, unknown: Circle }; +// Board rows: a KPI tile (the score block shares the row), and the checks list. +const KPI_TILE_ROWS = 3; +const CHECKS_ROWS = 6; + const OverviewTab = ({ status, onRefresh, onNavigateTab }) => { const { t } = useTranslation(); const phone = useMediaQuery('(max-width: 640px)'); // = $breakpoint-sm @@ -127,14 +133,10 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
{error &&
{error}
} - - -

{t('app.overviewTab.securityPosture', 'Security posture')}

- -
- + {/* The posture as separate board blocks: the score, one tile per + live count, then the checks behind the score. */} + +
{score !== null ? ( @@ -144,7 +146,6 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => { {t('app.overviewTab.computing', 'Computing…')}
)} -

{score === null @@ -157,23 +158,24 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => { defaultValue_other: '{{count}} checks need attention.', })}

- - {kpis.map((k) => { - const Icon = k.icon; - return ( - } - tone={k.tone} - value={k.value} - label={k.label} - /> - ); - })} - +
+
+ {kpis.map((k) => { + const Icon = k.icon; + const label = translateLabel(t, k); + return ( + + } tone={k.tone} value={k.value} label={label} /> + + ); + })} + +
{checks.map((c) => { const Icon = STATE_ICON[c.state]; @@ -217,8 +219,8 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => { {t('app.overviewTab.addAlertDeliveryChannelsDiscordSlack', 'Add alert delivery channels (Discord, Slack, Telegram) in Settings → Notifications.')}
- - +
+
); }; diff --git a/frontend/src/components/serverdetail/ServerOverviewTab.jsx b/frontend/src/components/serverdetail/ServerOverviewTab.jsx index d8775652..360733c3 100644 --- a/frontend/src/components/serverdetail/ServerOverviewTab.jsx +++ b/frontend/src/components/serverdetail/ServerOverviewTab.jsx @@ -1,5 +1,5 @@ import { serverStatusKind } from './serverDetailData'; -import { Pill, KpiBand, MetricCard, Gauge } from '../ds'; +import { Pill, MetricCard, Gauge } from '../ds'; import OnboardingWizard from '../server/OnboardingWizard'; import SystemStatusCard from './SystemStatusCard'; import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard'; @@ -46,6 +46,8 @@ const SERVER_LEADING_WIDGETS = [ // Usage thresholds for the CPU / memory / disk tiles. const USAGE_DANGER_PERCENT = 85; const USAGE_WARN_PERCENT = 70; +// Board rows a KPI tile takes: value, label, a meter and its sub line. +const KPI_TILE_ROWS = 3; // A percent tile on the shared MetricCard: the value, a thin meter and the // capacity line underneath. Same tile the service overview's KPI band uses. @@ -136,47 +138,53 @@ const ServerOverviewTab = ({ server, metrics, systemInfo, onRefreshServer }) => )} - {/* The agent's live readings (no history needed). Offered in - the block library; the default layout opens with the - dashboard's metric widgets instead. */} - - - } - tone={isOnline ? 'green' : server.status === 'connecting' ? 'amber' : 'red'} - value={statusLabel.charAt(0).toUpperCase() + statusLabel.slice(1)} - label={t('common.labels.status', 'Status')} - /> - } - tone="accent" - value={isOnline ? formatUptime(metrics?.uptime) : '—'} - label={t('common.labels.uptime', 'Uptime')} - > - {isOnline && metrics?.uptime ?
{t('app.serverOverviewTab.sinceLastBoot', 'since last boot')}
: null} -
- } - label="CPU" - percent={isOnline ? metrics?.cpu_percent : null} - color="var(--accent-bright)" - sub={cpuCores ? `${cpuCores} cores` : null} - /> - } - label={t('common.labels.memory', 'Memory')} - percent={isOnline ? metrics?.memory_percent : null} - color="var(--cyan)" - sub={totalMemory ? formatBytes(totalMemory) : null} - /> - } - label={t('common.labels.disk', 'Disk')} - percent={isOnline ? metrics?.disk_percent : null} - color="var(--green)" - sub={totalDisk ? formatBytes(totalDisk) : null} - /> -
+ {/* The agent's live readings (no history needed), one tile + each. Offered in the block library; the default layout + opens with the dashboard's metric widgets instead. */} + + } + tone={isOnline ? 'green' : server.status === 'connecting' ? 'amber' : 'red'} + value={statusLabel.charAt(0).toUpperCase() + statusLabel.slice(1)} + label={t('common.labels.status', 'Status')} + /> + + + } + tone="accent" + value={isOnline ? formatUptime(metrics?.uptime) : '—'} + label={t('common.labels.uptime', 'Uptime')} + > + {isOnline && metrics?.uptime ?
{t('app.serverOverviewTab.sinceLastBoot', 'since last boot')}
: null} +
+
+ + } + label="CPU" + percent={isOnline ? metrics?.cpu_percent : null} + color="var(--accent-bright)" + sub={cpuCores ? `${cpuCores} cores` : null} + /> + + + } + label={t('common.labels.memory', 'Memory')} + percent={isOnline ? metrics?.memory_percent : null} + color="var(--cyan)" + sub={totalMemory ? formatBytes(totalMemory) : null} + /> + + + } + label={t('common.labels.disk', 'Disk')} + percent={isOnline ? metrics?.disk_percent : null} + color="var(--green)" + sub={totalDisk ? formatBytes(totalDisk) : null} + /> diff --git a/frontend/src/components/workspaces/WorkspaceOverviewTab.jsx b/frontend/src/components/workspaces/WorkspaceOverviewTab.jsx index 94381593..852cb34d 100644 --- a/frontend/src/components/workspaces/WorkspaceOverviewTab.jsx +++ b/frontend/src/components/workspaces/WorkspaceOverviewTab.jsx @@ -1,31 +1,40 @@ -import { KpiBand, MetricCard } from '@/components/ds'; +import { MetricCard } from '@/components/ds'; import { Server, Boxes, Globe, Users } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { InfoList, InfoItem } from '../InfoList'; +import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard'; +// Board rows a KPI tile takes: a count and its label. +const KPI_TILE_ROWS = 2; + +// The workspace's Overview tab on the overview board: its facts, then one tile +// per resource count. One layout per user, shared by every workspace page. const WorkspaceOverviewTab = ({ ws, since, members, srvIn, services, sites }) => { const { t } = useTranslation(); return ( -
-
-

{t('common.labels.workspace', 'Workspace')}

+ + + } tone="accent" value={srvIn.length} label={t('common.labels.servers', 'Servers')} /> + + + } tone="accent" value={services.length} label={t('common.labels.services', 'Services')} /> + + + } tone="accent" value={sites.length} label={t('app.workspaceOverviewTab.sites', 'Sites')} /> + + + } tone="accent" value={members.length} label={t('app.workspaceOverviewTab.members', 'Members')} /> + + + 0 ? ws.max_servers : t('app.workspaceOverviewTab.unlimited', 'Unlimited')} /> 0 ? ws.max_users : t('app.workspaceOverviewTab.unlimited', 'Unlimited')} /> -
-
-

{t('app.workspaceOverviewTab.resources', 'Resources')}

- - } tone="accent" value={srvIn.length} label={t('common.labels.servers', 'Servers')} /> - } tone="accent" value={services.length} label={t('common.labels.services', 'Services')} /> - } tone="accent" value={sites.length} label={t('app.workspaceOverviewTab.sites', 'Sites')} /> - } tone="accent" value={members.length} label={t('app.workspaceOverviewTab.members', 'Members')} /> - -
-
+
+ ); }; diff --git a/frontend/src/i18n/locales/ar.json b/frontend/src/i18n/locales/ar.json index 204f2e85..0b5df0ce 100644 --- a/frontend/src/i18n/locales/ar.json +++ b/frontend/src/i18n/locales/ar.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "فشل إيقاف مشروع compose.", "couldntUpdateProject": "فشل تحديث مشروع compose.", "dockerComposeUpD": "عامل ميناء يؤلف -d", - "filterProjectOrConfigPath": "تصفية المشروع أو مسار التكوين...", "imagesPulled": "الصور سحبت", "lines": "الخطوط:", "loadingComposeProjects": "جارٍ تحميل مشاريع الإنشاء...", @@ -1441,7 +1440,6 @@ "exec": "تنفيذي", "exec3": "المدير التنفيذي: {{value}}", "executeCommandsInContainer": "تنفيذ الأوامر في الحاوية", - "filterNameImageOrId": "اسم الفلتر أو الصورة أو المعرف...", "health": "صحة", "hostPort": "منفذ المضيف", "image": "صورة", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "فشلت إزالة الصورة. قد يكون قيد الاستخدام بواسطة حاوية.", - "filterRepositoryTagOrId": "مستودع التصفية أو العلامة أو المعرف...", "imageName": "اسم الصورة *", "imageRemovedSuccessfully": "تمت إزالة الصورة بنجاح", "loadingImages": "جارٍ تحميل الصور...", @@ -3954,7 +3951,6 @@ "cpuUsage": "استخدام وحدة المعالجة المركزية", "diskUsage": "استخدام القرص", "down": "تحت", - "hostHealth": "صحة المضيف", "latency": "كمون", "loadAverage": "متوسط التحميل", "loadingMetrics": "جارٍ تحميل المقاييس", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "إنشاء الشبكات متاح فقط على هدف Docker المحلي في الوقت الحالي", "driver": "سائق", "failedToRemoveNetworkItMay": "فشل في إزالة الشبكة. قد يكون قيد الاستخدام.", - "filterNameOrId": "اسم المرشح أو معرفه...", "loadingNetworks": "جارٍ تحميل الشبكات...", "networkName": "اسم الشبكة *", "networkRemovedSuccessfully": "تمت إزالة الشبكة بنجاح", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "إنشاء وحدات التخزين متاح فقط على هدف Docker المحلي في الوقت الحالي", "driver": "سائق", "failedToRemoveVolumeItMay": "فشل في إزالة وحدة التخزين. قد يكون قيد الاستخدام.", - "filterNameOrMountpoint": "اسم الفلتر أو نقطة التثبيت...", "loadingVolumes": "جارٍ تحميل وحدات التخزين...", "mountpoint": "نقطة التثبيت", "noMatchingVolumes": "لا توجد وحدات تخزين مطابقة", @@ -7897,7 +7891,6 @@ "maxServers": "خوادم ماكس", "maxUsers": "ماكس المستخدمين", "members": "أعضاء", - "resources": "موارد", "sites": "مواقع", "slug": "سبيكة", "unlimited": "غير محدود" diff --git a/frontend/src/i18n/locales/bn.json b/frontend/src/i18n/locales/bn.json index ab945648..ff8d184d 100644 --- a/frontend/src/i18n/locales/bn.json +++ b/frontend/src/i18n/locales/bn.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "compose প্রকল্প থামাতে ব্যর্থ হয়েছে।", "couldntUpdateProject": "compose প্রকল্প আপডেট করতে ব্যর্থ হয়েছে।", "dockerComposeUpD": "ডকার কম্পোজ আপ -d", - "filterProjectOrConfigPath": "ফিল্টার প্রকল্প বা কনফিগার পাথ...", "imagesPulled": "ইমেজ পুল করা হয়েছে", "lines": "লাইন:", "loadingComposeProjects": "রচনা প্রকল্প লোড হচ্ছে...", @@ -1441,7 +1440,6 @@ "exec": "Exec", "exec3": "Exec: {{value}}", "executeCommandsInContainer": "কন্টেইনারে কমান্ড চালান", - "filterNameImageOrId": "ফিল্টার নাম, ছবি বা আইডি...", "health": "স্বাস্থ্য", "hostPort": "হোস্ট পোর্ট", "image": "ইমেজ", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "ছবি সরাতে ব্যর্থ হয়েছে৷ এটি একটি ধারক দ্বারা ব্যবহার করা হতে পারে.", - "filterRepositoryTagOrId": "ফিল্টার রিপোজিটরি, ট্যাগ বা আইডি...", "imageName": "ইমেজের নাম *", "imageRemovedSuccessfully": "ইমেজ মুছে ফেলা হয়েছে", "loadingImages": "ইমেজ লোড হচ্ছে...", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU ব্যবহার", "diskUsage": "ডিস্ক ব্যবহার", "down": "নিচে", - "hostHealth": "হোস্ট স্বাস্থ্য", "latency": "লেটেন্সি", "loadAverage": "লোড গড়", "loadingMetrics": "মেট্রিক্স লোড হচ্ছে", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "নেটওয়ার্ক তৈরি করা শুধুমাত্র স্থানীয় Docker লক্ষ্যে উপলব্ধ", "driver": "ড্রাইভার", "failedToRemoveNetworkItMay": "নেটওয়ার্ক সরাতে ব্যর্থ হয়েছে৷ এটি ব্যবহার হতে পারে।", - "filterNameOrId": "ফিল্টার নাম বা আইডি...", "loadingNetworks": "নেটওয়ার্ক লোড হচ্ছে...", "networkName": "নেটওয়ার্কের নাম *", "networkRemovedSuccessfully": "নেটওয়ার্ক সফলভাবে সরানো হয়েছে", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "ভলিউম তৈরি করা শুধুমাত্র স্থানীয় Docker টার্গেটে উপলব্ধ", "driver": "ড্রাইভার", "failedToRemoveVolumeItMay": "ভলিউম সরাতে ব্যর্থ হয়েছে৷ এটি ব্যবহার হতে পারে।", - "filterNameOrMountpoint": "ফিল্টার নাম বা মাউন্টপয়েন্ট...", "loadingVolumes": "ভলিউম লোড হচ্ছে...", "mountpoint": "মাউন্টপয়েন্ট", "noMatchingVolumes": "কোনো মিলে যাওয়া ভলিউম নেই", @@ -7897,7 +7891,6 @@ "maxServers": "সর্বোচ্চ সার্ভার", "maxUsers": "সর্বোচ্চ ব্যবহারকারী", "members": "সদস্যরা", - "resources": "সম্পদ", "sites": "সাইট", "slug": "স্লাগ", "unlimited": "সীমাহীন" diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index d73ed24d..fd22a483 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Das Compose-Projekt konnte nicht gestoppt werden.", "couldntUpdateProject": "Das Compose-Projekt konnte nicht aktualisiert werden.", "dockerComposeUpD": "Docker komponieren -d", - "filterProjectOrConfigPath": "Projekt- oder Konfigurationspfad filtern…", "imagesPulled": "Images abgerufen", "lines": "Zeilen:", "loadingComposeProjects": "Compose-Projekte werden geladen...", @@ -1441,7 +1440,6 @@ "exec": "Geschäftsführer", "exec3": "Exec: {{value}}", "executeCommandsInContainer": "Befehle im Container ausführen", - "filterNameImageOrId": "Name, Bild oder ID filtern…", "health": "Gesundheit", "hostPort": "Host-Port", "image": "Image", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Das Bild konnte nicht entfernt werden. Es kann von einem Container verwendet werden.", - "filterRepositoryTagOrId": "Repository, Tag oder ID filtern …", "imageName": "Image-Name *", "imageRemovedSuccessfully": "Image erfolgreich entfernt", "loadingImages": "Images werden geladen...", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU-Auslastung", "diskUsage": "Festplattennutzung", "down": "Runter", - "hostHealth": "Host-Zustand", "latency": "Latenz", "loadAverage": "Durchschnittliche Belastung", "loadingMetrics": "Messwerte werden geladen", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Das Erstellen von Netzwerken ist derzeit nur auf dem lokalen Docker-Ziel verfügbar", "driver": "Fahrer", "failedToRemoveNetworkItMay": "Netzwerk konnte nicht entfernt werden. Möglicherweise wird es verwendet.", - "filterNameOrId": "Name oder ID filtern…", "loadingNetworks": "Netzwerke werden geladen...", "networkName": "Netzwerkname *", "networkRemovedSuccessfully": "Netzwerk erfolgreich entfernt", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Das Erstellen von Volumes ist derzeit nur auf dem lokalen Docker-Ziel verfügbar", "driver": "Fahrer", "failedToRemoveVolumeItMay": "Das Volume konnte nicht entfernt werden. Möglicherweise wird es verwendet.", - "filterNameOrMountpoint": "Filtername oder Mountpoint…", "loadingVolumes": "Volumes werden geladen...", "mountpoint": "Mountpoint", "noMatchingVolumes": "Keine passenden Volumes", @@ -7897,7 +7891,6 @@ "maxServers": "Maximale Anzahl an Servern", "maxUsers": "Max. Benutzer", "members": "Mitglieder", - "resources": "Ressourcen", "sites": "Websites", "slug": "Schnecke", "unlimited": "Unbegrenzt" diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index a8806247..d085560d 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -768,7 +768,6 @@ "acrossDestinations_one": "across 1 destination", "acrossDestinations_other": "across {{count}} destinations", "allSnapshots": "All backups", - "atAGlance": "At a glance", "backupActivity": "Backup activity", "backupCompleted": "Backup completed ·", "backupFailed": "Couldn't back up ·", @@ -1059,7 +1058,6 @@ "couldntStopProject": "Couldn't stop the compose project.", "couldntUpdateProject": "Couldn't update the compose project.", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "Filter compose project or config path…", "imagesPulled": "Images pulled", "lines": "Lines:", "loadingComposeProjects": "Loading compose projects…", @@ -1073,6 +1071,7 @@ "projectStarted": "Compose project started", "projectStopped": "Compose project stopped", "pullImages": "Pull images", + "searchProjects": "Search compose projects…", "service": "Service:", "stopComposeProject": "Stop Compose project", "stopThisComposeProjectContainersWill": "Stop this compose project? Containers will be removed." @@ -1481,7 +1480,6 @@ "exec": "Exec", "exec3": "Exec: {{value}}", "executeCommandsInContainer": "Execute commands in container", - "filterNameImageOrId": "Filter name, image, or ID…", "health": "Health", "hostPort": "Host port", "image": "Image", @@ -1516,6 +1514,7 @@ "running": "Running…", "runningNewContainersIsOnlyAvailable": "Running new containers is only available on the panel server right now", "runtime": "Runtime", + "searchContainers": "Search containers…", "serverkitSystemContainerManagedByThe": "ServerKit system container: managed by the panel, so lifecycle controls are disabled", "systemContainer": "System container", "systemSkipped_one": "1 system container skipped", @@ -3210,7 +3209,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Couldn't delete the image. A container may still use it.", - "filterRepositoryTagOrId": "Filter repository, tag, or ID…", "imageName": "Image name *", "imageRemovedSuccessfully": "Image deleted", "loadingImages": "Loading images…", @@ -3218,6 +3216,7 @@ "noImages": "No images", "noImagesMatchTheCurrentSearch": "No images match the current search.", "noMatchingImages": "No matching images", + "pull": "Pull", "pullAnImageToSeeIt": "Pull an image to see it here.", "pullImage": "Pull image", "pulling": "Pulling…", @@ -3225,6 +3224,7 @@ "removeImage2": "Delete image", "removeThisImage": "Delete this image?", "repository": "Repository", + "searchImages": "Search images…", "tag": "Tag" }, "importDumpModal": { @@ -4102,7 +4102,6 @@ "cpuUsage": "CPU usage", "diskUsage": "Disk usage", "down": "Down", - "hostHealth": "Host health", "latency": "Latency", "loadAverage": "Load average", "loadingHosts": "Loading hosts", @@ -4193,7 +4192,6 @@ "creatingNetworksIsOnlyAvailableOn": "Creating networks is only available on the panel server right now", "driver": "Driver", "failedToRemoveNetworkItMay": "Couldn't delete the network. A container may still use it.", - "filterNameOrId": "Filter name or ID…", "loadingNetworks": "Loading networks…", "networkName": "Network name *", "networkRemovedSuccessfully": "Network deleted", @@ -4204,6 +4202,7 @@ "removeNetwork2": "Delete network", "removeThisNetwork": "Delete this network?", "scope": "Scope", + "searchNetworks": "Search networks…", "shipsWithTheDockerDaemonIt": "Ships with the Docker daemon, so it cannot be deleted" }, "newService": { @@ -4418,6 +4417,7 @@ "environment": "Environment", "fileIntegrityMonitoringEnabled": "File integrity monitoring enabled", "fixWorking": "Working…", + "hardeningChecks": "Hardening checks", "hints": "Hints", "inactive": "Inactive", "initializeBaseline": "Initialize baseline", @@ -5680,7 +5680,6 @@ "group": "Group", "hostname": "Hostname", "lastSeen": "Last seen", - "liveStatus": "Live status", "operatingSystem": "Operating system", "serverInformation": "Server information", "serverOffline": "Server offline", @@ -8028,7 +8027,6 @@ "creatingVolumesIsOnlyAvailableOn": "Creating volumes is only available on the panel server right now", "driver": "Driver", "failedToRemoveVolumeItMay": "Couldn't delete the volume. A container may still use it.", - "filterNameOrMountpoint": "Filter name or mountpoint…", "loadingVolumes": "Loading volumes…", "mountpoint": "Mountpoint", "noMatchingVolumes": "No matching volumes", @@ -8037,6 +8035,7 @@ "removeThisVolumeAllDataWill": "Delete this volume? All data will be lost.", "removeVolume": "Delete volume", "removeVolume2": "Delete volume", + "searchVolumes": "Search volumes…", "volumeName": "Volume name *", "volumeRemovedSuccessfully": "Volume deleted" }, @@ -8361,7 +8360,6 @@ "maxServers": "Max servers", "maxUsers": "Max users", "members": "Members", - "resources": "Resources", "sites": "Sites", "slug": "Slug", "unlimited": "Unlimited" diff --git a/frontend/src/i18n/locales/es.json b/frontend/src/i18n/locales/es.json index b1e1ab7b..c0c120c6 100644 --- a/frontend/src/i18n/locales/es.json +++ b/frontend/src/i18n/locales/es.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "No se pudo detener el proyecto de Compose.", "couldntUpdateProject": "No se pudo actualizar el proyecto de Compose.", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "Filtrar por proyecto o ruta de configuración…", "imagesPulled": "Imágenes descargadas", "lines": "Líneas:", "loadingComposeProjects": "Cargando proyectos de Compose...", @@ -1441,7 +1440,6 @@ "exec": "Ejecutar", "exec3": "Ejecutar: {{value}}", "executeCommandsInContainer": "Ejecutar comandos en el contenedor", - "filterNameImageOrId": "Filtrar por nombre, imagen o ID…", "health": "Salud", "hostPort": "Puerto del host", "image": "Imagen", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "No se pudo eliminar la imagen. Puede que esté en uso por un contenedor.", - "filterRepositoryTagOrId": "Filtrar por repositorio, etiqueta o ID…", "imageName": "Nombre de la imagen *", "imageRemovedSuccessfully": "Imagen eliminada correctamente", "loadingImages": "Cargando imágenes...", @@ -3955,7 +3952,6 @@ "cpuUsage": "Uso de CPU", "diskUsage": "Uso de disco", "down": "Caído", - "hostHealth": "Salud del host", "latency": "Latencia", "loadAverage": "Carga promedio", "loadingMetrics": "Cargando métricas", @@ -4042,7 +4038,6 @@ "creatingNetworksIsOnlyAvailableOn": "Por ahora, crear redes solo está disponible en el destino Docker local", "driver": "Driver", "failedToRemoveNetworkItMay": "No se pudo quitar la red. Puede que esté en uso.", - "filterNameOrId": "Filtrar por nombre o ID…", "loadingNetworks": "Cargando redes...", "networkName": "Nombre de la red *", "networkRemovedSuccessfully": "Red quitada correctamente", @@ -7567,7 +7562,6 @@ "creatingVolumesIsOnlyAvailableOn": "Por ahora, la creación de volúmenes solo está disponible en el destino Docker local", "driver": "Driver", "failedToRemoveVolumeItMay": "No se pudo quitar el volumen. Puede que esté en uso.", - "filterNameOrMountpoint": "Filtrar por nombre o punto de montaje…", "loadingVolumes": "Cargando volúmenes…", "mountpoint": "Punto de montaje", "noMatchingVolumes": "No hay volúmenes que coincidan", @@ -7898,7 +7892,6 @@ "maxServers": "Máx. servidores", "maxUsers": "Máx. usuarios", "members": "Miembros", - "resources": "Recursos", "sites": "Sitios", "slug": "Slug", "unlimited": "Ilimitado" diff --git a/frontend/src/i18n/locales/fr.json b/frontend/src/i18n/locales/fr.json index 17609968..f52b4065 100644 --- a/frontend/src/i18n/locales/fr.json +++ b/frontend/src/i18n/locales/fr.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Impossible d'arrêter le projet compose.", "couldntUpdateProject": "Impossible de mettre à jour le projet compose.", "dockerComposeUpD": "docker compose -d", - "filterProjectOrConfigPath": "Filtrer le chemin du projet ou de la configuration…", "imagesPulled": "Images extraites", "lines": "Lignes :", "loadingComposeProjects": "Chargement des projets de composition...", @@ -1441,7 +1440,6 @@ "exec": "Exécutif", "exec3": "Exécutif : {{value}}", "executeCommandsInContainer": "Exécuter des commandes dans le conteneur", - "filterNameImageOrId": "Filtrer le nom, l’image ou l’identifiant…", "health": "Santé", "hostPort": "Port de l'hôte", "image": "Image", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Échec de la suppression de l'image. Il peut être utilisé par un conteneur.", - "filterRepositoryTagOrId": "Filtrer le référentiel, la balise ou l'ID…", "imageName": "Nom de l'image *", "imageRemovedSuccessfully": "Image supprimée avec succès", "loadingImages": "Chargement des images...", @@ -3954,7 +3951,6 @@ "cpuUsage": "Utilisation du processeur", "diskUsage": "Utilisation du disque", "down": "Vers le bas", - "hostHealth": "Santé de l'hôte", "latency": "Latence", "loadAverage": "Charge moyenne", "loadingMetrics": "Chargement des métriques", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "La création de réseaux n'est disponible que sur la cible locale Docker pour le moment.", "driver": "Conducteur", "failedToRemoveNetworkItMay": "Échec de la suppression du réseau. Il est peut-être utilisé.", - "filterNameOrId": "Filtrer le nom ou l'identifiant…", "loadingNetworks": "Chargement des réseaux...", "networkName": "Nom du réseau *", "networkRemovedSuccessfully": "Réseau supprimé avec succès", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "La création de volumes n'est disponible que sur la cible locale Docker pour le moment", "driver": "Conducteur", "failedToRemoveVolumeItMay": "Échec de la suppression du volume. Il est peut-être utilisé.", - "filterNameOrMountpoint": "Nom du filtre ou point de montage…", "loadingVolumes": "Chargement des volumes...", "mountpoint": "Point de montage", "noMatchingVolumes": "Aucun volume correspondant", @@ -7897,7 +7891,6 @@ "maxServers": "Nombre maximum de serveurs", "maxUsers": "Nombre maximum d'utilisateurs", "members": "Membres", - "resources": "Ressources", "sites": "Sites", "slug": "Limace", "unlimited": "Illimité" diff --git a/frontend/src/i18n/locales/id.json b/frontend/src/i18n/locales/id.json index d691ea1c..b0257724 100644 --- a/frontend/src/i18n/locales/id.json +++ b/frontend/src/i18n/locales/id.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Gagal menghentikan proyek compose.", "couldntUpdateProject": "Gagal memperbarui proyek compose.", "dockerComposeUpD": "buruh pelabuhan menyusun -d", - "filterProjectOrConfigPath": "Filter proyek atau jalur konfigurasi…", "imagesPulled": "Image ditarik", "lines": "Garis:", "loadingComposeProjects": "Memuat proyek penulisan...", @@ -1441,7 +1440,6 @@ "exec": "Eksekutif", "exec3": "Eksekutif: {{value}}", "executeCommandsInContainer": "Jalankan perintah dalam wadah", - "filterNameImageOrId": "Filter nama, gambar, atau ID…", "health": "Kesehatan", "hostPort": "Port host", "image": "Image", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Gagal menghapus gambar. Ini mungkin digunakan oleh sebuah wadah.", - "filterRepositoryTagOrId": "Filter repositori, tag, atau ID…", "imageName": "Nama Image *", "imageRemovedSuccessfully": "Image berhasil dihapus", "loadingImages": "Memuat image...", @@ -3954,7 +3951,6 @@ "cpuUsage": "penggunaan CPU", "diskUsage": "Penggunaan disk", "down": "Turun", - "hostHealth": "Kesehatan host", "latency": "Latensi", "loadAverage": "Rata-rata beban", "loadingMetrics": "Memuat metrik", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Saat ini pembuatan jaringan hanya tersedia pada target Docker lokal", "driver": "Pengemudi", "failedToRemoveNetworkItMay": "Gagal menghapus jaringan. Ini mungkin sedang digunakan.", - "filterNameOrId": "Filter nama atau ID…", "loadingNetworks": "Memuat jaringan...", "networkName": "Nama Jaringan *", "networkRemovedSuccessfully": "Jaringan berhasil dihapus", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Pembuatan volume saat ini hanya tersedia pada target Docker lokal", "driver": "Pengemudi", "failedToRemoveVolumeItMay": "Gagal menghapus volume. Ini mungkin sedang digunakan.", - "filterNameOrMountpoint": "Nama filter atau titik pemasangan…", "loadingVolumes": "Memuat volume...", "mountpoint": "titik pemasangan", "noMatchingVolumes": "Tidak ada volume yang cocok", @@ -7897,7 +7891,6 @@ "maxServers": "Server maksimal", "maxUsers": "Pengguna maksimal", "members": "Anggota", - "resources": "Sumber daya", "sites": "Situs", "slug": "Siput", "unlimited": "Tidak terbatas" diff --git a/frontend/src/i18n/locales/it.json b/frontend/src/i18n/locales/it.json index d9ceb9d6..5f425bf8 100644 --- a/frontend/src/i18n/locales/it.json +++ b/frontend/src/i18n/locales/it.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Impossibile arrestare il progetto compose", "couldntUpdateProject": "Impossibile aggiornare il progetto compose", "dockerComposeUpD": "la finestra mobile compone -d", - "filterProjectOrConfigPath": "Filtra il progetto o il percorso di configurazione...", "imagesPulled": "Immagini scaricate", "lines": "Linee:", "loadingComposeProjects": "Caricamento progetti di composizione...", @@ -1441,7 +1440,6 @@ "exec": "Esecutivo", "exec3": "Esecuzione: {{value}}", "executeCommandsInContainer": "Esegui comandi nel contenitore", - "filterNameImageOrId": "Filtra nome, immagine o ID…", "health": "Salute", "hostPort": "Porta dell'host", "image": "Immagine", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Impossibile rimuovere l'immagine. Potrebbe essere utilizzato da un contenitore.", - "filterRepositoryTagOrId": "Filtra repository, tag o ID…", "imageName": "Nome immagine *", "imageRemovedSuccessfully": "Immagine rimossa con successo", "loadingImages": "Caricamento immagini...", @@ -3954,7 +3951,6 @@ "cpuUsage": "Utilizzo della CPU", "diskUsage": "Utilizzo del disco", "down": "Giù", - "hostHealth": "Stato dell'host", "latency": "Latenza", "loadAverage": "Carica media", "loadingMetrics": "Caricamento delle metriche", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Al momento la creazione di reti è disponibile solo sul target locale Docker", "driver": "Autista", "failedToRemoveNetworkItMay": "Impossibile rimuovere la rete. Potrebbe essere in uso.", - "filterNameOrId": "Filtra nome o ID...", "loadingNetworks": "Caricamento reti...", "networkName": "Nome della rete *", "networkRemovedSuccessfully": "Rete rimossa con successo", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Al momento la creazione di volumi è disponibile solo sul target Docker locale", "driver": "Autista", "failedToRemoveVolumeItMay": "Impossibile rimuovere il volume. Potrebbe essere in uso.", - "filterNameOrMountpoint": "Nome del filtro o punto di montaggio...", "loadingVolumes": "Caricamento volumi...", "mountpoint": "Punto di montaggio", "noMatchingVolumes": "Nessun volume corrispondente", @@ -7897,7 +7891,6 @@ "maxServers": "Server massimi", "maxUsers": "Utenti massimi", "members": "Membri", - "resources": "Risorse", "sites": "Siti", "slug": "Lumaca", "unlimited": "Illimitato" diff --git a/frontend/src/i18n/locales/ko.json b/frontend/src/i18n/locales/ko.json index 544e6aa0..732fb643 100644 --- a/frontend/src/i18n/locales/ko.json +++ b/frontend/src/i18n/locales/ko.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Compose 프로젝트를 중지하지 못했습니다.", "couldntUpdateProject": "Compose 프로젝트를 업데이트하지 못했습니다.", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "프로젝트 또는 구성 경로 필터링…", "imagesPulled": "가져온 이미지", "lines": "라인:", "loadingComposeProjects": "작성 프로젝트 로드 중...", @@ -1441,7 +1440,6 @@ "exec": "임원", "exec3": "실행: {{value}}", "executeCommandsInContainer": "컨테이너에서 명령 실행", - "filterNameImageOrId": "필터 이름, 이미지, ID…", "health": "상태", "hostPort": "호스트 포트", "image": "이미지", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "이미지를 제거하지 못했습니다. 컨테이너에서 사용 중일 수 있습니다.", - "filterRepositoryTagOrId": "저장소, 태그 또는 ID 필터링…", "imageName": "이미지 이름 *", "imageRemovedSuccessfully": "이미지가 성공적으로 제거되었습니다.", "loadingImages": "이미지 로드 중...", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU 사용량", "diskUsage": "디스크 사용량", "down": "아래로", - "hostHealth": "호스트 상태", "latency": "대기 시간", "loadAverage": "평균 부하", "loadingMetrics": "측정항목 로드 중", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "네트워크 생성은 현재 로컬 Docker 대상에서만 가능합니다.", "driver": "드라이버", "failedToRemoveNetworkItMay": "네트워크를 제거하지 못했습니다. 사용 중일 수도 있습니다.", - "filterNameOrId": "필터 이름 또는 ID…", "loadingNetworks": "네트워크 로드 중...", "networkName": "네트워크 이름 *", "networkRemovedSuccessfully": "네트워크가 성공적으로 제거되었습니다.", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "볼륨 생성은 현재 로컬 Docker 대상에서만 가능합니다.", "driver": "드라이버", "failedToRemoveVolumeItMay": "볼륨을 제거하지 못했습니다. 사용 중일 수도 있습니다.", - "filterNameOrMountpoint": "필터 이름 또는 마운트 지점…", "loadingVolumes": "볼륨 로드 중...", "mountpoint": "마운트포인트", "noMatchingVolumes": "일치하는 볼륨 없음", @@ -7897,7 +7891,6 @@ "maxServers": "최대 서버", "maxUsers": "최대 사용자", "members": "회원", - "resources": "자원", "sites": "사이트", "slug": "슬러그", "unlimited": "무제한" diff --git a/frontend/src/i18n/locales/pl.json b/frontend/src/i18n/locales/pl.json index e05e3dd8..e5523fd9 100644 --- a/frontend/src/i18n/locales/pl.json +++ b/frontend/src/i18n/locales/pl.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Nie udało się zatrzymać projektu compose.", "couldntUpdateProject": "Nie udało się zaktualizować projektu compose.", "dockerComposeUpD": "doker komponuj -d", - "filterProjectOrConfigPath": "Filtruj projekt lub ścieżkę konfiguracji…", "imagesPulled": "Obrazy pobrane", "lines": "Kwestia:", "loadingComposeProjects": "Ładowanie projektów tworzenia...", @@ -1441,7 +1440,6 @@ "exec": "Wykonawczy", "exec3": "Wykonanie: {{value}}", "executeCommandsInContainer": "Wykonuj polecenia w kontenerze", - "filterNameImageOrId": "Filtruj nazwę, obraz lub identyfikator…", "health": "Zdrowie", "hostPort": "Port hosta", "image": "Obraz", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Nie udało się usunąć obrazu. Może być używany przy pojemniku.", - "filterRepositoryTagOrId": "Filtruj repozytorium, tag lub identyfikator…", "imageName": "Nazwa obrazu *", "imageRemovedSuccessfully": "Obraz został pomyślnie usunięty", "loadingImages": "Ładowanie obrazów...", @@ -3954,7 +3951,6 @@ "cpuUsage": "Użycie procesora", "diskUsage": "Użycie dysku", "down": "W dół", - "hostHealth": "Kondycja hosta", "latency": "Utajenie", "loadAverage": "Średnie obciążenie", "loadingMetrics": "Ładowanie metryk", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Tworzenie sieci jest obecnie dostępne tylko na lokalnym obiekcie docelowym Docker", "driver": "Kierowca", "failedToRemoveNetworkItMay": "Nie udało się usunąć sieci. Może być w użyciu.", - "filterNameOrId": "Filtruj nazwę lub identyfikator…", "loadingNetworks": "Ładowanie sieci...", "networkName": "Nazwa sieci *", "networkRemovedSuccessfully": "Sieć została pomyślnie usunięta", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Tworzenie woluminów jest obecnie dostępne tylko w lokalnym obiekcie docelowym Docker", "driver": "Kierowca", "failedToRemoveVolumeItMay": "Nie udało się usunąć woluminu. Może być w użyciu.", - "filterNameOrMountpoint": "Nazwa filtra lub punkt podłączenia…", "loadingVolumes": "Ładowanie woluminów...", "mountpoint": "Punkt mocowania", "noMatchingVolumes": "Brak pasujących woluminów", @@ -7897,7 +7891,6 @@ "maxServers": "Maksymalne serwery", "maxUsers": "Maksymalna liczba użytkowników", "members": "Członkowie", - "resources": "Zasoby", "sites": "Witryny", "slug": "Ślimak", "unlimited": "Bez limitu" diff --git a/frontend/src/i18n/locales/pt.json b/frontend/src/i18n/locales/pt.json index b14bd5ec..eacf9acb 100644 --- a/frontend/src/i18n/locales/pt.json +++ b/frontend/src/i18n/locales/pt.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Falha ao parar o projeto compose.", "couldntUpdateProject": "Falha ao atualizar o projeto compose.", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "Filtrar projeto ou caminho de configuração…", "imagesPulled": "Imagens baixadas", "lines": "Linhas:", "loadingComposeProjects": "Carregando projetos de composição...", @@ -1441,7 +1440,6 @@ "exec": "Executivo", "exec3": "Executivo: {{value}}", "executeCommandsInContainer": "Executar comandos no contêiner", - "filterNameImageOrId": "Nome do filtro, imagem ou ID…", "health": "Saúde", "hostPort": "Porta do host", "image": "Imagem", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Falha ao remover a imagem. Pode estar em uso por um contêiner.", - "filterRepositoryTagOrId": "Filtrar repositório, tag ou ID…", "imageName": "Nome da imagem *", "imageRemovedSuccessfully": "Imagem removida com sucesso", "loadingImages": "Carregando imagens...", @@ -3954,7 +3951,6 @@ "cpuUsage": "Uso da CPU", "diskUsage": "Uso de disco", "down": "Para baixo", - "hostHealth": "Saúde do host", "latency": "Latência", "loadAverage": "Média de carga", "loadingMetrics": "Carregando métricas", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "A criação de redes está disponível apenas no destino local do Docker no momento", "driver": "Motorista", "failedToRemoveNetworkItMay": "Falha ao remover rede. Pode estar em uso.", - "filterNameOrId": "Nome ou ID do filtro…", "loadingNetworks": "Carregando redes...", "networkName": "Nome da rede *", "networkRemovedSuccessfully": "Rede removida com sucesso", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "A criação de volumes está disponível apenas no destino local do Docker no momento", "driver": "Motorista", "failedToRemoveVolumeItMay": "Falha ao remover o volume. Pode estar em uso.", - "filterNameOrMountpoint": "Nome do filtro ou ponto de montagem…", "loadingVolumes": "Carregando volumes...", "mountpoint": "Ponto de montagem", "noMatchingVolumes": "Nenhum volume correspondente", @@ -7897,7 +7891,6 @@ "maxServers": "Máximo de servidores", "maxUsers": "Máximo de usuários", "members": "Membros", - "resources": "Recursos", "sites": "Locais", "slug": "Lesma", "unlimited": "Ilimitado" diff --git a/frontend/src/i18n/locales/ru.json b/frontend/src/i18n/locales/ru.json index 1fc59aae..e19f0759 100644 --- a/frontend/src/i18n/locales/ru.json +++ b/frontend/src/i18n/locales/ru.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Не удалось остановить проект compose.", "couldntUpdateProject": "Не удалось обновить проект compose.", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "Фильтровать проект или путь конфигурации…", "imagesPulled": "Образы загружены", "lines": "Линии:", "loadingComposeProjects": "Загрузка проектов создания...", @@ -1441,7 +1440,6 @@ "exec": "Исполнительный директор", "exec3": "Исполнитель: {{value}}", "executeCommandsInContainer": "Выполнять команды в контейнере", - "filterNameImageOrId": "Имя фильтра, изображение или идентификатор…", "health": "Здоровье", "hostPort": "Порт хоста", "image": "Образ", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Не удалось удалить изображение. Он может использоваться контейнером.", - "filterRepositoryTagOrId": "Фильтрация репозитория, тега или идентификатора…", "imageName": "Имя образа *", "imageRemovedSuccessfully": "Образ удален", "loadingImages": "Загрузка образов...", @@ -3954,7 +3951,6 @@ "cpuUsage": "Использование процессора", "diskUsage": "Использование диска", "down": "Недоступен", - "hostHealth": "Состояние хоста", "latency": "Задержка", "loadAverage": "Средняя нагрузка", "loadingMetrics": "Загрузка показателей", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Создание сетей сейчас доступно только для локальной цели Docker.", "driver": "Драйвер", "failedToRemoveNetworkItMay": "Не удалось удалить сеть. Возможно, он используется.", - "filterNameOrId": "Имя или идентификатор фильтра…", "loadingNetworks": "Загрузка сетей...", "networkName": "Имя сети *", "networkRemovedSuccessfully": "Сеть успешно удалена", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Создание томов сейчас доступно только для локальной цели Docker.", "driver": "Драйвер", "failedToRemoveVolumeItMay": "Не удалось удалить том. Возможно, он используется.", - "filterNameOrMountpoint": "Имя фильтра или точка монтирования…", "loadingVolumes": "Загрузка томов...", "mountpoint": "Точка монтирования", "noMatchingVolumes": "Нет соответствующих томов", @@ -7897,7 +7891,6 @@ "maxServers": "Макс серверов", "maxUsers": "Максимальное количество пользователей", "members": "Члены", - "resources": "Ресурсы", "sites": "Сайты", "slug": "Идентификатор", "unlimited": "Без ограничений" diff --git a/frontend/src/i18n/locales/th.json b/frontend/src/i18n/locales/th.json index 0a6a40fe..f37fbf74 100644 --- a/frontend/src/i18n/locales/th.json +++ b/frontend/src/i18n/locales/th.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "ไม่สามารถหยุดโปรเจกต์ compose ได้", "couldntUpdateProject": "ไม่สามารถอัปเดตโปรเจกต์ compose ได้", "dockerComposeUpD": "นักเทียบท่าเขียน -d", - "filterProjectOrConfigPath": "กรองโปรเจ็กต์หรือเส้นทางการกำหนดค่า...", "imagesPulled": "ดึงอิมเมจแล้ว", "lines": "เส้น:", "loadingComposeProjects": "กำลังโหลดโปรเจ็กต์การเขียน...", @@ -1441,7 +1440,6 @@ "exec": "ผู้บริหาร", "exec3": "ดำเนินการ: {{value}}", "executeCommandsInContainer": "ดำเนินการคำสั่งในคอนเทนเนอร์", - "filterNameImageOrId": "ชื่อตัวกรอง รูปภาพ หรือรหัส...", "health": "สุขภาพ", "hostPort": "พอร์ตโฮสต์", "image": "อิมเมจ", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "ไม่สามารถลบรูปภาพได้ มันอาจจะถูกใช้โดยภาชนะ", - "filterRepositoryTagOrId": "กรองที่เก็บ แท็ก หรือ ID...", "imageName": "ชื่ออิมเมจ *", "imageRemovedSuccessfully": "ลบอิมเมจแล้ว", "loadingImages": "กำลังโหลดอิมเมจ...", @@ -3954,7 +3951,6 @@ "cpuUsage": "การใช้งานซีพียู", "diskUsage": "การใช้งานดิสก์", "down": "ลง", - "hostHealth": "สถานะของโฮสต์", "latency": "เวลาแฝง", "loadAverage": "โหลดเฉลี่ย", "loadingMetrics": "กำลังโหลดเมตริก", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "ขณะนี้การสร้างเครือข่ายใช้ได้เฉพาะกับเป้าหมาย Docker ในเครื่องเท่านั้น", "driver": "คนขับ", "failedToRemoveNetworkItMay": "ไม่สามารถลบเครือข่าย มันอาจจะใช้งานได้", - "filterNameOrId": "ชื่อหรือรหัสตัวกรอง...", "loadingNetworks": "กำลังโหลดเครือข่าย...", "networkName": "ชื่อเครือข่าย *", "networkRemovedSuccessfully": "ลบเครือข่ายเรียบร้อยแล้ว", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "ขณะนี้การสร้างวอลุ่มสามารถทำได้บนเป้าหมาย Docker ในเครื่องเท่านั้น", "driver": "คนขับ", "failedToRemoveVolumeItMay": "ไม่สามารถลบโวลุ่มได้ มันอาจจะใช้งานได้", - "filterNameOrMountpoint": "ชื่อตัวกรองหรือจุดเมานท์...", "loadingVolumes": "กำลังโหลดวอลุ่ม...", "mountpoint": "จุดเมานต์", "noMatchingVolumes": "ไม่มีโวลุ่มที่ตรงกัน", @@ -7897,7 +7891,6 @@ "maxServers": "เซิร์ฟเวอร์สูงสุด", "maxUsers": "ผู้ใช้สูงสุด", "members": "สมาชิก", - "resources": "ทรัพยากร", "sites": "เว็บไซต์", "slug": "กระสุน", "unlimited": "ไม่จำกัด" diff --git a/frontend/src/i18n/locales/tr.json b/frontend/src/i18n/locales/tr.json index d1dec887..a3c5af47 100644 --- a/frontend/src/i18n/locales/tr.json +++ b/frontend/src/i18n/locales/tr.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Compose projesi durdurulamadı.", "couldntUpdateProject": "Compose projesi güncellenemedi.", "dockerComposeUpD": "liman işçisi oluştur -d", - "filterProjectOrConfigPath": "Projeyi veya yapılandırma yolunu filtreleyin…", "imagesPulled": "İmajlar çekildi", "lines": "Satırlar:", "loadingComposeProjects": "Proje oluşturma yükleniyor...", @@ -1441,7 +1440,6 @@ "exec": "Yönetici", "exec3": "Yürütme: {{value}}", "executeCommandsInContainer": "Komutları kapsayıcıda yürütün", - "filterNameImageOrId": "Adı, resmi veya kimliği filtreleyin…", "health": "Sağlık", "hostPort": "Ana makine portu", "image": "İmaj", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Resim kaldırılamadı. Bir konteyner tarafından kullanılıyor olabilir.", - "filterRepositoryTagOrId": "Depoyu, etiketi veya kimliği filtreleyin…", "imageName": "İmaj Adı *", "imageRemovedSuccessfully": "İmaj silindi", "loadingImages": "İmajlar yükleniyor...", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU kullanımı", "diskUsage": "Disk kullanımı", "down": "Aşağı", - "hostHealth": "Ana bilgisayar sağlığı", "latency": "Gecikme", "loadAverage": "Yük ortalaması", "loadingMetrics": "Metrikler yükleniyor", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Ağ oluşturmak şu anda yalnızca yerel Docker hedefinde mümkündür", "driver": "Sürücü", "failedToRemoveNetworkItMay": "Ağ kaldırılamadı. Kullanımda olabilir.", - "filterNameOrId": "Adı veya kimliği filtrele…", "loadingNetworks": "Ağlar yükleniyor...", "networkName": "Ağ Adı *", "networkRemovedSuccessfully": "Ağ başarıyla kaldırıldı", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Birim oluşturma şu anda yalnızca yerel Docker hedefinde mümkündür", "driver": "Sürücü", "failedToRemoveVolumeItMay": "Birim kaldırılamadı. Kullanımda olabilir.", - "filterNameOrMountpoint": "Filtre adı veya bağlama noktası…", "loadingVolumes": "Birimler yükleniyor...", "mountpoint": "Bağlantı Noktası", "noMatchingVolumes": "Eşleşen birim yok", @@ -7897,7 +7891,6 @@ "maxServers": "Maksimum sunucular", "maxUsers": "Maksimum kullanıcı", "members": "Üyeler", - "resources": "Kaynaklar", "sites": "Siteler", "slug": "Sümüklüböcek", "unlimited": "Sınırsız" diff --git a/frontend/src/i18n/locales/vi.json b/frontend/src/i18n/locales/vi.json index e0f6da97..c6914af5 100644 --- a/frontend/src/i18n/locales/vi.json +++ b/frontend/src/i18n/locales/vi.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "Không thể dừng dự án compose.", "couldntUpdateProject": "Không thể cập nhật dự án compose.", "dockerComposeUpD": "docker soạn thảo -d", - "filterProjectOrConfigPath": "Lọc dự án hoặc đường dẫn cấu hình…", "imagesPulled": "Đã kéo các image", "lines": "Dòng:", "loadingComposeProjects": "Đang tải dự án soạn thư...", @@ -1441,7 +1440,6 @@ "exec": "Thực thi", "exec3": "Thực thi: {{value}}", "executeCommandsInContainer": "Thực thi các lệnh trong vùng chứa", - "filterNameImageOrId": "Lọc tên, hình ảnh hoặc ID…", "health": "Sức khỏe", "hostPort": "Cổng máy chủ", "image": "Image", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "Không thể xóa hình ảnh. Nó có thể được sử dụng bởi một container.", - "filterRepositoryTagOrId": "Lọc kho lưu trữ, thẻ hoặc ID…", "imageName": "Tên image *", "imageRemovedSuccessfully": "Đã xóa image", "loadingImages": "Đang tải image...", @@ -3954,7 +3951,6 @@ "cpuUsage": "mức sử dụng CPU", "diskUsage": "Sử dụng đĩa", "down": "Xuống", - "hostHealth": "Tình trạng máy chủ", "latency": "Độ trễ", "loadAverage": "Tải trung bình", "loadingMetrics": "Đang tải số liệu", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "Tạo mạng hiện chỉ khả dụng trên mục tiêu Docker cục bộ", "driver": "Tài xế", "failedToRemoveNetworkItMay": "Không xóa được mạng. Nó có thể được sử dụng.", - "filterNameOrId": "Lọc tên hoặc ID…", "loadingNetworks": "Đang tải mạng...", "networkName": "Tên mạng *", "networkRemovedSuccessfully": "Đã xóa mạng thành công", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "Việc tạo khối hiện chỉ khả dụng trên mục tiêu Docker cục bộ", "driver": "Tài xế", "failedToRemoveVolumeItMay": "Không thể xóa âm lượng. Nó có thể được sử dụng.", - "filterNameOrMountpoint": "Tên bộ lọc hoặc điểm gắn kết…", "loadingVolumes": "Đang tải volume...", "mountpoint": "điểm gắn kết", "noMatchingVolumes": "Không có volume nào phù hợp", @@ -7897,7 +7891,6 @@ "maxServers": "Máy chủ tối đa", "maxUsers": "Số người dùng tối đa", "members": "Thành viên", - "resources": "Tài nguyên", "sites": "Trang web", "slug": "sên", "unlimited": "Không giới hạn" diff --git a/frontend/src/i18n/locales/zh-Hans.json b/frontend/src/i18n/locales/zh-Hans.json index 2f0c1e18..232ba85f 100644 --- a/frontend/src/i18n/locales/zh-Hans.json +++ b/frontend/src/i18n/locales/zh-Hans.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "停止 Compose 项目失败", "couldntUpdateProject": "更新 Compose 项目失败", "dockerComposeUpD": "docker 组成-d", - "filterProjectOrConfigPath": "过滤项目或配置路径...", "imagesPulled": "镜像已拉取", "lines": "线路:", "loadingComposeProjects": "正在加载撰写项目...", @@ -1441,7 +1440,6 @@ "exec": "执行者", "exec3": "执行:{{value}}", "executeCommandsInContainer": "在容器中执行命令", - "filterNameImageOrId": "过滤器名称、图像或 ID...", "health": "健康", "hostPort": "主机端口", "image": "镜像", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "删除图像失败。它可能正在被容器使用。", - "filterRepositoryTagOrId": "过滤存储库、标签或 ID...", "imageName": "镜像名称 *", "imageRemovedSuccessfully": "镜像已删除", "loadingImages": "正在加载镜像...", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU 使用率", "diskUsage": "磁盘使用率", "down": "向下", - "hostHealth": "主机健康状况", "latency": "延迟", "loadAverage": "平均负载", "loadingMetrics": "加载指标", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "目前只能在本地 Docker 目标上创建网络", "driver": "驱动", "failedToRemoveNetworkItMay": "删除网络失败。它可能正在使用中。", - "filterNameOrId": "过滤器名称或 ID...", "loadingNetworks": "正在加载网络...", "networkName": "网络名称 *", "networkRemovedSuccessfully": "网络删除成功", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "目前只能在本地 Docker 目标上创建卷", "driver": "驱动", "failedToRemoveVolumeItMay": "删除音量失败。它可能正在使用中。", - "filterNameOrMountpoint": "过滤器名称或安装点...", "loadingVolumes": "正在加载卷...", "mountpoint": "挂载点", "noMatchingVolumes": "没有匹配的卷", @@ -7897,7 +7891,6 @@ "maxServers": "最大服务器数", "maxUsers": "最大用户数", "members": "会员", - "resources": "资源", "sites": "站点", "slug": "标识符", "unlimited": "无限制" diff --git a/frontend/src/i18n/locales/zh-Hant.json b/frontend/src/i18n/locales/zh-Hant.json index 031d5195..f939350d 100644 --- a/frontend/src/i18n/locales/zh-Hant.json +++ b/frontend/src/i18n/locales/zh-Hant.json @@ -1020,7 +1020,6 @@ "couldntStopProject": "無法停止 Compose 專案", "couldntUpdateProject": "無法更新 Compose 專案", "dockerComposeUpD": "docker compose up -d", - "filterProjectOrConfigPath": "篩選專案或設定路徑…", "imagesPulled": "已下載的映像檔", "lines": "行數", "loadingComposeProjects": "正在載入 Compose 專案…", @@ -1441,7 +1440,6 @@ "exec": "執行", "exec3": "執行:{{value}}", "executeCommandsInContainer": "在容器中執行命令", - "filterNameImageOrId": "篩選名稱、映像檔或 ID…", "health": "健康", "hostPort": "主機連接埠", "image": "映像檔", @@ -3109,7 +3107,6 @@ }, "imagesTab": { "failedToRemoveImageItMay": "無法移除映像檔,可能正由容器使用。", - "filterRepositoryTagOrId": "篩選儲存庫、標籤或 ID…", "imageName": "映像檔名稱 *", "imageRemovedSuccessfully": "已移除映像檔", "loadingImages": "正在載入映像檔…", @@ -3954,7 +3951,6 @@ "cpuUsage": "CPU 使用率", "diskUsage": "磁碟使用情況", "down": "異常", - "hostHealth": "主機健康狀況", "latency": "延遲", "loadAverage": "平均負載", "loadingMetrics": "載入指標", @@ -4041,7 +4037,6 @@ "creatingNetworksIsOnlyAvailableOn": "目前建立網路僅可在本機 Docker 目標上使用", "driver": "驅動程式", "failedToRemoveNetworkItMay": "刪除網路失敗。它可能正在使用中。", - "filterNameOrId": "依名稱或 ID 篩選…", "loadingNetworks": "正在載入網路…", "networkName": "網路名稱 *", "networkRemovedSuccessfully": "網路刪除成功", @@ -7566,7 +7561,6 @@ "creatingVolumesIsOnlyAvailableOn": "目前只能在本機 Docker 目標上建立磁碟區", "driver": "驅動程式", "failedToRemoveVolumeItMay": "刪除磁碟區失敗。它可能正在使用中。", - "filterNameOrMountpoint": "篩選名稱或掛載點…", "loadingVolumes": "正在載入磁碟區…", "mountpoint": "掛載點", "noMatchingVolumes": "沒有符合條件的磁碟區", @@ -7897,7 +7891,6 @@ "maxServers": "最大伺服器數", "maxUsers": "最大使用者數", "members": "成員", - "resources": "資源", "sites": "網站", "slug": "網址代稱", "unlimited": "無限制" diff --git a/frontend/src/styles/components/_dashboard-widgets.scss b/frontend/src/styles/components/_dashboard-widgets.scss index e4c97729..5d032369 100644 --- a/frontend/src/styles/components/_dashboard-widgets.scss +++ b/frontend/src/styles/components/_dashboard-widgets.scss @@ -366,6 +366,11 @@ $skw-z-tv: 200; box-shadow: $focus-ring; } + // A bare widget is its own card (a KPI tile): the frame draws the card and + // the body says what it is, so there is no header. Edit mode keeps the + // header, which is the drag handle. + &--bare:not(.skw-frame--edit) > .skw-frame__head { display: none; } + &__head { display: flex; align-items: center; diff --git a/frontend/src/styles/components/_detail-page.scss b/frontend/src/styles/components/_detail-page.scss index ac307afa..ca9a2834 100644 --- a/frontend/src/styles/components/_detail-page.scss +++ b/frontend/src/styles/components/_detail-page.scss @@ -251,6 +251,32 @@ } } +// A KPI tile block: the frame is the tile's card, so the tile inside fills it +// edge to edge and drops its own border and surface. +.sk-overview-section--tile { + display: flex; + padding: 0; + overflow: hidden; + + > .sk-overview-section__host { + display: flex; + flex: 1; + min-inline-size: 0; + } + + .sk-kpi { + flex: 1; + min-inline-size: 0; + border: 0; + border-radius: 0; + background: none; + + // A tile with no sparkline sits in the middle of its block instead of + // leaving the lower half empty. + &:not(:has(> .sk-kpi__spark)) { align-content: center; } + } +} + // Monitoring styles its panels under its own page class, which outranks the // plain reset above; scoping to the board puts the reset back on top. .sk-overview-board .sk-overview-section__host > .monitoring-panel { diff --git a/frontend/src/styles/pages/_security.scss b/frontend/src/styles/pages/_security.scss index 85155703..f2285190 100644 --- a/frontend/src/styles/pages/_security.scss +++ b/frontend/src/styles/pages/_security.scss @@ -256,22 +256,16 @@ flex-direction: column; gap: $space-4; - .sec-posture-card .card-header { - display: flex; - align-items: center; - justify-content: space-between; - } - - // ── Posture header: ScoreGauge + verdict + live readouts ── + // ── Posture block: ScoreGauge + verdict + Re-check. Its own board block, + // so it pads itself and fills the frame. ── .sec-posture__top { display: flex; + flex: 1; align-items: center; gap: $space-6; - padding-bottom: $space-4; - margin-bottom: $space-2; - border-bottom: 1px solid var(--border-soft); + padding: $space-3 $space-4; - // Phone: gauge beside the verdict, KPI row below at full width + // Phone: a smaller gauge beside the verdict @media (max-width: $breakpoint-sm) { display: grid; grid-template-columns: 72px minmax(0, 1fr); // gauge size @@ -297,14 +291,6 @@ .sec-posture__summary { flex: 1; min-width: 0; - - // Dissolve so verdict joins the gauge row and the KPIs span below - @media (max-width: $breakpoint-sm) { - display: contents; - - // KpiBand's wrapper is the grid item, so it must do the spanning - .sk-kpiband-wrap { grid-column: 1 / -1; margin-bottom: 0; } - } } .sec-posture__verdict { @@ -316,21 +302,6 @@ color: var(--text); } - // Live event readouts — relocated from the old page-wide KPI strip - .sec-posture__kpis { - display: flex; - flex-wrap: wrap; - gap: $space-2 $space-5; - - @media (max-width: $breakpoint-sm) { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: $space-2; - - .sk-kpi { padding: $space-2; gap: $space-2; } - } - } - .sec-kpi { display: grid; grid-template-columns: auto auto;