plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Project identifier rules are misleading

Open ddudda174 opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

Creating a project results in different rules for limiting the allowed characters for the "identifier field" depending on the page you edit the field.

Which currently displays 3 different rules and messages:

  • Identifier error message on project creation says: "Identifier must at most be of 12 characters"
  • Identifier description in form says: "Create a 1-6 characters' identifier for the project."
  • Actual rule and error message says: "Identifier must at most be of 5 characters"

Screenshots: Create new project, Edit project settings

What I expect ist:

All rules for setting an identifier name should be identical, currently we have 3 different behaviours

So please normalize the rules to support 1 rule for all 3 occurences of the identifier field. I would love to see the 12 characters rule applied as it provides more options to set an identifier, but I'm also fine with a max of 6 characters.

Steps to reproduce

  1. Navigate to "projects" and click on + Add project
  2. Defining the "identifier", e.g. A23MYLA (which is 7 characters long)
  3. Press Create project and navigate to "project settings"
  4. After changing some stuff on the main page simply hit Update project
  5. Saving/Updating is not possible due to an form error: "Identifier must at most be of 5 characters"

Browser

Other (chromium based Edge)

Version

Cloud

ddudda174 avatar Sep 11 '23 08:09 ddudda174

So with which rule we should proceed with?

Yashwardhan-jagatramka avatar Sep 26 '23 12:09 Yashwardhan-jagatramka

I would suggest 8 characters instead 😄. It might be hard to choose a valid key if you have lots of projects and are limited to only 5 or 6 characters, while 12 would be kinda long for a 'short' ID/key. It would also be nice to accept "_" (underscore) as a valid character, which wouldoffer the possibility to visually seperate values inside a key (e.g. A23_MILA).

ddudda174 avatar Sep 27 '23 06:09 ddudda174