Skip to content

Fix tag matching behavior on New Release page

Nathan Friend requested to merge nfriend-fix-substring-tag-on-release-page into master

What does this MR do?

Fixes #327306 (closed) by updating the conditions in which the "Create tag" option is visible.

Previously, the "Create tag" option was shown if the user's query returned no results. However, this prevented the user from creating a tag with a name that matched a substring of an existing tag (example: v10.0.0-rc1 and v10.0.0).

Now, the "Create tag" option is shown if none of the results are an exact match.

Screenshots

Before After
image image

Related to #327306 (closed)

Edited by Nathan Friend

Merge request reports