Marcel
a25408d4d7
test(routes): expand aktivitaeten page coverage
...
loadError branches (FuerDichBox skipped vs shown), first-run vs
filter-empty empty-state variants, timeline rendering when feed
has items, FilterPills + FuerDichBox conditional render.
7 tests covering ~12 branches in the page file.
Refs #496 .
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-11 21:50:28 +02:00
Marcel
3891cb79b4
test(aktivitaeten): smoke-cover the page with mocked notification store
...
Mounts the aktivitaeten page with mocks for the notification SSE
singleton (init/destroy/markRead/markAllRead) and $app/state. Verifies
heading renders, error state renders main element, empty state renders
main, and a non-default filter renders without crashing.
4 tests covering the orchestration entry path.
Refs #496 .
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-11 21:50:28 +02:00
Marcel
567612761d
refactor: move lib-root files to lib/shared/ and finalize domain structure
...
- Move api.server.ts, errors.ts, types.ts, utils.ts, relativeTime.ts to lib/shared/
- Move person relationship components to lib/person/relationship/
- Move Stammbaum components to lib/person/genealogy/
- Move HelpPopover to lib/shared/primitives/
- Update all import paths across routes, specs, and lib files
- Update vi.mock() paths in server-project test files
- Remove now-empty legacy directories (components/, hooks/, server/, etc.)
- Update vite.config.ts coverage include paths for new structure
- Update frontend/CLAUDE.md to reflect domain-based lib/ layout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-05 14:53:31 +02:00
Marcel
051d2f246e
refactor: move notification domain to lib/notification/
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-05 14:22:02 +02:00
Marcel
a843d27663
refactor: move activity domain components to lib/activity/
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-05 13:47:09 +02:00
Marcel
fd93f1a4da
feat(chronik): rename route and heading to Aktivitäten
...
CI / Unit & Component Tests (push) Failing after 2m48s
CI / OCR Service Tests (push) Successful in 31s
CI / Backend Unit Tests (push) Failing after 2m43s
/chronik → /aktivitaeten; heading updated in all three locales.
Component folder (lib/components/chronik/) stays unchanged — internal
implementation detail, not user-facing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-22 09:28:09 +02:00