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

HealthGate should be HealthOverlay #730

@amaury1093

Description

@amaury1093

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions