-
Notifications
You must be signed in to change notification settings - Fork 899
feat: Add update user roles action #1361
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1361 +/- ##
==========================================
+ Coverage 66.49% 66.95% +0.46%
==========================================
Files 284 286 +2
Lines 18593 18752 +159
Branches 235 241 +6
==========================================
+ Hits 12363 12555 +192
+ Misses 4964 4913 -51
- Partials 1266 1284 +18
Continue to review full report at Codecov.
|
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
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.
My brain is a little fried so I'm not looking as deeply at the XService as normal but this all looks good to me. I just have a question about your useRoles
hook - if it's taking effect at the same time as the other useEffect
seems like we could put them together. If not then maybe the other one (that I wrote) has a bug.
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
@presleyp thanks for the review. About the |
@BrunoQuaresma yeah, I think that's a strategy for addressing the thing that bothers me about |
@@ -0,0 +1,24 @@ | |||
import { ComponentMeta, Story } from "@storybook/react" | |||
import React from "react" |
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.
@BrunoQuaresma Just looking at merged PRs to learn - no action necessary here. Curious if there's a reason we're importing React given we're on version 17 instead of silencing the 'React must be in scope' warnings.
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.
Good question, I think it is automatically added by an eslint role, but I'm not 100% sure.
Closes #739