Frontend: Add a helpful validation message when masked variable contains newline characters
Release notes
Problem to solve
When creating a new project or group variable, masked variables can't contain newline characters
We show the same generic error that is unhelpful in resolving the problem when unsupported characters are used for a masked variable value.
The error just says This variable can't be masked
, and doesn't explain why.
Proposal
When attempting to mask a variable with value that uses newline characters, show a clear error message that allows you to fix the problem.
Value cannot contain newline characters.
Intended users
Feature Usage Metrics
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.