fix(desktop): preserve permission status when tab is focused#1465
Conversation
Don't downgrade "permission" pane status to "idle" or "working" when the user focuses a tab. The permission indicator should persist until the agent actually resumes or the terminal exits.
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 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 |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
Changes
apps/desktop/src/shared/tabs-types.ts: Removed the"permission" → "working"transition fromacknowledgedStatus()so that focusing a tab no longer clears the permission indicatorTest Plan
Summary by CodeRabbit