FourThievesVinegar / solderless-microlab

GNU Affero General Public License v3.0
67 stars 9 forks source link

BUG: As a user, I want the pages to refresh when the backend status changes #175

Open sparklestheunicorn opened 4 months ago

sparklestheunicorn commented 4 months ago

Currently, when loading the Microlab, the GUI can load before the backend. When this happens, the user can navigate to (for example) the recipes list page. It will show a loading message but that message will not update when the backend comes online.

It would be better if the page(s) refreshed when the service came online. This might mean creating a ServiceContext with the various status details - currently this state is kept in App.tsx.