Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forecasting: restrict transformation names to 50 chars #1981

Merged
merged 5 commits into from
Feb 24, 2023

Conversation

romanlutz
Copy link
Contributor

Description

Allowing arbitrarily long transformation names can cause all sorts of issues. To prevent that, this PR sets the max length to 50 characters. We're also no longer showing the error message from the start but rather upon the first change that makes the name invalid.

When opening a new dialog:
image

After entering a name and erasing it:
image

When there's a name collision:
image

When the char limit of 50 is exceeded:
image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@romanlutz romanlutz merged commit 20d37c5 into main Feb 24, 2023
@romanlutz romanlutz deleted the romanlutz/transformation_name_max_length branch February 24, 2023 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants