Skip to content

Conversation

@albingroen
Copy link
Contributor

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

CleanShot.2026-01-02.at.17.56.15.mp4

After

CleanShot.2026-01-02.at.17.57.04.mp4

@albingroen albingroen force-pushed the fix-flicker-when-toggling-projects branch 2 times, most recently from 5d66810 to 08bdae9 Compare January 3, 2026 10:24
@adamdotdevin
Copy link
Contributor

hey @albingroen could you resolve conflicts? then i'll merge!

@albingroen
Copy link
Contributor Author

hey @albingroen could you resolve conflicts? then i'll merge!

Yes, will fix when I get home!

@albingroen albingroen force-pushed the fix-flicker-when-toggling-projects branch from 08bdae9 to c61dd11 Compare January 5, 2026 13:08
@albingroen
Copy link
Contributor Author

hey @albingroen could you resolve conflicts? then i'll merge!

Yes, will fix when I get home!

@adamdotdevin Now they should be fixed

@albingroen albingroen force-pushed the fix-flicker-when-toggling-projects branch from c61dd11 to b820064 Compare January 5, 2026 15:56
@albingroen albingroen force-pushed the fix-flicker-when-toggling-projects branch from b820064 to 90a8b4f Compare January 5, 2026 16:20
@adamdotdevin adamdotdevin merged commit bbd1c07 into anomalyco:dev Jan 5, 2026
2 checks passed
ryanwyler pushed a commit to gignit/opencode that referenced this pull request Jan 6, 2026
ruuxi pushed a commit to ruuxi/ngmicode that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flicker/navigation when collapsing and expanding projects

2 participants