Improve inline comparison

Created on 27 April 2022, over 2 years ago
Updated 16 December 2024, 5 days ago

Problem/Motivation

The way inline comparison ("highlight changes") operates has never made sense to me. It doesn't do what the UI implies.

If you select a revision in the drop-down to compare, the expectation is that you will see how the viewed revision differs from the one selected in the drop-down. But you don't, what happens is the revision selected in the drop-down is displayed, and the changes from the revision one prior are shown. This isn't very flexible or very useful.

Proposed resolution

I've actually implemented diffs for users, profiles, and comments, and inline comparison in those modules works the way I've described. This patch changes diff to work that way too.

Sorry this is only for D7, I have yet to work out how to migrate parts of my site to D8/9 so I'm not working with any of that code.

Feature request
Status

Closed: outdated

Version

3.4

Component

Code

Created by

🇬🇧United Kingdom rickj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024