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

Inserting the empty input in JSON Mode shows Inserting Document message

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: 1.21.2
    • Component/s: Compass
    • None
    • Not Needed

      Problem Statement: Inserting the empty input in JSON mode shows the message "Inserting Document" which may confuse the Compass user as actually no document is being inserted.

      Reproduction Steps:
      1. On the Documents menu of a collection, click ADD DATA, select Insert Document.
      2. With the empty input, click INSERT.
      3. Compass UI shows the message "Inserting Document".

      Possible Improvement:

      • Compass should not show "Inserting Document" for the empty input.
      • We see that Compass has the validation handler for the JSON document format. It would be best to also validate if the input is empty and provide a meaningful message to the user. OR, if the input is empty, the INSERT button should be greyed out.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tanna.matan@mongodb.com Tanna Matan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: