Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative diff rendering options #2

Open
xfbs opened this issue Mar 8, 2023 · 1 comment
Open

Alternative diff rendering options #2

xfbs opened this issue Mar 8, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@xfbs
Copy link
Owner

xfbs commented Mar 8, 2023

Some different options for rendering the diffs:

  • Side-by-side mode (easier to read files that way, but takes more screen width)
  • Collapse non-changed regions (easier to skim changes that way)
  • Show word/byte diff, as in this (this helps to blend out meaningless changes, such as different newline characters).
@xfbs
Copy link
Owner Author

xfbs commented Oct 13, 2024

Implementation-wise, I think the best UX for this would be to have two buttons in the top-right corner of the file view:

Screen Shot 2024-10-13 at 16 14 22

With some appropriate icons, such that you can switch between the inline and side-by-side mode.
Maybe there could also be a button to filter out Windows weirdness (using \r\n as newline character).

@xfbs xfbs added enhancement New feature or request help wanted Extra attention is needed labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant