From 3faa4cfbc69a20445842f0b0a13596ffac8d67cc Mon Sep 17 00:00:00 2001 From: Petri Saarinen Date: Thu, 26 Nov 2026 09:35:53 +0200 Subject: [PATCH] Open only the info popover when a calendar bar is tapped On touch screens a tap on a task bar both showed its info popover and opened the schedule dialog. A tap now only opens the popover, which stays open until something else is tapped, and the popover's own "Open schedule" button opens the dialog. Mouse clicks and Enter still open the dialog directly. The popover is no longer a tooltip since it holds a button, and the bar's aria-describedby points only at the details. Co-Authored-By: Claude Sonnet 5.5 --- .../Livewire/⚡calendar.blade.php | 82 ++++++++++-------- lang/en/jobs.php | 2 + lang/fi/jobs.php | 2 + resources/js/task-calendar.js | 84 ++++++++++++++++++- .../Browser/TaskCalendarAccessibilityTest.php | 24 ++++++ .../Feature/Modules/Jobs/TaskCalendarTest.php | 3 +- 6 files changed, 161 insertions(+), 36 deletions(-) diff --git a/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php b/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php index a40be67..7c44ece 100644 --- a/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php +++ b/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php @@ -552,6 +552,7 @@ new class extends Component x-on:pointermove.window="track($event)" x-on:pointerup.window="drop($event)" x-on:keydown.escape.window="cancel(); closeInfo()" + x-on:pointerdown.window="dismissInfo($event)" x-on:task-calendar-place.window="begin($event.detail.event, 'place', $event.detail.bar)" >