fix: response viewer not updating when focused (read-only editors)#7218
fix: response viewer not updating when focused (read-only editors)#7218sanjaikumar-bruno wants to merge 1 commit intousebruno:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThis PR fixes the CodeEditor component's update condition to ensure read-only editors (like response viewers) properly reflect prop-driven value changes. It adds a readOnly guard to prevent cached values from blocking updates when editors are focused, resolving stale response display issues. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
Fixes: #7176
Summary by CodeRabbit