feat(salary): concept Löner landing + nav collapse animation (UI migration PR 9) (#1130)
* feat(salary): concept scene 22 landing + smoother nav collapse Loner gets the concept header (quiet Anstallda link + Starta lonekorning primary), the hero de-cards to a flat serif line + description + pill, and the runs list becomes the scene 22 dry-table (Period, Status, Anstallda, Bruttolon, Netto) where booked runs read as muted text and in-flight runs carry a chip plus the payout date. Attention cards and the hero state machine survive unchanged. Nav polish: the collapse now animates as one movement (300ms decelerating curve on both the aside width and the panel margin) and the rail/full contents slide+fade in on swap; the Register/Bokslut folds match the RowFoldout timing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * refactor(salary): strip hero and attention cards from the landing Founder direction: the Loner landing is header + lonekorningar only (concept scene 22). The open run's table row is the entry point; AGI, skatt, blockers and semester surfaces live on the run detail and the employee register. Drops the hero state machine, the four cards, and all their data plumbing (deadlines query, tax-payment chain, SKV status, AGI submission hook). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(salary): drop the Lonekorningar eyebrow Founder feedback: the uppercase eyebrow read as a stray font above the table, and with the landing reduced to the runs table alone the label is redundant under the Loner page title. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(salary): populate the Anstallda column via a count embed The runs list selected bare salary_runs rows, so the landing's Anstallda column was always empty (the employees array only ever existed on the detail response). The list now embeds employee_count via salary_run_employees(count) and the page reads the PostgREST count shape. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(salary): quiet beige chip for in-flight run states Founder feedback vs the concept: the Granskning chip rendered as the bordered ochre warning badge and read noisy next to the concept's quiet Utkast chip. Draft/review/approved now all wear the beige secondary chip; the payout-date note carries the urgency. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
658c274d97
commit
2175eccddd
+3
-1
@@ -5258,7 +5258,9 @@
|
||||
"status_approved": "Approved",
|
||||
"status_paid": "Paid",
|
||||
"status_booked": "Posted",
|
||||
"status_corrected": "Corrected"
|
||||
"status_corrected": "Corrected",
|
||||
"th_employees": "Employees",
|
||||
"run_payout_note": "payout {date}"
|
||||
},
|
||||
"salary_run": {
|
||||
"title": "Payroll run {period}",
|
||||
|
||||
+3
-1
@@ -5258,7 +5258,9 @@
|
||||
"status_approved": "Godkänd",
|
||||
"status_paid": "Betald",
|
||||
"status_booked": "Bokförd",
|
||||
"status_corrected": "Korrigerad"
|
||||
"status_corrected": "Korrigerad",
|
||||
"th_employees": "Anställda",
|
||||
"run_payout_note": "utbetalning {date}"
|
||||
},
|
||||
"salary_run": {
|
||||
"title": "Lönekörning {period}",
|
||||
|
||||
Reference in New Issue
Block a user