-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimizationwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Description
In the web/desktop app review panel, files with large diffs (500+ changed lines) are auto-expanded when opening the panel. This causes the UI to freeze or become very laggy because thousands of diff lines are rendered at once.
The current logic in packages/ui/src/components/session-review.tsx only checks file count (>10 files → collapse all), but ignores individual file diff size. A single file with 2000+ changed lines can freeze the entire review panel.
Plugins
No response
OpenCode version
No response
Steps to reproduce
- Start a session that modifies a large file (500+ line changes)
- Open the review panel (right side panel)
- Observe the UI freezes while rendering the large diff
Screenshot and/or share link
No response
Operating System
macOS / any
Terminal
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimizationwebRelates to opencode on web / desktopRelates to opencode on web / desktop