Receive a notification if the session has expired when you press the "Edit" button so you don't lose any work afterwards #4400

Open
opened 2026-02-05 08:48:05 +03:00 by OVERLORD · 0 comments
Owner

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?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

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? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 08:48:05 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4400