Feature Request - Down For Maintenance Switch

Lots of times i need to handle large data set upgrades that take time on a live website.

It would be good to allow for a down for maintenance setting that functions site-wide and at the click of a button under the Settings tab.

Better yet, have it down for maintenance until a specified time, or if you want to get real creative after the completion of a scheduled api workflow.

@emmanuel

Can’t you add a script in the header of the app to point to a page to look like under maintenance

window.location.replace(“https://…”)

Can’t you just put a workflow on every page that says when ‘down for maintenance’ switch is on, navigate to a ‘down for maintenance’ page if the user status is not admin.

2 Likes

yes but with this i can dynamically change the HTML to reflect anything from out of service to the weather depending on my needs, you could even make this a kick message and set the HTML to reflect this and based on anything including a certain text being typed in a text box throw this as a condition to “yes” so the site is displaying this to only that user, you can go further and changes that users field to keep them locked out.

Also this method rewrites the entire html for the page so that no div or element data is left to inspect, it also gives me the ability to have components of the page dynamic - as in “sorry @stephencharles, this page is not available right now”

Using this i can also use the custom html to include anything bubble wont display or run, flip a state for the current user so it only effects them, have them on my new custom tool page without looking like they have changed sites and then have a return button that accesses an api workflow to allow the return.