Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7346

Display a text diff in place of the preview docs

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Change the preview output from using crud's Document component to display the "after" docs, to printing both before and after docs as shell syntax (using https://github.com/mongodb-js/query-parser/blob/main/src/stringify.ts) and then doing a text diff.

      Present the text diff using CodeMirror's diff mode.

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: