Description:
Navigating away from a draft that was opened but never modified incorrectly triggers a "save your changes" prompt. No edits were made.
Current/Expected Behavior:
Current: Opening a saved draft and immediately navigating away prompts to save changes.
Expected: No prompt appears if the draft was not modified.
Acceptance Tests:
- Create a draft, save it, reopen it, and navigate away without editing — no unsaved changes prompt appears
- Editing a reopened draft and navigating away still triggers the prompt
Notes:
The dirty state check may be comparing a stale saved-at timestamp against the draft's auto-updated timestamp, producing a false positive diff on open.
Description:
Navigating away from a draft that was opened but never modified incorrectly triggers a "save your changes" prompt. No edits were made.
Current/Expected Behavior:
Current: Opening a saved draft and immediately navigating away prompts to save changes.
Expected: No prompt appears if the draft was not modified.
Acceptance Tests:
Notes:
The dirty state check may be comparing a stale saved-at timestamp against the draft's auto-updated timestamp, producing a false positive diff on open.