-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
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.