sitediff icon indicating copy to clipboard operation
sitediff copied to clipboard

Feature suggestion - allow to hide unchanged lines from report's diff

Open ericdsd opened this issue 9 months ago • 1 comments

Hi,

maybe this is already possible and i didn't find the info, but it would be nice to allow hiding unchanged lines from report to be able to see at a glance the changed elements instead of neededing to scroll over the whole source.

It can already be done in browser's inspector by adding .diff li.unchanged { display: none; }

So could for instance add a checkbox "Show diff only" next to prev next close and eventually store its state in a cookie to exploit it inside result iframe.

ericdsd avatar Apr 16 '25 07:04 ericdsd

Hello,

I like this idea. We'll think about how to implement this more easily. I'm also wondering if some context might be needed to see where the changed lines are located, kind of like how the command line version of diff works.

kdborg avatar Jul 17 '25 17:07 kdborg