Skip to content

Use Pajamas UI Rails helper to render the "Squash commits when merging" section of the "Merge Requests" Project General settings

For #361138 (closed)

Why

Part of the department-wide Pajamas conversion OKR.

What

I converted HAML to a special function that renders HTML.

Verify

  1. Go to the General settings for for a project you can manage
  2. Open the "Merge Requests" section
  3. Near the mid-top, there is a "Squash commits when merging" section.

Screenshots

Before After
before after

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thomas Randolph

Merge request reports