-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Compass
-
None
-
Environment:MacOS Mojave
-
Needed
-
None
The interface for entering String data type on MongoDB Compass Community has an annoying biproduct, issue:
String data is represented with enclosing "" speechmarks, however these do not represent actual speechmarks within the content. This caused me a few hours of hair pulling today as I was having issues storing `JSON.stringify`'d data within a String field, not realising that I actually required double speechmarks as such:
// My Content "## This is a subheader\n This is a sentence" // How it appears in MongoDB Compass (double speechmarks) key: ""## This is a subheader\n This is a sentence""
Image example here: https://imgur.com/a/pUctylB
Could you please either:
- Remove the speechmarks as they are confusing/not actually part of the data
- Restyle them to show they are not part of the data, either using visibly "incorrect" speech marks (the unidirectional ones) or by making them obviously different to actual speechmarks in the content (different colour/size)
Per #2 I can see when inspecting closely (image above) that there has been a small effort to do so in that they speechmarks are ~1px above where those in the content are; however this is simply not obvious enough and would be a quick fix to restyle.