mljar / mercury

Convert Jupyter Notebooks to Web Apps

Home Page:https://RunMercury.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable page refresh on disconnect?

kapily opened this issue · comments

Is there an option to prevent page refresh on disconnect? Currently, mercury refreshes the page when it loses connection to the server.

For my use case, I want to persist whatever is on the page if the connection gets lost.

It would also be nice to not "gray-out" the screen.

Use case: a page takes a long time to render and there's no need to refresh it afterwards. The server is flaky and loses connection sometime and I don't want to lose the contents of the webpage when the connection the server is bad

I realized I actually filed a bug about this earlier:
#365