-
Notifications
You must be signed in to change notification settings - Fork 196
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
feat: add connector unique name suffix #2866
feat: add connector unique name suffix #2866
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @lujakob, great to see you around again! 😊
@reneaaron I added tests as suggested and ran the format command. Please have another look. |
Hi @reneaaron could you please check this PR once again? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @lujakob! 🙌
I tried to simplify the unique name generation a bit, have a look if that makes sense!
tACK
Awesome, thanks. |
Describe the changes you have made in this PR
The accounts in the list of accounts under "Manage accounts" should have unique names. The changes of this PR add a "(1)" suffix to the account name in case an account of the same name already exists. The number in between the brackets "()" is detected and increased by 1, so an account with the same name can be added multiple times and the suffix will be increased from "(1)" to "(2)" to "(3)" etc...
Link this PR to an issue [optional]
Fixes #2793
Type of change
feat
: New feature (non-breaking change which adds functionality)Screenshots of the changes [optional]
How has this been tested?
Manually
Checklist