[COMPASS-5022] Touching a collection on the left hand side, wipes out your work in aggregations with no warning Created: 19/Aug/21  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Aggregation pipeline, Collection
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Sean Thomas Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File image-2021-08-19-11-20-44-227.png    
Issue Links:
Related

 Description   

Problem Statement/Rationale

 When using aggregations and you are busy with your pipeline(s)

If you left click on any of the collections on the left panel, 

It wipes out your work on the aggregations (no warnings at all)

Steps to Reproduce

  • Open any collection, start an aggregation pipeline
  • Enter some pipeline text
  • Left click on a collection on the left hand panel: even the same collection you are busy with
  • Wipes out your unsaved work

Expected Results

Not to wipe out someones aggregation work and give a warning 

Actual Results

All the hard work someone is busy doing to build an aggregation, wiped out in a single click

Additional Notes

[when we paste in an exported version of the pipeline it gives a warning, why can't we have one when clicking away]

This makes it hard to teach people how to use aggregations, as they have to treat the left hand panel like a land mine (and all they wanted to do was to look up the name for the field)

Proposed fixes:

  • give a warning you are about to erase your work
    • this would be bad for new user journey, they wouldn't know why the warning was there
  • don't erase and just open in a new tab
    • this would create more tabs open
    • If this could be a setting value

 

This might need to save when the tab is in a dirty state (the user has done something) to know to show a warning

 


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