From 69d17302e10cced635adfda30f213f892916e1d8 Mon Sep 17 00:00:00 2001 From: Schalli Date: Mon, 28 Sep 2026 22:14:57 +0200 Subject: [PATCH] fix(260928-ujj): Biome-Formatierung der mit Design Mosaik eingebrachten Dateien - Nur Formatierung und Importreihenfolge, keine Verhaltensaenderung - Betrifft ausschliesslich Befunde, die der Merge neu eingebracht hat Co-Authored-By: Claude Opus 5.5 (1M context) --- .../groups/components/DeleteGroupDialog.tsx | 6 +----- .../groups/components/GroupMembersModal.tsx | 6 +----- apps/web/src/app/(portal)/changelog/page.tsx | 2 +- .../(portal)/modules/proxmox/settings/page.tsx | 6 +----- .../bug-report/bug-report-dialog.tsx | 13 ++----------- .../dashboard/dashboard-greeting.tsx | 5 ++++- .../dashboard/widgets/proxmox-widget.tsx | 2 +- .../dashboard/widgets/widget-icon.tsx | 12 ++++++++++-- .../dashboard/widgets/widget-wrapper.tsx | 2 +- apps/web/src/components/layout/page-header.tsx | 8 +++++++- .../release-notice/release-notice-dialog.tsx | 6 +----- apps/web/src/lib/color.test.ts | 18 ++++++++++++++++-- 12 files changed, 46 insertions(+), 40 deletions(-) diff --git a/apps/web/src/app/(portal)/admin/groups/components/DeleteGroupDialog.tsx b/apps/web/src/app/(portal)/admin/groups/components/DeleteGroupDialog.tsx index cede7fe..0f3648b 100644 --- a/apps/web/src/app/(portal)/admin/groups/components/DeleteGroupDialog.tsx +++ b/apps/web/src/app/(portal)/admin/groups/components/DeleteGroupDialog.tsx @@ -113,11 +113,7 @@ export function DeleteGroupDialog({ group, onClose, onDeleted }: DeleteGroupDial )}
- )} diff --git a/apps/web/src/components/bug-report/bug-report-dialog.tsx b/apps/web/src/components/bug-report/bug-report-dialog.tsx index 2a7a500..7aab37e 100644 --- a/apps/web/src/components/bug-report/bug-report-dialog.tsx +++ b/apps/web/src/components/bug-report/bug-report-dialog.tsx @@ -112,11 +112,7 @@ export function BugReportDialog({ screenshot, isAdmin, onClose }: BugReportDialo <>

{t('sent')}

-
@@ -179,12 +175,7 @@ export function BugReportDialog({ screenshot, isAdmin, onClose }: BugReportDialo )}
-
diff --git a/apps/web/src/lib/color.test.ts b/apps/web/src/lib/color.test.ts index 39cc898..d93cc6d 100644 --- a/apps/web/src/lib/color.test.ts +++ b/apps/web/src/lib/color.test.ts @@ -1,5 +1,11 @@ import { describe, expect, it } from 'vitest'; -import { DARK_ON_ACCENT, LIGHT_ON_ACCENT, normalizeHexColor, readableOnAccent, relativeLuminance } from './color'; +import { + DARK_ON_ACCENT, + LIGHT_ON_ACCENT, + normalizeHexColor, + readableOnAccent, + relativeLuminance, +} from './color'; /** * color.test — Normalisierung der Hex-Eingabe der Akzentfarbe @@ -61,7 +67,15 @@ describe('readableOnAccent (Design „Mosaik“)', () => { }); it('haelt fuer eine Reihe von Akzenten mindestens 3:1 (Symbol auf der Kachel)', () => { - for (const accent of ['#ffed00', '#123456', '#e11d48', '#0ea5e9', '#16a34a', '#777777', '#f97316']) { + for (const accent of [ + '#ffed00', + '#123456', + '#e11d48', + '#0ea5e9', + '#16a34a', + '#777777', + '#f97316', + ]) { expect(contrast(accent, readableOnAccent(accent))).toBeGreaterThanOrEqual(3); } });