feat(web): family relations section with i18n en/de/da (spec 063 T003) #1237

Merged
chris merged 2 commits from feat/063-person-relations-web into main 2026-10-15 19:23:09 +02:00
Owner

Spec 063 — family relations between persons (web lane).

  • API client lib/api/person-relations.ts: GET/POST/DELETE wire contract, 13 storable types + 4 neutral inverse render tokens, 409 conflict message extraction (flat + ProblemDetail bodies)
  • Family section on the people instance detail page: rows with avatar fallback chain, localized type label (emerald eyebrow), link to opposite person, remove with dissolve-style confirmation; add dialog with relation-type dropdown + shared PersonTargetPicker (active, named, non-stashed, excludes current person; self person selectable); 409 messages inline via role=alert
  • i18n: 32 keys per locale en/de/da with parity (da: Kæreste, Ægtefælle, mor, far, barn, bror, søster, bedstemor, bedstefar, barnebarn, svigermor, svigerfar, svigerbarn; de: Partner/in, Ehepartner/in, Mutter, Vater, Kind, Bruder, Schwester, Großmutter, Großvater, Enkelkind, Schwiegermutter, Schwiegervater, Schwiegerkind)
  • Validation: svelte-check 0 errors, build green, 246 unit tests green incl. 7 new client tests, hardcodedGuard green

Requires the API from feat/063-person-relations-api (#1236) — merge that first.

Spec 063 — family relations between persons (web lane). - API client lib/api/person-relations.ts: GET/POST/DELETE wire contract, 13 storable types + 4 neutral inverse render tokens, 409 conflict message extraction (flat + ProblemDetail bodies) - Family section on the people instance detail page: rows with avatar fallback chain, localized type label (emerald eyebrow), link to opposite person, remove with dissolve-style confirmation; add dialog with relation-type dropdown + shared PersonTargetPicker (active, named, non-stashed, excludes current person; self person selectable); 409 messages inline via role=alert - i18n: 32 keys per locale en/de/da with parity (da: Kæreste, Ægtefælle, mor, far, barn, bror, søster, bedstemor, bedstefar, barnebarn, svigermor, svigerfar, svigerbarn; de: Partner/in, Ehepartner/in, Mutter, Vater, Kind, Bruder, Schwester, Großmutter, Großvater, Enkelkind, Schwiegermutter, Schwiegervater, Schwiegerkind) - Validation: svelte-check 0 errors, build green, 246 unit tests green incl. 7 new client tests, hardcodedGuard green Requires the API from feat/063-person-relations-api (#1236) — merge that first.
feat(web): family relations section with i18n labels en/de/da (spec 063 T003)
Some checks failed
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Failing after 9m1s
fa48e024fd
Family section on the people instance detail page: relation rows with
avatar + localized type + link to the opposite person, add dialog
(relation type + person picker), remove with confirmation, 409 messages
inline. API client in lib/api/person-relations.ts, 32 i18n keys per
locale, 7 client unit tests.
test(web): mock relations GET in instance-detail route shells (spec 063)
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 8m7s
ef696f3c1e
The lazy GET /api/persons/{id}/relations on people instance pages was
unmocked in E2E, rendering the relations error banner (role=alert) and
breaking 6 assignment-history tests. Mock it in routeShellApis of the
two affected spec files.
chris merged commit 4cdf0d8e8a into main 2026-10-15 19:23:09 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1237
No description provided.