Skip to content

Implement a central state machine class #68

@martianboy

Description

@martianboy

Right now some Peanar components manage their own state of connectivity, while others rely on PeanarApp to see if we are connected. This has caused random logic be scattered across the codebase all doing the same thing in different ways.

The proposal is to add a ConnectivityState component that can be passed to other components, only to be mutated by Broker but subscribed to by any components that needs to know the connectivity state. More details to come later.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestepicissues that are larger and have multiple sub-issues.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions