From 178dacd55e1dd962bfef697ee79a461a1fe925b5 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sat, 8 Aug 2026 15:36:01 -0400 Subject: [PATCH] Make '+N more' actually show the events behind it The link had a custom hover tooltip that took the hidden events with dayEvents.slice(3) - correct while dayMaxEvents was a fixed 3, wrong the moment that cap started varying with the row height. On a short row showing one chip, '+4 more' sliced from index 3 and listed the wrong events; on a day with three events it sliced to nothing, hit the empty-list guard and rendered no tooltip at all. A link with nothing behind it. FullCalendar's own popover replaces it rather than the arithmetic being fixed: no index to drift out of step with the cap, a header and a close button, every event for that day listed, and it works on a touch screen - which a hover tooltip never did on a kiosk. Clicking an event in the popover still opens the detail modal. That takes the hover handlers, the container mouseenter/mouseleave delegation, the tooltip markup and styles, and the by-date index that existed only to feed them: 108 lines out, 25 in. The popover is themed through the CSS variables, since FullCalendar ships it light. --- .../frontend/views/CalendarView.vue | 133 ++++-------------- 1 file changed, 25 insertions(+), 108 deletions(-) diff --git a/plugins/notifications/frontend/views/CalendarView.vue b/plugins/notifications/frontend/views/CalendarView.vue index f3121df..601bde0 100644 --- a/plugins/notifications/frontend/views/CalendarView.vue +++ b/plugins/notifications/frontend/views/CalendarView.vue @@ -7,25 +7,6 @@ - -
-
- {{ evt.title }} -
-
-