Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-466

Replace revision diffing library

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Currently, diffs are not displayed particularly well, especially when it comes to arrays (e.g. identifiers): https://beta.bookbrainz.org/revision/13319

      The library currently used for diffs does not handle arrays of objects. Instead we can use jsondiffpatch which works quite well, including with arrays of objects.
      (Considering jsondiffpatch does not seem very active, if you have a better suggestion, please do test it)

      Diffs are calculated in the ORM package and used in the webserver where the diff formatters will require a significant rewrite to adapt to the new delta format

            Unassigned Unassigned
            mr_monkey Monkey
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Version Package