Let a duration end "now", while it is ongoing
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
A duration's end may be {"ongoing": true}: the current time, for work still in progress or history such as "2022–present" (#537). Only Gregorian timelines have a "now" (Unix seconds × scale + origin), so others refuse it, and a start cannot be ongoing. The interval trees cannot hold a time that moves, so the browser's index keeps ongoing durations beside its tree and resolves them at the page's clock for each frame: withOngoing and summariesWithOngoing join them to a window's ranking, counts and collapsed summaries. Bands fade out at "now", their times read "– now", the view redraws every 15 seconds while one is shown, and the duration dialog offers "Ongoing (until now)" for an end. The server refuses ongoing durations until its queries handle them, the next stage of #537. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/ba6ff63b1a59d3ba8389f983404965b9da4a31e6
Related
Open Let a duration end "now", while it is ongoing in the timeline