[COMPASS-3360] Confusing String Interface Created: 16/Dec/18 Updated: 27/Oct/23 Resolved: 19/Dec/18 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jamie McGrory | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MacOS Mojave |
||
| Issue Links: |
|
||||
| Documentation Changes: | Needed | ||||
| Description |
|
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:
Image example here: https://imgur.com/a/pUctylB Could you please either:
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.
|
| Comments |
| Comment by Jamie McGrory [ 19/Dec/18 ] |
|
@Massimiliano Marcon Thanks for getting back on this and acknowledging it! Love the UI otherwise, great product. |
| Comment by Massimiliano Marcon [ 19/Dec/18 ] |
|
Hi jmcgrory, thank you for reporting it. We looked at this and it makes sense to visually differentiate the quotes from the actual data. We will keep it in mind with the next round of improvements in the Documents tab. |