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

To implement client-side validation for project titles with a maximum length of 63 characters by overriding the Project model #104

Open
Milstein opened this issue May 17, 2023 · 2 comments

Comments

@Milstein
Copy link
Contributor

We are experiencing frequent problems caused by PI/Managers inputting project titles exceeding 63 characters. The default maximum length for the Project model's title is 255 characters, as specified here. Is it possible to locally override this setting in our plugin and set the maximum length to 63 characters? This modification would ensure that users are unable to enter more characters than allowed, preventing any disruptions in our allocation workflow.

@Milstein Milstein changed the title To have client side validation of Project title of 63 chars To have client side validation of Project title for 63 chars by overriding the Project model May 17, 2023
@Milstein Milstein changed the title To have client side validation of Project title for 63 chars by overriding the Project model To implement client-side validation for project titles with a maximum length of 63 characters by overriding the Project model May 17, 2023
@joachimweyl
Copy link

@Milstein are you still experiencing this issue? Are we okay with the title being different in coldfront and openStack/Shift?

@knikolla
Copy link
Collaborator

@Milstein The problem with approvals not working for Titles > 63 characters was fixed by #97

So all that's remaining is the user experience question of "are we okay with allowing longer project titles knowing that they're going to be trimmed to the max length that the resource allows"?

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

No branches or pull requests

3 participants