w3c / w3c-website

W3C Website feedback and bug reports
https://www.w3.org/
240 stars 80 forks source link

Diff #441

Open koalie opened 1 year ago

koalie commented 1 year ago

Describe the issue When comparing several versions, or when looking at an entry that has been changed locally, the back-end shows a blue section to focus the attention, but that means having to re-read the content instead of just comparing the differences.

I hope there's a way to get the Craft CMS team to help. Most of us are used to the very precise differences that cvslog affords, so I'm very much looking forward to a breakthrough here!

There's an existing "idea"/discussion in the craftcms repo: https://github.com/craftcms/cms/discussions/8135

vivienlacourba commented 1 year ago

related: https://github.com/w3c/w3c-website/issues/200

jean-gui commented 6 months ago

Using GraphQL we can specify a revision ID, so it should be fairly easy to allow the frontend to display arbitrary revisions using a query string parameter for example. We could then pass two such URIs to an htmldiff tool such as https://services.w3.org/htmldiff.