fix(activate): target title-bar commands to their click-origin instance - #1528
fix(activate): target title-bar commands to their click-origin instance#1528easonLiangWorldedtech wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Review statusThanks for contributing. This comment tracks the review sequence and the next action. Current step: Mark the PR ready. Required CI must pass before CodeRabbit starts. Review-state labels are managed by this workflow; do not edit them manually. |
Part of the vps2 durable per-view state series — tracked in easonLiangWorldedtech#41 (cross-repo: this PR is standalone against upstream/main @ 0d937c0).
Issue (created at PR-open time): #1529
What
All title-bar commands (+ / Settings / History / Marketplace / popout / focus) resolve to a single surface-blind "visible" ClineProvider instance, and setPanel's mutual wipe of the sidebar/tab slots leaves stale references once a tab and the sidebar coexist. This PR makes each title-bar command target the instance its click originated from:
Design decisions
Measurements
Gates
Parked / documented
Porting notes
None — new fix (F0) identified by the Phase-0 A6 button-targeting audit; no hunks ported from the closed draft PRs.