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

Translate admin page from old webapp to new webapp #16

Closed
samuelwshen opened this issue Sep 15, 2021 · 0 comments
Closed

Translate admin page from old webapp to new webapp #16

samuelwshen opened this issue Sep 15, 2021 · 0 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@samuelwshen
Copy link
Contributor

Description

The old webapp's admin page was a place for volunteers to do misc administrative tasks, such as modify categories, edit hours, and view items that were low stock. When translating this page to the new webapp, we do not need to build the ability to modify categories since that is being done separately.

Prior work

To view the admin page, go to testcalnourish.firebaseapp.com, login with an authenticated email, and click the Admin tab. The frontend code for the old admin page is here. I wouldn't lean too much on it though since we do want to refresh the styling for the new webapp.

To see how the old admin page interacted with Firebase, here's the script. We will need to make a new endpoint that updates the hours for the food pantry. Talk to Sam about how this would work.

What we want

We're pretty flexible with this page since it isn't a core page to the webapp. Design-wise, it's pretty open ended. The core thing to get done first is the low stock threshold, then updating hours can come later. We have long term ideas for what we want on this page, so just having an Admin page is a great place to be.

@janiseliang janiseliang added the duplicate This issue or pull request already exists label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants