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 <[email protected]>
This commit is contained in:
@@ -179,7 +179,8 @@ it('shows the job details in the info popover of a bar', function () {
|
||||
$task = TaskModel::query()->sole();
|
||||
|
||||
Livewire::test('jobs::calendar')
|
||||
->assertSee('aria-describedby="bar-info-'.$task->id.'-'.$this->other->id.'"', escape: false)
|
||||
->assertSee('aria-describedby="bar-info-'.$task->id.'-'.$this->other->id.'-details"', escape: false)
|
||||
->assertSee('Avaa aikataulu: tehtävä Mainoskuvat')
|
||||
->assertSeeInOrder([
|
||||
'Työ', $this->job->number, 'Kampanja',
|
||||
'Asiakas', CustomerModel::query()->findOrFail($this->job->customer_id)->name,
|
||||
|
||||
Reference in New Issue
Block a user