You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found myself wanting the "Show diff" to scroll to the first change when I click it. That way, I can immediately see the changes in the pages. Ideally, I'd like to have extra up/down arrows next to "Show diff" so I can jump between chunks.
Note that we can't switch between each of the .doc-diff-removed and .doc-diff-added as-is because there is a bunch of them. It could even be one per word changed. So, we use p:has(.doc-diff-*) to detect "chunk of changes" inside the same paragraph.
The text was updated successfully, but these errors were encountered:
Allow the user to click "up" or "down" arrows to jump between the diff chunks of
the page. I did it pretty quickly, so it may need some refactor polish.
Closes#518
I found myself wanting the "Show diff" to scroll to the first change when I click it. That way, I can immediately see the changes in the pages. Ideally, I'd like to have extra up/down arrows next to "Show diff" so I can jump between chunks.
Here is an example:
Peek.2025-02-03.15-05.webm
Note that we can't switch between each of the
.doc-diff-removed
and.doc-diff-added
as-is because there is a bunch of them. It could even be one per word changed. So, we usep:has(.doc-diff-*)
to detect "chunk of changes" inside the same paragraph.The text was updated successfully, but these errors were encountered: