Skip to content

Fix(Code Suggestions): error handling in info card

What does this MR do and why?

This MR adds handling for empty responses, and includes error handling and reporting to ensure we provide a good user experience, even if the request fails.

Changelog: changed EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the experiment fully

    Feature.enabled?(:usage_quotas_for_all_editions)
  2. Must have a ramp or reseller self-managed instance with Duo Pro seats, see zuora_tips_and_tricks

  3. Visit http://localhost:3000/admin/code_suggestions

Related to #456937

Merge request reports