Darken the dark canvas, add customer colours, the ongoing status and the board model

- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 /
  primary-100 and TallStackUI's dark labels, hints and checkbox labels are
  lightened so everything stays at 4.5:1.
- Shared HexColor picks white or black text by the higher WCAG contrast; a
  native-dialog colour picker and a large work dialog component.
- Customers get a header colour (customers.header_color), set on the
  customer page.
- New job status Jatkuvat / Kausi (ongoing): open, never late, billed
  monthly like running jobs.
- Kanban model: board columns and views, urgent threshold, per-user board
  preferences (density, column colours and sort), card positions, tasks of
  continuing jobs pinned to the board, MoveBoardCard and board queries with
  logged hours from TimeTracking.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-30 06:11:49 +02:00
co-authored by Claude Opus 5.5
parent de168619b3
commit f4b58f6b1d
140 changed files with 2845 additions and 170 deletions
@@ -509,7 +509,7 @@ new class extends Component
<div class="mx-auto max-w-[120rem] space-y-6 p-4 sm:p-6">
<div class="space-y-1">
<x-page-title icon="calendar-days">{{ __('jobs.calendar.title') }}</x-page-title>
<p class="max-w-3xl text-sm text-zinc-600 dark:text-zinc-300">{{ __('jobs.calendar.intro') }}</p>
<p class="max-w-3xl text-sm text-zinc-600 dark:text-zinc-200">{{ __('jobs.calendar.intro') }}</p>
</div>
<div class="card flex flex-wrap items-end gap-4">
@@ -530,7 +530,7 @@ new class extends Component
</div>
@if ($this->isSubcontractor())
<p class="pb-2 text-sm text-zinc-600 dark:text-zinc-300">{{ __('jobs.calendar.subcontractor_note') }}</p>
<p class="pb-2 text-sm text-zinc-600 dark:text-zinc-200">{{ __('jobs.calendar.subcontractor_note') }}</p>
@else
<div class="pb-2">
<x-checkbox id="calendar-only-mine" wire:model.live="mine" :label="__('jobs.calendar.only_mine')" />
@@ -623,7 +623,7 @@ new class extends Component
@class([
'pointer-events-none px-1 pt-1 text-right text-xs whitespace-nowrap',
'font-semibold text-amber-900 dark:text-amber-200' => $booked > $this->capacityMinutes,
'text-zinc-600 dark:text-zinc-300' => $booked === 0,
'text-zinc-600 dark:text-zinc-200' => $booked === 0,
])
style="grid-column: {{ $index + 2 }}; grid-row: 1;"
>
@@ -751,7 +751,7 @@ new class extends Component
<h3 id="agenda-{{ $rowKey }}-name" class="font-semibold break-words">{{ $row->name }}</h3>
@if ($row->bars === [])
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('jobs.calendar.no_tasks') }}</p>
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('jobs.calendar.no_tasks') }}</p>
@else
<ul class="space-y-2">
@foreach ($row->bars as $bar)
@@ -793,7 +793,7 @@ new class extends Component
@if ($this->unscheduled === [])
<x-empty-state icon="calendar-days">{{ __('jobs.calendar.unscheduled_none') }}</x-empty-state>
@else
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('jobs.calendar.unscheduled_intro') }}</p>
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('jobs.calendar.unscheduled_intro') }}</p>
<ul class="grid gap-2 sm:grid-cols-2 xl:grid-cols-4">
@foreach ($this->unscheduled as $task)