Implement start-up flow
Notes:
- Cache the values of
pulseIsInitialised
andhasWaystoneAccount
in the user preferences but only rely on them to test for positive state (i.e., has been done) not for negative state (i.e., has not been done). This is because the user might have installed Heartbeat previously on the same machine and there might already by a valid Pulse installation that’s hooked up to a Waystone account in their container folder. Checking for positives will speed up boot time once the person’s Pulse instance is instantiated and they have signed up for a Waystone account.
Related to
- Heartbeat Node Issue 32 https://source.ind.ie/project/heartbeat-node/issues/32