Skip to content

Create auto-fix user callout

What does this MR do?

This creates the user callout for letting users know about the auto-fix feature.

The callout:

  • Appears above the Project Security Dashboard.
  • Contains a link to the documentation about auto-fix.
  • Is dismissible.
  • Doesn't appear again once dismissed (cookie-based preference).
  • Will be removed altogether after being shows for a ~2 releases timelapse.

How to test this?

  1. Enable the :security_auto_fix feature flag.
echo "Feature.enable(:security_auto_fix)" | rails c
  1. Browse to a project's Security Dashboard.

Screenshots

Screen_Shot_2020-09-18_at_9.16.26_AM

auto_fix_uc

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports