opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(app): fix flicker and navigation when collapsing/expanding projects

Open albingroen opened this issue 2 weeks ago • 3 comments

Fixes #6657

Changes

  • Memoize the worktrees in the session-header.tsx component to prevent the right side content flicker and navigate.
  • Create a new utility file called same.ts to 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

albingroen avatar Jan 02 '26 17:01 albingroen