Skip to content

Update support case call from v1 to v3 - #374

Open
apinkert wants to merge 1 commit into
RedHatInsights:masterfrom
apinkert:update-support
Open

apinkert wants to merge 1 commit into
RedHatInsights:masterfrom
apinkert:update-support

Conversation

@apinkert

@apinkert apinkert commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

For RHCLOUD-50054. The calls can be found here

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 43b4e16a-7055-4b2f-b17d-79e07a999a2e
📥 Commits

Reviewing files that changed from the base of the PR and between 943874e and 6e84303.

📒 Files selected for processing (4)
  • src/components/HelpPanel/HelpPanelContent.stories.tsx
  • src/components/HelpPanel/HelpPanelTabs/SupportPanel.stories.tsx
  • src/components/HelpPanel/HelpPanelTabs/SupportPanel.tsx
  • src/user-journeys/_shared/helpPanelJourneyHelpers.ts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.


Summary by CodeRabbit

  • Updates
    • Updated support-case filtering in the Help Panel and Search Panel to use the v3 endpoint in production and staging.
    • Updated the corresponding preview and journey-test responses to match. Staging environment selection remains unchanged, and these responses continue to return an empty case list.

Walkthrough

The support panel now requests the v3 support-case filter endpoint. Story mocks, journey handlers, and shared URL constants also use the v3 endpoint for production and staging.

Changes

Support cases filter endpoint

Layer / File(s) Summary
Update endpoint and matching mocks
src/components/HelpPanel/HelpPanelTabs/SupportPanel.tsx, src/components/HelpPanel/HelpPanelTabs/SupportPanel.stories.tsx, src/components/HelpPanel/HelpPanelContent.stories.tsx, src/user-journeys/_shared/helpPanelJourneyHelpers.ts
The support panel URL and its production and staging story and journey mocks now use /support/v3/cases/filter. The existing stage-host selection and empty case responses remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 6e843

The endpoint and mocks are aligned. The v3 payload and response fields remain unconfirmed, but no demonstrated incompatibility currently blocks merging.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description links the issue and API documentation, but it does not provide the required 2–3 sentence summary of what is changing and why. It also omits the checklist and AI disclosure. Add a 2–3 sentence summary of the endpoint update and its reason. Complete the applicable checklist items and add an AI disclosure, or state that AI tools were not used. The screenshots section may be omitted because this is a non-visual ch…
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating the support-case call from v1 to v3.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Resolution

Add a 2–3 sentence summary of the endpoint update and its reason. Complete the applicable checklist items and add an AI disclosure, or state that AI tools were not used. The screenshots section may be omitted because this is a non-visual change.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant