Skip to content

feat(tui): design revamp of diff viewer#28728

Merged
jlongster merged 2 commits into
devfrom
JLongser/diff-design
May 21, 2026
Merged

feat(tui): design revamp of diff viewer#28728
jlongster merged 2 commits into
devfrom
JLongser/diff-design

Conversation

@jlongster
Copy link
Copy Markdown
Contributor

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Updates the TUI diff viewer design with a reusable panel/separator layout, a file tree with connector guides, selected/reviewed file state, and right-aligned patch metadata. It also adds focused file-tree utility coverage for the new tree behavior.

How did you verify your code works?

  • bun typecheck from packages/opencode
  • bun test test/cli/tui/diff-viewer-file-tree-utils.test.ts from packages/opencode
  • Root pre-push bun typecheck

Screenshots / recordings

Not included.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@jlongster jlongster merged commit ee00892 into dev May 21, 2026
12 of 14 checks passed
@jlongster jlongster deleted the JLongser/diff-design branch May 21, 2026 22:34
MyNameIsGMLi pushed a commit to MyNameIsGMLi/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant