Skip to content

Fix diff viewer related changes#114

Merged
johannesjo merged 1 commit into
johannesjo:mainfrom
FourWindff:fix/diff-viewer-changes
May 15, 2026
Merged

Fix diff viewer related changes#114
johannesjo merged 1 commit into
johannesjo:mainfrom
FourWindff:fix/diff-viewer-changes

Conversation

@FourWindff
Copy link
Copy Markdown
Contributor

Summary

Disable text selection on UI chrome elements in the Diff Viewer to prevent accidental selection of non-content text (headers, filenames, file list items) and improve the
overall interaction experience.

Changes

  • ChangedFilesList.tsx — add user-select: none to the file list container
  • DiffViewerDialog.tsx — add user-select: none to the dialog header title and "Changed Files" label
  • ScrollingDiffView.tsx — add user-select: none to the file section header

Test Plan

  • Open the Diff Viewer and attempt to select header titles, filenames, and file list items — verify they cannot be selected
  • Confirm that diff content areas remain selectable as before

@johannesjo
Copy link
Copy Markdown
Owner

Thank you very much!

@johannesjo johannesjo merged commit 775512b into johannesjo:main May 15, 2026
2 checks passed
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