fix(app): better review/filetree empty states#16221
Merged
adamdotdevin merged 8 commits intodevfrom Mar 6, 2026
Merged
Conversation
7b364a6 to
395f4ac
Compare
395f4ac to
611f00d
Compare
Removes branding/title in review empty states, hides the changes selector when there are no diffs, aligns filetree empty messaging, and updates the no-git copy.
Removes scroll-based border toggling and keeps the bottom divider under filetree tabs visible at all times.
…paration" This reverts commit fcea784.
Improves readability and spacing, adds a dismiss action, and makes the CTA layout responsive to sidebar width.
When opening a session in a project without Git initialized, users now see clear guidance explaining that creating a repository enables tracking, reviewing, and undoing changes. Includes a button to initialize Git directly from the review panel.
611f00d to
37739f4
Compare
qdddddd
pushed a commit
to qdddddd/opencode
that referenced
this pull request
Mar 7, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
manno23
pushed a commit
to manno23/opencode
that referenced
this pull request
Mar 12, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
demostanis
pushed a commit
to demostanis/opencode
that referenced
this pull request
Mar 19, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
demostanis
pushed a commit
to demostanis/opencode
that referenced
this pull request
Mar 20, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
balcsida
pushed a commit
to balcsida/opencode
that referenced
this pull request
Mar 24, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
balcsida
pushed a commit
to balcsida/opencode
that referenced
this pull request
Apr 8, 2026
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #
Type of change
What does this PR do?
The review side-panel had a few empty-state UX issues: it showed OpenCode branding where users expect content, showed a "Session changes" selector even when there were no diffs to select, and the filetree empty states didn’t line up visually with the review panel.
This PR:
Why this works: the review title now distinguishes between “no title provided” and “intentionally no title” (null), so the empty state can suppress the default header without affecting normal use.
How did you verify your code works?
bun run typecheckinpackages/appbun run typecheckinpackages/uiScreenshots / recordings
TODO: Add before/after screenshots (review panel empty state + filetree empty states).
Checklist
If you do not follow this template your PR will be automatically rejected.