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

Feature/aammya8/new account approval #104

Merged
merged 18 commits into from
Jun 15, 2024

Conversation

aammya8
Copy link
Contributor

@aammya8 aammya8 commented Jun 3, 2024

Tracking Info

Resolves #31, #41, #58

Changes

  • Function to get all not approved accounts
  • NotificationCard and NotificationTable UI and functionality
  • DELETE user by email route
  • Approve user functionality (change approval status and send approval email)
  • Deny user functionality (remove user from database and send denial email)

NOTE

  • Updated env file and uploaded to drive; follow instructions in env file to setup emailing

Testing

  • Tested approving and denying account with different emails, and then checked Firebase and Mongo to make sure correct action was taken.

Confirmation of Change

Notifications UI:
Screenshot 2024-06-03 at 2 14 25 PM

Approval Email:
Screenshot 2024-06-03 at 2 15 37 PM

Denial Email:
Screenshot 2024-06-03 at 2 19 29 PM

@aammya8 aammya8 requested a review from adhi0331 as a code owner June 3, 2024 21:24
Copy link

github-actions bot commented Jun 15, 2024

Visit the preview URL for this PR (updated for commit dd84849):

https://pia-dev-60cea--pr104-feature-aammya8-new-qapr2fvf.web.app

(expires Sat, 22 Jun 2024 04:33:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b780ee12a240535f7ca0729d49968573a1f3e284

Copy link
Member

@adhi0331 adhi0331 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!! 🚀

@adhi0331 adhi0331 merged commit b0b800a into main Jun 15, 2024
4 checks passed
@adhi0331 adhi0331 deleted the feature/aammya8/new-account-approval branch June 15, 2024 04:40
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.

[View All Programs Page] - Create Program card components to show all necessary information about a program
2 participants