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

Display a text diff in place of the preview docs

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: