feat(timeline): show curator event note on Zeitstrahl (#844) #883
Reference in New Issue
Block a user
Delete Branch "feat/issue-844-event-note"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Threads the existing
TimelineEvent.descriptionfield through the list DTO and renders it as an expandable note on/zeitstrahlfor curated PERSONAL and HISTORICAL events.descriptionadded as nullable 18th field onTimelineEntryDTO;TimelineService.mapEvent()populates it, letters and derived events getnull;api.tsregenerated{...}interpolation — no{@html}(confirmed by grep gate)white-space: pre-lineapplied as inline style so newlines are preservedEventNotewired intoEventPill.svelte(PERSONAL) andWorldBand.svelte(HISTORICAL) below the title linearia-expanded=false)null, empty, or blank-only descriptions render nothingTest plan
TimelineServiceTest— 3 new unit tests (REQ-001): description populated, null when absent, null for lettersTimelineControllerTest— 1 new slice test: JSON includesdescriptionfield (REQ-001)event-note.svelte.spec.ts— 8 vitest-browser component tests (REQ-002–REQ-008): all passe2e/zeitstrahl-note.spec.ts— 2 Playwright tests: seed PERSONAL + HISTORICAL events with description via API, assert note appears under title on/zeitstrahlDoneCloses #844
🤖 Generated with Claude Code