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

As a user creating a CO or registering a service, I'd like a suggestion for the short name #1099

Closed
FlorisFokkinga opened this issue Nov 30, 2023 · 3 comments
Labels
UI User interface only stories
Milestone

Comments

@FlorisFokkinga
Copy link
Contributor

FlorisFokkinga commented Nov 30, 2023

Please use the same function for helping users pick a short name for creating a CO and registering a service.

  • Start with an empty form, empty name and empty short name
  • Once a name is entered, place the suggested short name in the field as text/contents
  • The users can edit/change the short name
  • Once the short name has been edited by the user, don't suggest any changes, unless the field is empty
@FlorisFokkinga FlorisFokkinga converted this from a draft issue Nov 30, 2023
@FlorisFokkinga FlorisFokkinga self-assigned this Nov 30, 2023
@FlorisFokkinga FlorisFokkinga added the UI User interface only stories label Nov 30, 2023
@FlorisFokkinga FlorisFokkinga changed the title Auto generate short names for services and COs As a user creating a CO or registering a service, I'd like a suggestion for the short name Dec 4, 2023
@oharsta oharsta closed this as completed in a1712cd Dec 4, 2023
@sram-project-automation sram-project-automation bot moved this from Todo to To be tested in SRAM development Dec 4, 2023
@baszoetekouw baszoetekouw added this to the v29 milestone Dec 5, 2023
@FlorisFokkinga FlorisFokkinga moved this from To be tested to Being tested in SRAM development Dec 6, 2023
@FlorisFokkinga
Copy link
Contributor Author

FlorisFokkinga commented Dec 6, 2023

  • Suggesting a short name doesn't work for registering or creating a service.
  • Disable this for editing collaborations so platform admins don't change the short name by accident. For services, it seems already disabled.
  • Also fix the bug that a CO admin and service admin can change the short name by removing disabled="" from its field in the edit form.

@FlorisFokkinga FlorisFokkinga moved this from Being tested to Todo in SRAM development Dec 6, 2023
@baszoetekouw
Copy link
Member

the third issue here is more generic; I think this bug is present in other places, too. We should think of a way that we can more easily verify access right to specific fields (read and write) in SBS.

oharsta added a commit that referenced this issue Dec 6, 2023
@oharsta oharsta moved this from Todo to In progress in SRAM development Dec 6, 2023
@oharsta oharsta moved this from In progress to To be tested in SRAM development Dec 6, 2023
@baszoetekouw
Copy link
Member

Tested

@baszoetekouw baszoetekouw moved this from To be tested to To be deployed in SRAM development Dec 8, 2023
@sram-deploy-tools-automation sram-deploy-tools-automation bot moved this from To be deployed to Done in SRAM development Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI User interface only stories
Projects
Archived in project
Development

No branches or pull requests

3 participants