Repository navigation
perf(renderer): unmount closed jump palette content - #13525
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughWorktreeJumpPalette now uses a wrapper to control visibility, retain content for 300 ms after closing, and own the request guard. WorktreeJumpPaletteContent receives the wrapper state and keeps status and cache subscriptions active during the linger period. New tests verify demand-based mounting, delayed unmounting, store updates during the linger period, unsubscription after expiration, and reopening before unmount. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
(cherry picked from commit c498d76)
Summary
ELI5
Cmd+J is a big search screen. After you opened it once, Orca kept the whole search engine running in the background even while it was closed. Every update from a remote host could make that hidden screen do more work. This change keeps only a tiny on/off listener running and wakes the full search screen only when you open it.
After first use, the closed palette still subscribed to remote runtime, worktree, repository, tab, and review state. Remote-host activity could therefore re-render it and rebuild host/filter/search projections even though no palette was visible.
This is a separate follow-up to #13517 and ports the structural fix from the now-conflicting #7617 onto current main.
Verification