Skip to content

Upgrades buttons in app/views/projects/[n-z]

Sam Beckham requested to merge regex-button-update-projects-n-z into master

What does this MR do?

This MR uses the following Regex to add the appropriate gitlab ui button classes to a good chunk of the old buttons in the app/views/projects/[n-z]/ directories, where [n-z] is regex for all the directories starting with the letters in that range:

File Find Replace
app/views/projects/[n-z]*/**/*.haml (^(?!.*gl-button).*class:.*)btn (.*$) $1gl-button btn $2
Location Before After
run pipeline Screenshot_2020-10-14_at_12.34.32 Screenshot_2020-10-14_at_12.34.13
archive Screenshot_2020-10-14_at_12.35.20 Screenshot_2020-10-14_at_12.35.00
archive hover Screenshot_2020-10-14_at_12.35.26 Screenshot_2020-10-14_at_12.35.06

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Note: This has not been manually tested for every button. It's a low-impact change and there's another few hundred to get through. Checking them all would take forever.

Edited by Sam Beckham

Merge request reports