From 0ead0018119e89125c59e4737dc24116e612e317 Mon Sep 17 00:00:00 2001 From: m Date: Mon, 4 May 2026 17:08:34 +0200 Subject: [PATCH] fix(dashboard,events): drop "Termine auf einen Blick" rail + fix multi-panel overflow leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit m's call (2026-05-04): the Dashboard's secondary "Termine auf einen Blick" rail (3 cards) was redundant — the upcoming-Termine list lives right below it on the same page, and the Fristen rail above is what matters for the at-a-glance read. Drop the cards. frontend/src/dashboard.tsx: remove the
and its 3 cards. frontend/src/client/dashboard.ts: drop renderAppointmentSummary + the AppointmentSummary type + the appointment_summary field on DashboardData (kept the API-side payload — other consumers may use it later; just stop wiring the dashboard to it). Also two related event-page styling bugs: - frontend/src/client/events.ts:721 was force-stamping `style.display = "block"` on the event-type multi-panel popup whenever the type filter was anything but appointment. The panel is supposed to be a hidden flyout owned by the trigger button via `panel.hidden`; the inline display:block trumped the `.multi-panel[hidden]` CSS rule and left it visible on larger screens (m flagged the `
- {/* Termine summary rail — 3 cards: Heute · Diese Woche · Später (t-paliad-110) */} -
-

- Termine auf einen Blick -

-
- -
0
-
Heute
-
- -
0
-
Diese Woche
-
- -
0
-
Später
-
-
-
- {/* Matter summary card */}
diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 08d8a1c..9807287 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -8622,8 +8622,10 @@ dialog.quick-add-sheet::backdrop { } .multi-list { overflow-y: auto; + overflow-x: hidden; flex: 1; min-height: 4rem; + min-width: 0; } .multi-group { padding: 0.25rem 0; } .multi-group-label { @@ -8642,6 +8644,8 @@ dialog.quick-add-sheet::backdrop { border-radius: 0.25rem; cursor: pointer; font-size: 0.875rem; + min-width: 0; + overflow-wrap: anywhere; } .multi-option:hover { background: var(--color-bg-lime-tint); } .multi-option input[type="checkbox"] { margin: 0; }