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

Notifications Page (Frontend) and Integrate w/ Backend #21

Closed
ThatMegamind opened this issue Jan 21, 2024 · 0 comments · Fixed by #27
Closed

Notifications Page (Frontend) and Integrate w/ Backend #21

ThatMegamind opened this issue Jan 21, 2024 · 0 comments · Fixed by #27
Assignees
Labels

Comments

@ThatMegamind
Copy link
Collaborator

ThatMegamind commented Jan 21, 2024

Instructions

  • Most of the previous tasks have focused on the Catalog and Published Schedule, but one of the other main components of this project is the Notifications Page, which essentially acts as a dashboard for Admin Users
  • In this task, you’ll be setting up the main skeleton for this page
  • Some of the functionality and design is still TBD (we'll likely move this page to a drawer later), but the main functionality you’ll be implementing today is displaying all “pending users” in a list view
  • Pending users are users who have submitted a request to create an account, and need to be approved by an admin

Notes

  • Users who are “pending” are those in the Users table whose approved attribute is set to FALSE
  • Remember that you’ll need to have the backend running in order for the routes to be used
  • To understand the design of this page more, talk with Selina from the design side!

Acceptance Criteria

  • The new page can be found at the preexisting /notifications route
  • All users whose account requests are pending are displayed in a list view
  • User requests can be either approved or rejected with an “Accept” or “Decline” button
  • Rejected user requests should result in the user’s row being deleted from the Users table
  • Approved user requests should change the user’s approved attribute to TRUE and allow
  • All approved users can log into the system
  • All rejected and pending users cannot log into the system

Resources

As always, feel free to message Michael and Michelle if you have any questions!

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

Successfully merging a pull request may close this issue.

3 participants