docs: переснять скриншоты после доработок UI и описать шкалу времени
Docker / build (push) Failing after 21s
Docker / build (push) Failing after 21s
Скриншоты сняты заново на демо-данных с неделей истории проверок. В docs/features.md — навигация по точкам измерений и новые матрицы блокировок и GeoIP. В мониторе цвет текста предупреждений читается в светлой теме (*-foreground, как в KPI). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8ae07628c6
commit
85ac5b15cb
28 files changed
+17
-4
No files matched your search
@@ -25,7 +25,12 @@ type MonitorCheck = {
|
||||
to: '/sync-journal' | '/settings/notifications' | '/accounts' | '/vps' | '/dashboard'
|
||||
}
|
||||
|
||||
const TONE_TEXT: Record<Tone, string> = { er: 'text-destructive', wn: 'text-warning', ok: 'text-success' }
|
||||
// text-warning/text-success на белом фоне не проходят контраст — *-foreground в светлой теме (как в KPI).
|
||||
const TONE_TEXT: Record<Tone, string> = {
|
||||
er: 'text-destructive',
|
||||
wn: 'text-warning-foreground dark:text-warning',
|
||||
ok: 'text-success-foreground dark:text-success',
|
||||
}
|
||||
const TONE_BG: Record<Tone, string> = { er: 'bg-destructive', wn: 'bg-warning', ok: 'bg-success' }
|
||||
|
||||
type SyncStatusRow = {
|
||||
@@ -195,7 +200,7 @@ export function SystemMonitorPopover() {
|
||||
>
|
||||
<Activity className={cn('size-4', alert ? 'text-warning' : 'text-success')} aria-hidden />
|
||||
<span
|
||||
className={cn('hidden text-sm font-medium min-[1000px]:inline', alert ? 'text-warning' : 'text-success')}
|
||||
className={cn('hidden text-sm font-medium min-[1000px]:inline', alert ? 'text-warning-foreground dark:text-warning' : 'text-success-foreground dark:text-success')}
|
||||
>
|
||||
{alert ? 'Внимание' : 'Норма'}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user