feat: update report a bug text in the feedback panel#319
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughThe PR updates FeedbackPanel to compute an ChangesBug Report Card with Support Link
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/components/HelpPanel/HelpPanelTabs/Feedback/FeedbackPanel.tsx`:
- Around line 186-203: The support-case anchor inside FeedbackPanel's CardBody
triggers the parent card's onClick; update the Content anchor (the element
rendering href SUPPORT_CASE_URL inside the isReportBug branch) to stop
propagation and avoid activating the card when the link is used—add an onClick
handler that calls event.stopPropagation() (and also handle onKeyDown to stop
propagation for Enter/Space for accessibility) so the link opens normally
without triggering the card's onClick.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Enterprise
Run ID: 736db59f-dc03-4eb1-bb6c-2512bdbca1c4
📒 Files selected for processing (1)
src/components/HelpPanel/HelpPanelTabs/Feedback/FeedbackPanel.tsx
For RHCLOUD-47657