[COMPASS-5267] Use ConnectionStorage to save connections Created: 08/Nov/21  Updated: 01/Dec/21  Resolved: 23/Nov/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

Issue Links:
Depends
depends on COMPASS-5067 Use ConnectionStorage to load connect... Closed
is depended on by COMPASS-5255 Add `Duplicate` and `Remove` connecti... Closed
is depended on by COMPASS-5257 Implement New Connection tracking Closed
is depended on by COMPASS-5300 Add save and save and connect buttons Closed
Epic Link: COMPASS-4948
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Phnom Penh

 Description   

Saving events this will handle:

  • When a connection is connected to we always save the `lastUsed` field.
  • When a connection is not a favorite and successfully connected to we save it as a recent.

The other save events we can handle with COMPASS-5300 when we add the saving buttons:

  • When a favorite connection is edited we show a message prompt to save or discard changes.

Favorites ticket COMPASS-5277

  • When a connection is saved as a favorite.

The duplicate and remove connection saving events will happen in another ticket, COMPASS-5255



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

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: upgrade-react-ace
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 01/Dec/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: upgrade-react-ace
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 01/Dec/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: upgrade-react-ace
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: COMPASS-5231-add-general-tab-contents-to-connect-form
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: COMPASS-5231-add-general-tab-contents-to-connect-form
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: COMPASS-5231-add-general-tab-contents-to-connect-form
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: darkreader-darkmode-preview
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: darkreader-darkmode-preview
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: darkreader-darkmode-preview
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: compass-5211-async-sidebar
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: 1.29-releases
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: COMPASS-5257-connection-tracking
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: COMPASS-5257-connection-tracking
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 29/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: COMPASS-5257-connection-tracking
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 27/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2609)
Branch: main
https://github.com/mongodb-js/compass/commit/3e4450ea8171489b97ef76ddc5aab3e9acc03817

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: 1.29-releases
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: 1.29-releases
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: compass-5211-async-sidebar
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: compass-5211-async-sidebar
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)" (#2608)

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: main
https://github.com/mongodb-js/compass/commit/b5f656d6daba6b7160b32a3e974f8e69170c2bbb

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: Revert "feat(connections): Save connection on successful connection COMPASS-5267 (#2595)"

This reverts commit c7c5910e9b65ef2f82df37c55d31fd7fbbabc567.
Branch: revert-2595-COMPASS-5267-save-connections
https://github.com/mongodb-js/compass/commit/bd06f4fcb53670ce38febaff898da5ddf2a1e7ae

Comment by Githook User [ 23/Nov/21 ]

Author:

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

Message: feat(connections): Save connection on successful connection COMPASS-5267 (#2595)
Branch: main
https://github.com/mongodb-js/compass/commit/c7c5910e9b65ef2f82df37c55d31fd7fbbabc567

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