mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-15 03:09:38 +03:00
Receive a notification if the session has expired when you press the "Edit" button so you don't lose any work afterwards #4400
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bkht on GitHub (Jan 11, 2024).
Describe the feature you'd like
If you press "Edit" you will not receive any notification if your session has expired.
Only after you click "Save Page" you will receive a notification, at which point you will also lose all your editing work.
Loosing your time and edit effort can be avoided by notifying an expired session at the time you press the "Edit" button.
If the "Edit" button is pressed, some communication with the server may take place to detect an expired session in time.
You can then login again and start to edit after that.
It would be a small change in code, but a big improvement for human kind.
Describe the benefits this would bring to existing BookStack users
The benefit would be to avoid the BookStack user to loose his spent time and effort after editing his document, discovering that his session expired not early then after hitting the "Save Page' button, while he just before already hit the "Edit" button already.
Can the goal of this request already be achieved via other means?
One should remember to safe the page first without changes to find out if the session expired or not. Or refresh a page you already see.
If your session turn out expired, login again and start editing again.
Have you searched for an existing open/closed issue?
How long have you been using BookStack?
Under 3 months
Additional context
No response