Skip to content

Display status icon for the MR Widget V2

Savas Vedova requested to merge 368591-handle-loading-states into master

What does this MR do and why?

Adds the Status Icon to the MR Widget.

Screenshots or screen recordings

The relevant part is the row where it writes Security Scanning detected no new vulnerabilities

loading-icon-mr

How to set up and validate locally

  1. This feature is behind a feature flag. Enable :refactor_security_extension to turn this feature on.
echo "Feature.enable(:refactor_security_extension)" | rails c
  1. Visit an MR page with Security Scanning

The easiest way to populate data for testing is using this extension https://chrome.google.com/webstore/detail/mokku-mock-api-calls-seam/llflfcikklhgamfmnjkgpdadpmdplmji?hl=en and importing mokku-mocks-10-8-2022.json this json.

Just make sure that the endpoint matches (it uses my namespace/project), you'll have to edit the address from the Mokku tab in the Developer Console.

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 #368591 (closed)

Edited by Savas Vedova

Merge request reports

Loading