-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Connectivity
-
Labels:None
-
3
-
Not Needed
-
Iteration Q, Iteration Reno
Currently `compass-connect` handles the `app:disconnect` event and emits a `data-service-disconnected` event. Since we have a new `connections` package replacing `compass-connect` we need to handle this same behavior. We should either keep it feature flagged or ensure that the event is only handled once.
In this case, however, we should move this event handling to `compass-home` with the intent being that `connections` only handles creating/configuring a connection and connecting. This will reduce some coupling and preserving the state of this unmounted component. This ticket involves handling the disconnect event in Compass home and resetting the view to the connect screen, and ensuring the `data-service-disconnected` event is emitted since some plugins listen to it.