Introduce limit of 255 characters for all approval rule names
Release notes
Problem to solve
Intended users
User experience goal
Proposal
- A new limit will be introduced to prevent users from creating MR approval rules with a name that exceeds 255 characters
- The UI will inform users when they try to create a rule with a name that exceeds 255 characters (see design below)
- Existing rules that have a name exceeding 255 characters in length will be migrated to be truncated at 255 characters. In the event of a collision the following logic will apply:
- The name will be truncated to 250 characters and the text
(1)
will be appended. - If there is still a collision, then the number in the appended text will be incremented
(2)
,(3)
, etc. until a name is found where there is not a collision.
- The name will be truncated to 250 characters and the text
Designs
https://www.figma.com/file/qEddyqCrI7kPSBjGmwkZzQ/Component-library?node-id=49888%3A76808
Further details
Permissions and Security
Documentation
Availability & Testing
Available Tier
Feature Usage Metrics
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
What is the competitive advantage or differentiation for this feature?
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Edited by 🤖 GitLab Bot 🤖