[COMPASS-6493] Save aggregation that user is working on when they switch to another collection Created: 03/Feb/23  Updated: 14/Jun/23

Status: Open
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Sahi Muthyala Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: FY2024Q3-candidate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Story Points: 5

 Description   

Problem Statement/Rationale

Problem (actual result): If a user starts creating or editing an aggregation and then switches to another collection via the left sidebar without saving the aggregation, the aggregation that they were creating or updating is not saved.

Desired action (expected result): If a user starts creating or editing an aggregation and then tries to switch to another collection via the left sidebar without saving the aggregation that they were working on, ask the user if they are sure about switching to another collection or if they want to save their aggregation before doing so.

Steps to Reproduce

  1. Make sure you have at least 2 collections in your db.
  2. Create an aggregation for one of the collections. Do not save it.
  3. Without saving the aggregation, click on a different collection via the left sidebar.
  4. Go back to the previous collection (the one you were creating an aggregation for) and check to see if the aggregation that you created is still there.
  5. Repeat steps 1-4, but update an existing aggregation instead of creating a new one.


 Comments   
Comment by Memento Slack Bot [ 19/Apr/23 ]

Slack Thread captured by jessica.sigafoos@mongodb.com

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