Skip to content

Add alert and badge for rate-limited webhooks

What does this MR do and why?

When a webhook is rate limited, we want to show a "Disabled" badge on the index page and an alert with more information on the edit page. This allows users to know why a webhook is not working as expected.

Follows the designs in #331407[Scenario_3.png].

Changelog: added

Screenshots or screen recordings

Page Screenshot
Webhooks index Project_webhooks_badge
Webhook edit Project_webhooks_alert

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #343993 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports

Loading