[COMPASS-6293] Reset auto-connect information after first connection Created: 11/Nov/22  Updated: 29/Oct/23  Resolved: 16/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5816
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Octopus

 Description   

See https://mongodb.slack.com/archives/G2L10JAV7/p1668095484993059 – we only want Compass to automatically connect the first time it opens a window, and not e.g. when it is closed on macOS and re-opened.

Ideally this means:

  • Open Compass on the connection screen if it’s a new window
  • Open Compass in auto-connect mode if it’s a window that was started as auto-connect and is being reloaded (CmdOrCtrl+Shift+R)
  • Open Compass on the connection screen if it’s a window that was not started as auto-connect or the user has disconnected on this window at least once


 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 18/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: reduce-collection-header-size
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: update-compass-instance-to-shared-config
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: COMPASS-6220-update-import-components
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: compass-validation-components
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: COMPASS-6298-pipeline-tests
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 16/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293 (#3747)
Branch: main
https://github.com/mongodb-js/compass/commit/91daa029e219b08cf0b775b6648d35867f2272d0

Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix: only auto-connect in 1st window and not after disconnect COMPASS-6293
Branch: 6293-dev
https://github.com/mongodb-js/compass/commit/21f0145e7cb637a47862f9f75f870dcd3c678915

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