[COMPASS-4393] Let connecting not be blocking Created: 26/Aug/20  Updated: 16/Mar/21  Resolved: 05/Feb/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.26.0

Type: Story Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-4568 Remove `data-service-initialized` eve... Closed
is depended on by COMPASS-4608 Ensure we can load instance details b... Closed
Duplicate
is duplicated by COMPASS-4237 "New connection" process cannot be in... Closed
Related
related to COMPASS-4645 Modal window shows different info whe... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
COMPASS-4583 Move loading instance details into th... Sub-task Closed  
Epic Link: COMPASS-4362
Story Points: 5
Documentation Changes: Not Needed
Sprint: Iteration Tangerine, Iteration Uglifruit, Iteration Vegetable

 Description   

It looks like there are cases where connecting to a connection can get into an unexpected state: https://jira.mongodb.org/browse/COMPASS-4219 

In these cases, where the connection is still occurring after the connection's timeout has elapsed, we can cancel the request, show a connection error, and free up the UI so that the user isn't blocked. We've done something a bit similar with VSCode: https://jira.mongodb.org/browse/VSCODE-155 
It would also be good to know what's causing the actual issue in the https://jira.mongodb.org/browse/COMPASS-4219 ticket, so lets look around a bit. This ticket is more for ensuring the user's experience is never interrupted from a stalled state.

This ticket should also take into consideration specific timeouts the user may have added to the connection (we don't want to unblock/cancel the connection request if there is a manually added really long timeout on the connection). 



 Comments   
Comment by Githook User [ 05/Feb/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-connect): Add cancelling connection attempt functionality COMPASS-4393 (#2113)
Branch: master
https://github.com/mongodb-js/compass/commit/474933c70c647df7bcff66c933ae72cef23bdeb0

Generated at Wed Feb 07 22:36:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.