[COMPASS-3860] New connect screen favorites issues Created: 30/Aug/19  Updated: 29/Oct/23  Resolved: 10/Sep/19

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

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File Aug-30-2019 09-42-57.gif     File favorite-created-brand-new.json     File favorite-migrated.json     PNG File screenshot-1.png     PNG File screenshot-2.png     PNG File screenshot-3.png     PNG File screenshot-4.png    
Issue Links:
Issue split
split to COMPASS-3867 UI fixes Closed
Epic Link: COMPASS-1173
Sprint: Iteration Manatee

 Description   

Legend

= blocker
= major, acceptable in beta but can't make it into a stable build
= I can live with it


When I start Compass from master, I first get several keychain password requests. Then, after Compass loads and the connect screen is displayed, I get more password requests. This happens also after restarting Compass.

Update: the double round of keychain requests does not happen anymore, but I still see one round of keychain requests every time I open Compass. That's why I put COMPASS-3235 into the sprint.

New Connection in the sidebar remains selected after clicking on a favorite

When selecting existing favorites that were migrated, the SSL configuration does not seem to be set so the connection fails.

For existing favorites that were migrated I don't seem to be able to connect to Atlas, even after setting the SSL configuration manually

If I copy-paste a connection string from the Atlas UI and add the right username/password to it Compass connects successfully. I am not sure if maybe the SSL configuration is not being passed into the connection model. Attaching an example of favorite that was migrated ( favorite-migrated.json ) vs the same favorite re-created by copy-pasting the connect string from Atlas ( favorite-created-brand-new.json ).

Not sure what to do about this, but password is displayed in clear text when switching to connection string view

When I select a favorite and switch to "connection string view" I am actually switched back to "new connection"

When I select a favorite, it is displayed by default in "individual fields" mode. When I click on "Paste connection string", I am switched to creating a new connection.
This could make sense and might also somehow solve the problem above (password in clear text) but the UX feels a bit weird.
There is also a use-case of users wanting to copy the connection string to use e.g. with the shell that we may want to keep in mind.



 Comments   
Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Don't highlight new connection when favorite
Branch: COMPASS-3823_oss
https://github.com/10gen/compass/commit/963056f6ada2846ce6d5f1d512ee9297baae8a45

Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Fix SSL field connection migration
Branch: COMPASS-3823_oss
https://github.com/10gen/compass/commit/377eba55e5ca254bea51241bb54dc77bb88a4ca6

Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Load secure items via IPC from main process
Branch: COMPASS-3823_oss
https://github.com/10gen/compass/commit/a108124746fc37e0698fd23d2abab00d67ff1722

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Don't highlight new connection when favorite
Branch: master
https://github.com/10gen/compass/commit/963056f6ada2846ce6d5f1d512ee9297baae8a45

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Don't highlight new connection when favorite
Branch: fix-favourites
https://github.com/10gen/compass/commit/a42204a3648674aaa9d5a3c1ab825b8fa055e84d

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Fix SSL field connection migration
Branch: master
https://github.com/10gen/compass/commit/377eba55e5ca254bea51241bb54dc77bb88a4ca6

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Fix SSL field connection migration
Branch: fix-ssl-migration
https://github.com/10gen/compass/commit/dfcc5da9894389dc720115276f82d8b0d75f38b1

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Load secure items via IPC from main process
Branch: master
https://github.com/10gen/compass/commit/a108124746fc37e0698fd23d2abab00d67ff1722

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Load secure items via IPC from main process
Branch: COMPASS-3860
https://github.com/10gen/compass/commit/09a4ebd4514323c3045503845b88c17d650a5ff4

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3860: Load secure items via IPC from main process
Branch: COMPASS-3860
https://github.com/10gen/compass/commit/9a8e8d03ae58325debe9e7eeb4a8a8b4332b5997

Comment by Githook User [ 09/Sep/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3860: Allow secure backend via IPC in Electron
Branch: master
https://github.com/mongodb-js/data-service/commit/aabeff3dca220899d777d714630a37d400acd918

Comment by Githook User [ 09/Sep/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3860: Allow secure backend via IPC in Electron
Branch: master
https://github.com/mongodb-js/connection-model/commit/96aac0026a556686913a8665a9b58962c1412cf0

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