[COMPASS-7346] Display a text diff in place of the preview docs Created: 16/Oct/23  Updated: 07/Nov/23  Resolved: 07/Nov/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-7325 Add Bulk Update modal Closed
Epic Link: COMPASS-6671
Documentation Changes: Not Needed

 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.


Generated at Wed Feb 07 22:46:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.