Track preschool planning days, partner invites and real vacation forfeiture

Three strands of work that grew together across the same settings screen and
API client, so they land as one change.

Per-year preschool planning days ("studiedagar"): new table, repository
(SQLite + Postgres), service, router and migration 007, plus the hooks and
Settings UI to plan and record them per child and year. Allocation now
reserves the recorded figure for a year where one exists and only falls back
to the child-level estimate otherwise, marking that fallback as assumed.

Partner invitations: workspaces issue and list invitations, registration
accepts an invite token to join the inviter's workspace instead of creating a
personal one, and a /join/:token page plus the settings invite panel drive it.

Vacation forfeiture: tips and the dashboard now distinguish days a parent
genuinely loses from days that merely age, so the warning stops firing on
balances that were never at risk.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-20 11:22:07 +02:00
parent 6904961bb4
commit 0e9b20ec37
88 changed files with 5301 additions and 348 deletions
+11
View File
@@ -385,6 +385,17 @@
margin-right: var(--sp-2);
}
/* Explains a warning figure (e.g. why vacation days expire) directly under
* its value, so a bare red number is never left unaccounted for. */
.year-row__cell-detail {
display: block;
margin-top: 2px;
font-weight: 400;
font-size: var(--fs-sm);
color: var(--c-text-muted);
white-space: normal;
}
.year-row__wishes-title {
margin: 0 0 var(--sp-2);
font-size: var(--fs-sm);