Timeline: "events as context" overlay in document search #784
Reference in New Issue
Block a user
Delete Branch "%!s()"
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
A low-emphasis toggle in the document-search header that interleaves timeline events (derived life-events + curated personal/historical events) as inline context markers into the date-sorted result list on
/documents. It is a second consumer of the existingTimelineEventdata — explicitly not a new date-bucketing or rendering stack.This came out of a design discussion: the question was whether the dedicated
/zeitstrahlview could be replaced by extending the search view (which already buckets by month viaTimelineDensityFilter) with a toggle. Conclusion: keep the standalone Zeitstrahl (it is the home for the per-person Lebensweg, empty-but-meaningful year bands, and historical events with no associated letters), and add this overlay as a cheap follow-up that reuses the same backend. Share the engine, not the surface.Depends on
TimelineEvententity + Flyway migration (the data source)/zeitstrahlview (#779) landing first — this is a follow-up, not a parallel buildScope
/documentssearch header (e.g. "Ereignisse als Kontext zeigen").DocumentListrows: derived events (Geburt / Tod / Heirat) and curatedPERSONAL/HISTORICALevents, each with its precision-aware date label.TimelineEventbackend and the shared date formatter (#778). No new bucketing logic, no new entity, no new endpoint if the existingGET /api/timelinefilters suffice.Honest caveats (intended behaviour, not bugs)
Out of scope
TimelineDensityFilterscrubber histogram.Timeline: "events as context" overlay in document searchto Timeline: "events as context" overlay in document searchScrapped (2026-06-08): the document search stays focused on documents. Weaving timeline-event context into the result list risked muddying a tool that does one thing well — discovery/filtering of letters. The event "context" layer remains the job of the standalone Zeitstrahl (
/zeitstrahl) and the per-person Lebensweg (#782). Closing as not planned.