-
Notifications
You must be signed in to change notification settings - Fork 6
feat: use react-select to pick group member role #3906
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
base: main
Are you sure you want to change the base?
Conversation
|
You can access the deployment of this PR at https://renku-ci-ui-3906.dev.renku.ch |
lorenzo-cavazzi
left a comment
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.
da45455 to
5c8374c
Compare
lorenzo-cavazzi
left a comment
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.
Lgtm! 🚀
I wonder if we should plan to have a similar "select" for project permissions -- perhaps it's less confusing in that case, but the difference between Editor and Owner might not be obvious.
I'll make an issue
lorenzo-cavazzi
left a comment
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.
Tiny detail I initially missed
| fieldState: { error }, | ||
| }) => ( | ||
| <> | ||
| <div className={cx("ms-1", "w-100", error && "is-invalid")}> |
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.



Summary
Use a react-select component to set the role for group members. This allows us to show more detailed information about the differences between the roles.
/deploy