-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't workingdogfoodingIssues during dogfoodingIssues during dogfooding
Milestone
Description
When the user's session has expired and they attempt to save (via Ctrl+S or clicking the Save button), LeafWiki triggers a session refresh — but the content is not saved afterward, and no warning is shown.
This leads to silent data loss, especially frustrating after long editing sessions.
Current Behavior
- User edits a page
- Session expires in the background (JWT no longer valid)
- User presses
Ctrl+Sor clicks Save - Session is refreshed (token renewal)
- Editor returns to normal, but:
- Edited content is lost
- No error or warning is shown
Expected Behavior
- After successful session refresh:
- The original save action should be retried automatically, OR
- The user should be prompted to save again
- No user data should be lost if session refresh is triggered mid-save
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdogfoodingIssues during dogfoodingIssues during dogfooding