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
+4
View File
@@ -83,8 +83,11 @@ return [
'in_use_billing_unit' => 'Billing unit :name was not removed because it is selected on a customer job. First choose another billing unit for the customer job.',
],
'header_color_title' => 'Colour of customer :name',
'header_color_saved' => 'Customer colour saved.',
'fields' => [
'name' => 'Name',
'header_color' => 'Colour',
'type' => 'Customer type',
'business_id' => 'Business ID',
'business_id_description' => 'In the format 1234567-8. Optional.',
@@ -101,6 +104,7 @@ return [
],
'errors' => [
'invalid_header_color' => 'The colour is not valid. Choose a colour in the picker.',
'name_required' => 'Enter the customer\'s name.',
'invalid_name' => 'The name may be at most 255 characters.',
'type_required' => 'Choose a customer type.',
+102 -6
View File
@@ -199,17 +199,112 @@ return [
],
'board' => [
'title' => 'Board',
'title' => 'Kanban',
'heading' => 'Customer jobs and tasks – Kanban board',
'link' => 'Show as a board',
'show_list' => 'Show as a list',
'columns' => 'Board columns',
'columns' => 'Kanban columns',
'count' => '{0} no jobs|{1} :count job|[2,*] :count jobs',
'empty' => 'No jobs in this status.',
'card_count' => '{0} no cards|{1} :count card|[2,*] :count cards',
'empty' => 'No cards',
'status_of' => 'Status: :job',
'moved' => 'Job :job moved to the status :status.',
'moved' => 'Job :job moved to :status.',
'not_moved' => 'The job was not moved. Refresh the page and try again.',
'billing_not_allowed' => 'Job :job was not moved: the status :status can only be set by management or the job\'s biller.',
'unlock_not_allowed' => 'Job :job was not moved to the status :status: the hours and expenses of a done job are locked, and only management can unlock them.',
'billing_not_allowed' => 'Job :job was not moved: only management or the job\'s biller can set the status :status.',
'unlock_not_allowed' => 'Job :job was not moved to :status: the hours and expenses of a done job are locked, and only management can open the lock.',
'toolbar' => 'Board filters and view settings',
'board_label' => 'Board',
'board_mine' => 'My board',
'board_person' => 'Person: :name',
'board_unit' => 'Service line: :name',
'board_all' => 'All jobs (company)',
'view_label' => 'Pipeline view',
'views' => [
'production' => 'Daily work pipeline',
'sales' => 'Sales & Quotes',
'full' => 'Full status pipeline',
],
'quote_count' => '{0} no quotes|{1} :count quote|[2,*] :count quotes',
'only_urgent' => 'Urgent only',
'only_late' => 'Late',
'showing' => '{0} Showing 0 cards|{1} Showing :count card|[2,*] Showing :count cards',
'density' => 'Card density',
'density_normal' => 'Normal',
'density_compact' => 'Compact',
'new_job' => 'New job / Quick intake',
'column_names' => [
'quotes' => 'Quotes',
'prospect' => 'Prospect',
'tentative' => 'Tentative',
'quote_request' => 'Quote request',
'order' => 'Queued',
'in_production' => 'In progress',
'in_production_urgent' => 'In progress • Urgent',
'on_hold' => 'Waiting for customer',
'done' => 'Done • To bill',
'invoiced' => 'Invoice created',
'billed' => 'Billed',
'ongoing' => 'Ongoing & Season',
],
'threshold_button' => 'Choose the priorities lifted into the urgent list',
'threshold_heading' => 'Lift into the list:',
'thresholds' => [
'immediate' => 'Immediate only',
'urgent' => 'Urgent & Immediate',
'first' => 'First, Urgent & Immediate',
],
'sort_button' => 'Order of list :column: :sort',
'sort_heading' => 'List order:',
'sorts' => [
'manual' => 'Own order (draggable)',
'due_date' => 'By due date',
],
'color_button' => 'Change the header colour of list :column',
'color_title' => 'List colour: :column',
'customer_color_button' => 'Change the header colour of customer :customer',
'customer_color_title' => 'Colour of customer :customer (Kanban and time sheet)',
'drag_hint' => 'Click to open the job or drag to move it',
'due' => 'DL :date',
'late' => 'Late (:date)',
'hours' => ':logged/:estimated h',
'tasks_toggle' => 'Tasks (:done/:total)',
'tasks_compact' => 'Show tasks (:done/:total)',
'periods' => ':done/:total periods',
'next_up' => 'Next up:',
'mark_done' => 'Mark done',
'mark_done_label' => 'Mark done: :task',
'pin' => 'Lift to pipeline',
'pin_label' => 'Lift task :task into the pipeline as a card of its own',
'unpin' => 'Release PIN',
'unpin_label' => 'Release task :task from the pipeline',
'all_periods' => 'All periods & tasks (:done/:total)',
'new_task' => 'New task or period',
'new_task_label' => 'Add a new task or period to job :job',
'add_task' => 'Add',
'pin_new' => 'Lift into the pipeline at once (PIN)',
'task_card' => 'Task • PIN',
'release' => 'Release',
'open_job' => 'Open job :job',
'reordered' => 'Card position updated in list :column.',
'switched_to_manual' => 'Card moved in list :column (order: own order).',
'cannot_move' => 'The card cannot be moved to list :column.',
'priority_raised' => 'Job :job moved to the urgent list (priority raised: :priority).',
'priority_lowered' => 'Job :job moved to the normal in-progress list.',
'task_moved' => 'Task :task moved to list :column.',
'task_done' => 'Task :task marked done.',
'task_reopened' => 'Task :task reopened.',
'task_pinned' => 'Task :task lifted into the pipeline.',
'task_unpinned' => 'Task :task released back to the contract card.',
'task_added' => 'Task :task added to job :job.',
'task_title_required' => 'Enter the task name.',
'no_work_type' => 'The job\'s service unit has no work types. Add the task on the job page.',
'threshold_saved' => 'The urgent list now takes: :threshold.',
'sort_saved' => 'Order of list :column: :sort.',
'color_saved' => 'Header colour of list :column saved.',
'color_reset' => 'Header colour of list :column restored to the default.',
'customer_color_saved' => 'Colour of customer :customer saved.',
'invalid_color' => 'The colour is not valid.',
'density_saved' => 'Card density: :density.',
],
'calendar' => [
@@ -418,6 +513,7 @@ return [
'done' => 'Done',
'invoiced' => 'Invoice created',
'billed' => 'Billed',
'ongoing' => 'Ongoing / Season',
'archived' => 'Archived',
],
+12
View File
@@ -56,5 +56,17 @@ return [
'theme_system' => 'System default',
'selected' => '(selected)',
],
'color_picker' => [
'presets' => 'Quick colours',
'preset' => 'Choose colour :color',
'free' => 'Free colour picker',
'red' => 'R (0–255)',
'green' => 'G (0–255)',
'blue' => 'B (0–255)',
'preview' => 'Preview',
'apply' => 'Use colour',
'reset' => 'Restore default colour',
],
'close' => 'Close',
'opens_in_new_window' => 'opens in a new window',
];
+4
View File
@@ -83,8 +83,11 @@ return [
'in_use_billing_unit' => 'Laskutusyksikköä :name ei poistettu, koska se on valittu asiakastyölle. Vaihda asiakastyölle ensin toinen laskutusyksikkö.',
],
'header_color_title' => 'Asiakkaan :name tunnusväri',
'header_color_saved' => 'Asiakkaan tunnusväri tallennettu.',
'fields' => [
'name' => 'Nimi',
'header_color' => 'Tunnusväri',
'type' => 'Asiakastyyppi',
'business_id' => 'Y-tunnus',
'business_id_description' => 'Muodossa 1234567-8. Ei pakollinen.',
@@ -101,6 +104,7 @@ return [
],
'errors' => [
'invalid_header_color' => 'Väri ei kelpaa. Valitse väri valitsimesta.',
'name_required' => 'Anna asiakkaan nimi.',
'invalid_name' => 'Nimen pituus voi olla enintään 255 merkkiä.',
'type_required' => 'Valitse asiakastyyppi.',
+97 -1
View File
@@ -200,16 +200,111 @@ return [
'board' => [
'title' => 'Kanban',
'heading' => 'Asiakastyöt ja tehtävät – Kanban-työtaulu',
'link' => 'Näytä Kanban-näkymänä',
'show_list' => 'Näytä listana',
'columns' => 'Kanban-sarakkeet',
'count' => '{0} ei töitä|{1} :count työ|[2,*] :count työtä',
'empty' => 'Ei töitä tässä tilassa.',
'card_count' => '{0} ei kortteja|{1} :count kortti|[2,*] :count korttia',
'empty' => 'Ei kortteja',
'status_of' => 'Tila: :job',
'moved' => 'Työ :job siirretty tilaan :status.',
'not_moved' => 'Työtä ei siirretty. Päivitä sivu ja yritä uudelleen.',
'billing_not_allowed' => 'Työtä :job ei siirretty: tilan :status voi asettaa vain johto tai työn laskuttaja.',
'unlock_not_allowed' => 'Työtä :job ei siirretty tilaan :status: valmiin työn tunnit ja kulut on lukittu, ja lukituksen voi avata vain johto.',
'toolbar' => 'Taulun suodattimet ja näkymäasetukset',
'board_label' => 'Taulu',
'board_mine' => 'Oma taulu',
'board_person' => 'Henkilö: :name',
'board_unit' => 'Palvelulinja: :name',
'board_all' => 'Kaikki työt (yritys)',
'view_label' => 'Näkymäputki',
'views' => [
'production' => 'Päivittäinen työputki',
'sales' => 'Myynti & Tarjoukset',
'full' => 'Täysi tilaputki',
],
'quote_count' => '{0} ei tarjouksia|{1} :count tarjous|[2,*] :count tarjousta',
'only_urgent' => 'Vain kiireelliset',
'only_late' => 'Myöhässä',
'showing' => '{0} Näytetään 0 korttia|{1} Näytetään :count kortti|[2,*] Näytetään :count korttia',
'density' => 'Korttien tiheys',
'density_normal' => 'Normaali',
'density_compact' => 'Tiivis',
'new_job' => 'Uusi työ / Pikavastaanotto',
'column_names' => [
'quotes' => 'Tarjoukset',
'prospect' => 'Prospekti',
'tentative' => 'Alustava',
'quote_request' => 'Tarjouspyyntö',
'order' => 'Jonossa',
'in_production' => 'Työn alla',
'in_production_urgent' => 'Työn alla • Kiire',
'on_hold' => 'Odottaa asiakasta',
'done' => 'Valmis • Laskuta',
'invoiced' => 'Lasku luotu',
'billed' => 'Laskutettu',
'ongoing' => 'Jatkuvat & Kausi',
],
'threshold_button' => 'Valitse Kiire-listaan nostettavat prioriteetit',
'threshold_heading' => 'Nosta listaan prioriteetit:',
'thresholds' => [
'immediate' => 'Vain Heti',
'urgent' => 'Kiire & Heti',
'first' => 'Ensin, Kiire & Heti',
],
'sort_button' => 'Listan :column järjestys: :sort',
'sort_heading' => 'Listan järjestys:',
'sorts' => [
'manual' => 'Oma järjestys (raahattava)',
'due_date' => 'Eräpäivän mukaan',
],
'color_button' => 'Vaihda listan :column otsikkoväri',
'color_title' => 'Listan väri: :column',
'customer_color_button' => 'Vaihda asiakkaan :customer otsikkoväri',
'customer_color_title' => 'Asiakkaan :customer väri (Kanban ja tuntikirjaus)',
'drag_hint' => 'Klikkaa avataksesi työn tai raahaa siirtääksesi',
'due' => 'DL :date',
'late' => 'Myöhässä (:date)',
'hours' => ':logged/:estimated h',
'tasks_toggle' => 'Tehtävät (:done/:total)',
'tasks_compact' => 'Näytä tehtävät (:done/:total)',
'periods' => ':done/:total jaksoa',
'next_up' => 'Seuraava vuorossa:',
'mark_done' => 'Kuittaa valmiiksi',
'mark_done_label' => 'Kuittaa valmiiksi: :task',
'pin' => 'Nosta putkeen',
'pin_label' => 'Nosta tehtävä :task työputkeen omaksi kortikseen',
'unpin' => 'Vapauta PIN',
'unpin_label' => 'Vapauta tehtävä :task työputkesta',
'all_periods' => 'Kaikki jaksot & tehtävät (:done/:total)',
'new_task' => 'Uusi tehtävä tai jakso',
'new_task_label' => 'Lisää uusi tehtävä tai jakso työlle :job',
'add_task' => 'Lisää',
'pin_new' => 'Nosta heti työputkeen (PIN)',
'task_card' => 'Tehtävä • PIN',
'release' => 'Vapauta',
'open_job' => 'Avaa työ :job',
'reordered' => 'Kortin paikka päivitetty listassa :column.',
'switched_to_manual' => 'Kortti siirretty listaan :column (järjestys: oma järjestys).',
'cannot_move' => 'Korttia ei voi siirtää listaan :column.',
'priority_raised' => 'Työ :job siirretty Kiire-listaan (prioriteetti nostettu: :priority).',
'priority_lowered' => 'Työ :job siirretty normaalille Työn alla -listalle.',
'task_moved' => 'Tehtävä :task siirretty listaan :column.',
'task_done' => 'Tehtävä :task kuitattu valmiiksi.',
'task_reopened' => 'Tehtävä :task palautettu avoimeksi.',
'task_pinned' => 'Tehtävä :task nostettu työputkeen.',
'task_unpinned' => 'Tehtävä :task vapautettu työputkesta takaisin sopimuskortille.',
'task_added' => 'Tehtävä :task lisätty työlle :job.',
'task_title_required' => 'Anna tehtävän nimi.',
'no_work_type' => 'Työn palveluyksiköllä ei ole työtehtäviä. Lisää tehtävä työn sivulta.',
'threshold_saved' => 'Kiire-listaan nousevat nyt: :threshold.',
'sort_saved' => 'Listan :column järjestys: :sort.',
'color_saved' => 'Listan :column otsikkoväri tallennettu.',
'color_reset' => 'Listan :column otsikkoväri palautettu oletukseksi.',
'customer_color_saved' => 'Asiakkaan :customer väri tallennettu.',
'invalid_color' => 'Väri ei kelpaa.',
'density_saved' => 'Korttien tiheys: :density.',
],
'calendar' => [
@@ -418,6 +513,7 @@ return [
'done' => 'Valmis',
'invoiced' => 'Lasku luotu',
'billed' => 'Laskutettu',
'ongoing' => 'Jatkuvat / Kausi',
'archived' => 'Arkistoitu',
],
+12
View File
@@ -56,5 +56,17 @@ return [
'theme_system' => 'Järjestelmän mukainen',
'selected' => '(valittu)',
],
'color_picker' => [
'presets' => 'Pikavärit',
'preset' => 'Valitse väri :color',
'free' => 'Vapaa värivalitsin',
'red' => 'R (0–255)',
'green' => 'G (0–255)',
'blue' => 'B (0–255)',
'preview' => 'Esikatselu',
'apply' => 'Käytä väriä',
'reset' => 'Palauta oletusväri',
],
'close' => 'Sulje',
'opens_in_new_window' => 'avautuu uuteen ikkunaan',
];