You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn about unsaved changes before switching notes #20
Switching to another note (or creating a new one) silently discards pending edits. The editor resets its title and content when the active note changes, and there is no dirty tracking or warning anywhere.
Reproduced: type into a note, click another note, click back; the edit is gone.
Expected:
Track whether the editor has unsaved changes (title or content differ from the stored note)
Before switching notes or creating a new one with pending changes, show a dialog with Save / Discard / Cancel
Save persists and then continues; Discard continues without saving; Cancel stays on the current note
If the save fails, stay on the current note and surface the error
Warn on tab close (beforeunload) while there are unsaved changes
Activity