Persist undo and redo results immediately #7

Closed
opened 2026-09-03 07:35:19 +00:00 by phg · 0 comments
Owner

Context

Most mutating actions save immediately, but undo and redo currently change only in-memory application state. Disk and UI can disagree until Ctrl+S or another saving operation runs.

Acceptance criteria

  • A successful undo or redo in privileged mode immediately saves the resulting Hosts File.
  • Save failures are reported and leave the UI and disk in a defined, recoverable state.
  • Tests cover successful persistence and save failures.
  • Documentation no longer needs to describe the mixed persistence limitation.
Context Most mutating actions save immediately, but undo and redo currently change only in-memory application state. Disk and UI can disagree until Ctrl+S or another saving operation runs. Acceptance criteria - A successful undo or redo in privileged mode immediately saves the resulting Hosts File. - Save failures are reported and leave the UI and disk in a defined, recoverable state. - Tests cover successful persistence and save failures. - Documentation no longer needs to describe the mixed persistence limitation.
phg added the
Priority
High
Kind/Bug
labels 2026-09-03 07:35:19 +00:00
phg closed this issue 2026-09-03 17:43:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: phg/hosts#7
No description provided.