[COMPASS-5351] The sidebar isn't updated for empty URL as a favorite Created: 03/Dec/21  Updated: 29/Oct/23  Resolved: 07/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Alena Khineika Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-4948
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?
A new connection without URL can be saved to favorites but won't appear on the sidebar. A user can still connect and later see the saved connection after logging out and even use it to login (the default `mongodb://localhost` URL will be saved for such favorite).

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?
On the connection form:

  • click new connection
  • click favourite banner, add name and save it
  • favourite is being saved but doesn’t appear in the sidebar
  • click connect and then disconnect
  • favourite is on the sidebar

Expected Results

What do you expect to happen?
We either do not save empty connections to favorites, or we update the sidebar respectedly.

Actual Results

What do you observe is happening?
The favorite is not displayed immediately, only after disconneting.

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Rhys Howell [ 07/Feb/22 ]

This is fixed with the new connect form. A user can save an empty or invalid connection string and it immediately shows in the sidebar.

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