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

Marcos/user forms #77

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

Marcos/user forms #77

wants to merge 3 commits into from

Conversation

MarcosH28
Copy link

What's new in this PR

Description

Created form to add/create new user from the manager's account.

Screenshots

<img width="957" alt="Screenshot 2023-03-17 at 1 29 02 PM" src="https://user-images.githubusercontent.com/123115186/2260
Screenshot 2023-03-17 at 1 29 45 PM
32211-debe0679-2923-4421-b35e-32a1056c7e1e.png">

How to review

UserForm.tsx was the file being edited and should be reviewed all together. To test, log into a manager account. The URL should be at "http://localhost:####/manager/______". Replace the last word of the URL (blank line) with "members" to access the correct page. Then, click on the button "ADD USER" which will open the form. Continue filling out the information for a new user (whether it be a manager or member) which takes in a first name, last name, display name, email, role, and House ID. After pressing "SUBMIT", check the Firebase to verify that a new user has been created with the correct starting attributes.

Next steps

Some next steps would be top add a page/category to navigate to the "members" page for managers as it is not currently doable without editing the URL itself. Formatting is also another step to be taken in order to match the theme of the website.

Relevant Links

Online sources

Related PRs

CC: @gregoriiaaa

@MarcosH28 MarcosH28 requested a review from gregoriiaaa March 17, 2023 20:42
@vercel
Copy link

vercel bot commented Mar 17, 2023

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

Name Status Preview Comments Updated
berkeley-student-cooperative ❌ Failed (Inspect) Mar 17, 2023 at 8:44PM (UTC)

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