Skip to content

Migrate to shared alert HAML partial in _commits.html.haml

What does this MR do and why?

Update app/views/projects/commits/_commits.html.haml to leverage the shared alert HAML partial (app/views/shared/_global_alert.html.haml)

Screenshots or screen recordings

Before After
Screen_Shot_2022-03-16_at_4.53.44_PM Screen_Shot_2022-03-16_at_4.53.47_PM

How to set up and validate locally

  1. Quickest way to enable this alert is to update COMMITS_SAFE_SIZE in merge_request_diff.rb to be a small number (eg. 1)
  2. Visit a projects commits page, eg. http://localhost:3000/flightjs/Flight/-/commits/master

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

Edited by Vamsi Vempati

Merge request reports