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
Found during review of #456. Pre-existing on main.
Opening /edit/<recipe> shows "Saved" in the header with no edits made, meaning the autosave PUT runs on load (templates/edit.html, the onChange wiring near the editor initialisation). This rewrites the file's mtime on every open, which also affects the index's modified-date sort.
Fix: only schedule autosave when the content differs from originalContent, and do not treat the initial editor population as a change.
Activity
fix(editor): do not show Saved before any save