-
Notifications
You must be signed in to change notification settings - Fork 4
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
Lickem22 user management #455
base: main
Are you sure you want to change the base?
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.
Thank @lickem22.
Left comments for a couple of medium things and a few more small things.
Mind taking a look? Happy to review it again this week.
@@ -433,12 +435,16 @@ const Login = () => { | |||
open={showRegisterModal} | |||
onClose={handleRegisterModalClose} | |||
onContinue={handleRegisterModalContinue} | |||
registerUser={apiCalls.registerUser} | |||
registerUser={(user: UserBodyPassword | UserBody) => { |
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.
Why is UserBody
type needed for user
here? Is it for google login user and the password gets set as blank?
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.
I have a "Parent" modal UserModal
that can be done to register the first user, register all users and edit users. Since it can do both registering and editing it needs to support UserBodyPassword and UserBody, If I do :
(user: UserBodyPassword)
I am going to get a syntax error.
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.
So we are using a List of Cards? Do we really need Cards? Can we just use List and ListItem?
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.
Put all of it in the page ? I personnally think it is cleaner this way, too much information was making it harder to navigate
Reviewer:@sidravi1
Estimate: 1h
Ticket
Fixes: AAQ-844
Description
Goal
The goal of this PR is to add a frontend for the user management apis.
Changes
The following changes have been made:
Future Tasks (optional)
How has this been tested?
To-do before merge (optional)
Checklist
Fill with
x
for completed.(Delete any items below that are not relevant)
scripts/
.github/workflows/