Show a task card's actions above tabs for notes, images and materials

The opened task card keeps its details and description at the top, then
the status, book hours, edit and remove actions, and below them tabs:
checklist and comments, images, and materials and machines. The tabs are
a project component (x-tabs) after the WAI-ARIA pattern, because
TallStackUI's tab ties its panels to missing ids and has no arrow keys.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-29 09:58:04 +02:00
co-authored by Claude Sonnet 5.5
parent 701f05780f
commit 87e38260dc
10 changed files with 173 additions and 11 deletions
@@ -150,7 +150,7 @@ new class extends Component
<div>
@if ($this->canPlan() || $this->row !== null)
<section aria-label="{{ __('machines.task.list_of', ['title' => $taskTitle]) }}" class="space-y-2">
<section data-task-section aria-label="{{ __('machines.task.list_of', ['title' => $taskTitle]) }}" class="space-y-2">
<h4 class="font-medium">{{ __('machines.task.title') }}</h4>
<p id="task-{{ $taskId }}-machine-status" tabindex="-1" role="status" aria-live="polite" class="text-sm focus:outline-none">{{ $message }}</p>