Skip to content
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

Sami/edit user info #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Sami/edit user info #12

wants to merge 3 commits into from

Conversation

9samioh
Copy link
Contributor

@9samioh 9samioh commented Apr 13, 2023

What's new in this PR

Description

  • I added a component called SettingsInfo that shows all of the member's information that's editable. They can edit each of these fields, which will open a UserForm based on that editType: "Information", "Name", "Email", "Password" (the edit type is being used as the title of the form)
  • the UserForm was edited to take in this editType, so we can use the same UserForm component for all forms
  • when a currentUser is logged in (in member view), we need to access the user information differently, by calling selectCurrentUser
  • when you're logged in as a manager who's viewing all of the house members' editable information, we can call getUserbyID, since all the user data has been stored in redux
  • password checking and updating happens in change password

Screenshots

image
image

How to review

Next steps

Relevant Links

Online sources

Related PRs

CC: @gregoriiaaa

@vercel
Copy link

vercel bot commented Apr 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bsc-web-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2023 3:47am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant