Skip to content

Make badges in app/views/shared/hook_logs/ Pajamas-compliant

What does this MR do and why?

This MR updates badges in

  • app/views/shared/hook_logs/_content.html.haml
  • app/views/shared/hook_logs/_recent_deliveries_table.html.haml
  • app/views/shared/hook_logs/_status_label.html.haml

to the Pajamas-compliant component

Screenshots or screen recordings

No visual changes, screenshots for the context:

Screenshot_2021-12-16_at_17.57.56

Screenshot_2021-12-16_at_18.04.50

Screenshot_2021-12-16_at_18.06.12

How to set up and validate locally

To generate an entry in the "Recent deliveries" table:

Project level:

  1. Navigate to a project's Settings > Webhooks.
  2. Create a mock webhook (any URL is fine). The new webhook should appear in the table below the form.
  3. Click Edit on the webhook
  4. Click Test, and wait for the test to finish
  5. Refresh the page.

The failed webhook entry should be visible in the table.

Admin level:

Same as above, but navigate to System Hooks from the admin dashboard.

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 #344356 (closed), #344374 (closed), #344336 (closed)

Edited by Anna Vovchenko

Merge request reports

Loading