-
Notifications
You must be signed in to change notification settings - Fork 60
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 user design #981
Feat/add user design #981
Conversation
Hi @ecurrencyhodler, here is the demo |
LGTM! |
Is the search supposed to be working for me it isn't filtering out the users |
Yes search should be working. Thanks for catching this kev. It should be similar to the "invite developer" in our bounty assigning flow minus the extra "skill" filter box: Screen.Recording.2023-11-22.at.2.10.22.PM.mov |
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.
added some comments I think we can add some tests for some logic we have in here but looking good, and I also cant filter the users by typing in the box not sure if that was out of scope
frontend/app/src/people/widgetViews/organization/AddUserModal.tsx
Outdated
Show resolved
Hide resolved
frontend/app/src/people/widgetViews/organization/AddUserModal.tsx
Outdated
Show resolved
Hide resolved
frontend/app/src/people/widgetViews/organization/AddUserModal.tsx
Outdated
Show resolved
Hide resolved
frontend/app/src/people/widgetViews/organization/AssignUserRole.tsx
Outdated
Show resolved
Hide resolved
frontend/app/src/people/widgetViews/organization/AssignUserRole.tsx
Outdated
Show resolved
Hide resolved
frontend/app/src/people/widgetViews/organization/AssignUserRole.tsx
Outdated
Show resolved
Hide resolved
If it's difficult to test locally, let's merge and test on staging. |
Yeah those 4 are the only pre-selected. Manage org and update members are sensitive so I want the person to intentionally select them. |
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.
looks good to me!
@tobi-bams This looks great! I have one nitpick though. Adding the user should occur after we set user permissions. This video shows that they are added before they set user permissions. edit: NVM. Let's forget this for now. We can change if users complain. Screen.Recording.2023-11-24.at.3.54.23.PM.mov |
* feat: add user to organization new flow * feat: assign user roles * update: made some db query change * update: moved all styles in add user model to a new style file * update: moved assign user role styles to style file * update: updated syntax based on review * feat: added search to find add user modal * feat: added test for formatting roles that are displayed * fix: fix import * fix: moved function to another file * update: added img for users without image
Describe your changes
Issue ticket number and link
Type of change
Please delete options that are not relevant.
Checklist before requesting a review