Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

HealthGate should be HealthOverlay #730

Open
amaury1093 opened this issue Jan 24, 2020 · 0 comments
Open

HealthGate should be HealthOverlay #730

amaury1093 opened this issue Jan 24, 2020 · 0 comments

Comments

@amaury1093
Copy link
Contributor

amaury1093 commented Jan 24, 2020

Right now, we have one HealthGate, which waits for the node to be sync before displaying any children. Once it's sync, one child is the ApiContext, which injects api everywhere.

But some stuff, like account creation, doesn't require ApiContext. So account creation screens should be accessible even if the node is still syncing.

We should instead do more or less like Fether: i.e. multiple overlays

  • <RequiredNodeConnected>: provider is able to ping the node
  • <RequiredSynced>: node is synced
  • <RequiredApiReady>: api has emitted isReady event

And most importantly, they should be overlays, aka still render the children.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant