Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6493

Save aggregation that user is working on when they switch to another collection

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 5
    • Not Needed

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sahi.muthyala@mongodb.com Sahi Muthyala
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: