opencode
opencode copied to clipboard
fix(app): fix flicker and navigation when collapsing/expanding projects
Fixes #6657
Changes
- Memoize the worktrees in the
session-header.tsxcomponent to prevent the right side content flicker and navigate. - Create a new utility file called
same.tsto dry up the code a little bit.
Demo
Before
https://github.com/user-attachments/assets/a33ed784-14fb-498f-8970-fe74e8332f76
After
https://github.com/user-attachments/assets/de6cd7ea-635b-4291-8f71-5d86cd24394e
hey @albingroen could you resolve conflicts? then i'll merge!
hey @albingroen could you resolve conflicts? then i'll merge!
Yes, will fix when I get home!
hey @albingroen could you resolve conflicts? then i'll merge!
Yes, will fix when I get home!
@adamdotdevin Now they should be fixed