Skip to content

Conversation

@matdave
Copy link
Contributor

@matdave matdave commented Sep 15, 2025

This adds the ability to change the renderer from strictly "Inline" to "SideBySide" and "Combined". Mostly because side by side is more how my brain wants to look at diffs. Re: #153

I also tied in cleaning up the cache directory on site_refresh, since there are currently no mechanisms to do that. Re: #152

@matdave
Copy link
Contributor Author

matdave commented Sep 15, 2025

Just for reference:

SideBySide:

image

Combined:

image

@muzzwood
Copy link
Contributor

This looks great! I'll try to give it a test soon 🙂

@muzzwood
Copy link
Contributor

It seems if there are diffs already in the cache and the renderer setting is changed then you don't see the change since it's still loading the cached diffs. I tried clearing the cache but that didn't help.. it's possible the new cache clearing mechanism isn't working (or I haven't enabled it somehow?).

Loading diffs on an object where they haven't been cached yet works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants