Skip to content

feat #15: improve diff card and file tree card UX#92

Open
blueberrycongee wants to merge 1 commit intomainfrom
feat/issue-15-diff-card-redesign
Open

feat #15: improve diff card and file tree card UX#92
blueberrycongee wants to merge 1 commit intomainfrom
feat/issue-15-diff-card-redesign

Conversation

@blueberrycongee
Copy link
Owner

Summary

  • Split diff into individual hunks with collapsible @@ headers for granular expand/collapse
  • Add prev/next hunk navigation buttons in diff card header
  • Add copy-to-clipboard button for full diff content (with checkmark feedback)
  • Display old/new line numbers in a two-column gutter alongside diff lines
  • Add file/directory count summary to file tree card header

Test plan

  • Navigate between hunks using prev/next chevron buttons in diff card header
  • Collapse/expand individual hunks by clicking the @@ header line
  • Copy diff content via the copy button (should show checkmark on success)
  • Verify line numbers display correctly in the diff gutter
  • Check file tree card shows "N files, M dirs" count in header

Closes #15

- Split diff into individual hunks with collapsible @@ headers
- Add prev/next hunk navigation buttons in diff card header
- Add copy-to-clipboard button for diff content
- Display old/new line numbers in diff gutter
- Add file/directory count summary in file tree card header
- Add i18n keys for new UI elements (en + zh)
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

enhancement: redesign diff card and file tree card for better interaction

1 participant