Make job page task cards and change history collapsible

Task cards on the job page start collapsed and show the title, assignee,
due date and status; each opens on its own, so several can be open at
once, and "Expand all" / "Collapse all" open or close them together with
a status message. A card opens when focus moves into it. The change
history is a disclosure panel with the number of changes, closed by
default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-25 06:12:15 +02:00
co-authored by Claude Opus 5.5
parent 6936d0950b
commit 9a9935098c
3 changed files with 239 additions and 106 deletions
+5
View File
@@ -22,6 +22,10 @@ return [
'edit_title' => 'Muokkaa tehtävää',
'job_label' => 'Asiakastyö',
'empty' => 'Ei tehtäviä.',
'expand_all' => 'Laajenna kaikki',
'collapse_all' => 'Supista kaikki',
'all_expanded' => 'Kaikki tehtävät laajennettu.',
'all_collapsed' => 'Kaikki tehtävät supistettu.',
'not_allowed_yet' => 'Tehtäviä voi lisätä, kun työ on tarjouspyyntö-tilassa tai myöhemmässä tilassa.',
'created' => 'Tehtävä :title lisätty.',
'updated' => 'Tehtävä :title tallennettu.',
@@ -313,6 +317,7 @@ return [
'history' => [
'empty' => 'Ei muutoksia.',
'count' => '{0} (ei muutoksia)|{1} (1 muutos)|[2,*] (:count muutosta)',
'unlocked' => '(lukitus avattu)',
'created' => ':user loi työn :number.',
'changed' => ':field: :old → :new',