Update document selection to select what is visible, shell syntax

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: CRUD, Documents
    • None
    • None
    • Developer Tools

      Currently, when a user mouse selects and then copy pastes a line, or multiple lines, from the document view, they're met with an unexpected, and for the most part, unusable result.

      This ticket involves improving the document, field, and value copy pasting with mouse drag selection. When a user selects an entire document, or part of it, with the intent of pasting it elsewhere, it should be the content they expect. To do this lets:

      • Remove the newline character that is added between a field and value.
      • Update the semi colon `:` selectable.
      • Update shell syntax functions like `ObjectId(` to be selectable. They have the css `user-select: none;` currently which prevents it. Let's remove that. UUID is currently doing this correctly.
      • Wrap decimal types with `Decimal128("")`, see how UUID does this for reference.
      • Wrap NumberLong types with `NumberLong("")`, see how UUID does this for reference.

            Assignee:
            Unassigned
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: