Commit Graph

8 Commits

Author SHA1 Message Date
Michel Weststrate
8f056646d9 Back out "auto start server"
Summary:
Original commit changeset: 2c11e80429a2

Original Phabricator Diff: D50074673

lblasa got reports it doesn't always work (possibly permission issues)

Reviewed By: lblasa

Differential Revision: D50259755

fbshipit-source-id: 1cd5f92c4e6e40a06340ecfebea01b899ac1cc85
2023-10-13 07:54:20 -07:00
Michel Weststrate
0c701eeffb auto start server
Summary:
This will automatically invoke the "Start" button if Flipper detect it is offline, to automate that step. It will do so only once

(safe for the reload logic that also triggers on server errors, not sure if that was intentionally?)

Reviewed By: lblasa

Differential Revision: D50074673

fbshipit-source-id: 2c11e80429a2c4ed0e43e62cb2f6057fad5eb410
2023-10-11 11:46:23 -07:00
Lorenzo Blasa
36495fca34 Change style of button when clicked
Summary: Change style of the button once disabled.

Reviewed By: antonk52

Differential Revision: D49960254

fbshipit-source-id: 048fc3b8cc78d7f2a5b167bee30d664344cbe90d
2023-10-05 15:57:23 -07:00
Lorenzo Blasa
f21bb817e0 Change button title when clicked
Summary: Change the button title when clicked.

Reviewed By: mweststrate

Differential Revision: D49954493

fbshipit-source-id: 3d689effc0cc5587ab8a07901b66139577b21837
2023-10-05 08:04:34 -07:00
Lorenzo Blasa
4ff9279a0b Offline troubleshoot when server disconnects
Summary:
If there server disconnects, we used to show a red box message on the lower left section of the screen. It didn't say much other than the server had disconnected.
If you are aware of what the server is, then you may try to manually restart it.

Instead of doing that, a much better experience is to show the no connection troubleshoot with the button to start the server or with instructions on how to achieve this.

Reviewed By: antonk52

Differential Revision: D48467308

fbshipit-source-id: 0ffded95789c7548d9f1e1a9127409e02e72ab8c
2023-08-18 07:59:51 -07:00
Lorenzo Blasa
c431969dde 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
2023-06-14 04:44:51 -07:00
Lorenzo Blasa
e272705af3 Add button to attempt start Flipper server
Summary: If Flipper server is not running, the offline landing site will offer an option to start it by trying to open 'start-server' under the `flipper-launcher://` scheme.

Reviewed By: mweststrate

Differential Revision: D45950872

fbshipit-source-id: 0d4e22c8474413e914c3c7b4fc9154ae628a8b42
2023-05-17 11:01:37 -07:00
Lorenzo Blasa
c6d5eb3334 Flipper as PWA
Summary:
^

Reference: https://docs.google.com/document/d/1flQJUzTe4AuQz3QCpvbloQycenHsu7ZxbKScov7K7ao

Reviewed By: passy

Differential Revision: D45693382

fbshipit-source-id: 5a2e6c213a7e7e2cf9cd5f3033cff3e5291a2a92
2023-05-16 04:32:47 -07:00