Add auto-save option by mattdawkins · Pull Request #1580 · Kitware/dive

and others added 2 commits

January 24, 2026 14:29
Adds a new setting to automatically save annotation changes after a 2-second
debounce delay. The feature batches rapid edits to reduce server requests and
respects readonly mode. Disabled by default for backward compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add auto-save toggle to desktop Settings view under Annotation Settings
- Add Annotation Settings section to web-girder Settings view with
  multi-camera toolbar and auto-save toggles
- Change save icon to show gear (mdi-content-save-cog) when auto-save
  is enabled to visually indicate automated saving is active

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

@mattdawkins @claude

The save() function was unconditionally exiting editing mode before
saving, which caused issues when auto-save was enabled: users would
be kicked out of polygon/segmentation editing mode after 2 seconds
when auto-save triggered.

Added an optional exitEditingMode parameter (defaults to false) so
auto-save no longer disrupts the user's editing session.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

naglepuff