[COMPASS-5301] Handle `app:disconnect` event outside of `compass-connect` Created: 17/Nov/21 Updated: 20/Dec/21 Resolved: 03/Dec/21 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Connectivity |
| Affects Version/s: | None |
| Fix Version/s: | 1.31.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rhys Howell | Assignee: | Rhys Howell |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-4948 |
| Story Points: | 3 |
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Q, Iteration Reno |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 20/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |
| Comment by Githook User [ 13/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |
| Comment by Githook User [ 09/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |
| Comment by Githook User [ 07/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |
| Comment by Githook User [ 03/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |
| Comment by Githook User [ 03/Dec/21 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(compass-home): handle disconnect in compass-home with new connect form |