Summarize short durations with moments at every zoom level
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
A duration shorter than the grouping distance collapses: it is grouped like a moment by its start instead of being drawn as a band. Collapsed durations form anchored-span clusters, which then coalesce with nearby moment summaries while the merged group spans less than the threshold. Groups report moments and collapsed durations separately; a lone collapsed duration renders as a capsule marker that opens the duration, and other summaries list the durations inside them. The interval tree now caches subtree start bounds, counts and extent ranges so dense clusters are consumed whole. PostgreSQL computes clusters in `oc_duration_overview`, SQLite in the native query, and the browser in `TimelineIndex.frame`; bands exclude collapsed durations at the database. `npm run migrate` rebuilds older duration indexes. Fixes #24 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Ti36soiZpKdSxKfvQLEcfY https://github.com/openchronology/timeline-app/commit/241263456950b5ebf3e37058d708f43ae2016816
Related
Open Summarize short durations with moments at every zoom level in the timeline