-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bc 237 migrate edit profile #87
base: refactor/react-migration
Are you sure you want to change the base?
Conversation
@@ -70,7 +80,7 @@ const AboutUser = () => { | |||
|
|||
return ( | |||
<div className="about-user"> | |||
<Form formData={userForm} formState={[userInfo, setUserInfo, handleUserUpdate]} /> | |||
<EditProfileForm formData={userForm} formState={[userInfo, setUserInfo, handleUserUpdate]} /> |
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.
Let's relieve ourselves from the need of a custom-input-vending component. A form from scratch is going to be much easier to go back and update and ultimately gives us more control vs. a headache.
Don't build another component, you can build the form directly in here.
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.
Besides the comments above, let's also:
- make it so that clicking anywhere in the role checkboxes will activate the check.
- text inputs should have a margin of 10 - 24 - 10 - 10 (top, right, left, bottom)
Besides that everything else looked great! Good work! Love what you did with the checkboxes and character count
Changes disscued have been corrected. Ready to be reviewed again. |
Rearranged some elements, added the character count feature to match the figma. Used UserProfile as a reference to some styling.