Decide how users should be able to "copy/paste" documents so that values can be used in queries and mongosh

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      This is going to require fixing few issues, ultimately aiming to allow the documents in the document view being copy/pasted and used in an interoperable way within Compass, Mongosh and other mongodb tools.

      As a user i would expect the document view documents to:

      • Allow to freely copy/paste what i see in the document view, without omissions and added new lines, i should be able to select and copy any portion of the text as is.
      • Represent documents in a syntactically correct and standard way: quotes should be escaped correctly, keys with spaces should be quoted.
      • Copied values should work as they are withing queries, aggregations and shell: BSON constructors should be added as needed for types (ie. ISODate).

        1. Feb-22-2024 13-07-01.mp4
          5.17 MB
        2. mongosh.mp4
          124.42 MB

            Assignee:
            Unassigned
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: