Cancel and undo moment edits without rebuilding indexes, and drop the blurred backdrop
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Cancelling a moment's edits, and undoing or redoing them, deleted the moment and put it back. Deleting a moment that durations or relationships follow marks their interval and edge indexes for rebuilding (#68), so the next frame rebuilt both from scratch: about 280 ms with 1,000 durations and 1,000 relationships, which made the CI UI gate fail now and then on cancel-moment. The moment as it was now replaces the edited one in place, as duration edits already did; only a moment going away is deleted. Dialog backdrops no longer blur the page: re-blurring the whole window whenever the timeline under it redraws delayed those frames by hundreds of milliseconds without a fast GPU. At 10,000 moments in the browser: cancel-moment 391 ms to 48 ms, typing 143 ms to 31 ms, undo-redo 26 ms. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/ef5a31ce7be8bb0318145ce196dba96026a36027