We want to be able to update the server to display a warning message to users when we plan to do heavy maintenance that could affect the user's work. If a graph is open and being currently edited by users when maintenance is live, they may lose those unsaved changes.
Example:
Fixes #434 .
Approach
Uses a script to change environment variables for a Boolean variable for existence of scheduled maintenance, and 2 variables for a start and end date of the maintenance. The environment variables are loaded into the project via base.py and a partial was created to display the yellow warning message on the top of the page.
Open Questions and Pre-Merge TODOs
Learning
Blog Posts
How to Pull Request Github Repo with Learning focused Pull Request Template.
Please make some minor changes: "Please note that GraphSpace will be unavailable due to scheduled maintenance from {{ maintenance_start_datetime }} to {{ maintenance_end_datetime }}."
Purpose
We want to be able to update the server to display a warning message to users when we plan to do heavy maintenance that could affect the user's work. If a graph is open and being currently edited by users when maintenance is live, they may lose those unsaved changes.
Example: Fixes #434 .
Approach
Uses a script to change environment variables for a Boolean variable for existence of scheduled maintenance, and 2 variables for a start and end date of the maintenance. The environment variables are loaded into the project via base.py and a partial was created to display the yellow warning message on the top of the page.
Open Questions and Pre-Merge TODOs
Learning
Blog Posts