From c431969dde26fde5f282282de28bcd9253d41265 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Wed, 14 Jun 2023 04:44:51 -0700 Subject: [PATCH] Improved offline page Summary: This change improves our offline page. Mainly: - Remove Oops! wording as it may imply some error took place. - Remove the reload button. Automatic reload takes place at 2.5s intervals so this is unnecessary. Changelog: Improved offline page (reload button removal) Reviewed By: antonk52 Differential Revision: D46720650 fbshipit-source-id: 522f86d1a4d3d4b091672077cba1a26f898d19e8 --- desktop/static/offline.html | 16 ++++------------ desktop/static/service-worker.js | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/desktop/static/offline.html b/desktop/static/offline.html index d415888e3..281d63694 100644 --- a/desktop/static/offline.html +++ b/desktop/static/offline.html @@ -73,22 +73,18 @@
- Oops! It seems Flipper is not running in the background + Flipper is not running in the background -

Flipper can be started by clicking the button below.

+

It can be started by clicking the button below.

Flipper will automatically reload once the connection is re-established. - Click the button below to try reloading manually.

- - - -

Also, you can manually start Flipper. - From the terminal, please run:

+

If is taking a bit longer than it should, you can manually start Flipper.

+

From the terminal, please run:

@@ -103,10 +99,6 @@