Skip to content

Update New Release page to send title as `null` when empty

Nathan Friend requested to merge nfriend-make-release-title-submit-null into master

What does this MR do?

Updates the New Release page to submit the release title as null when the Release title field is empty.

Currently, the page instead submits an empty string (''), which overrides the backend's default behavior of using the tag name as the release title when the title isn't provided.

Feature flag

The New Release page is currently hidden behind a new_release_page feature flag which is disabled by default.

Screenshots

Before After
image image

Above are the request payloads sent by the New Release page when the Create release button is clicked. Notice that in the After image, the name property is null instead of ''.

Related to #214244 (closed)

Edited by Nathan Friend

Merge request reports

Loading