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
Create Account Page #865
Comments
Hi!, Could you please assign me an issue to work on for the bloom-frontend project? I'm eager to contribute to the project and the society |
Thank you for your interest in contributing to Chayn! Please carefully read the CONTRIBUTING.md file and the README.md file for guidance. Let us know if you have any questions. Good luck! |
@anmol-fzr Thank you for your interest in contributing to Chayn! |
Added Only UI part of the Account Page described in issue chaynHQ#865
@kyleecodes , I'm getting 403 Foribidden resource error on delete account API can somebody guide me ? |
Hi there, sorry for the delay in getting back to you. If you are looking to delete the account with the following endpoint you need to create a super admin user and log in with them.
Here is the documentation about how to add different types of bloom users. How I normally get the access token to authenticate against the backend:
We plan to make a shareable Postman Collection at some point to make this easier. I just wanted to check that I had been clear enough on this ticket. I know the design includes deleting a user and also updating the subscription preferences but it didn't mean implementing the whole design. I.e. you don't need to implement delete user section or the update subscription sections. This ticket required just building the page, adding the link to the UserMenu and displaying the user name and email. Hope that makes sense! |
Okay If only super admins can delete a user, then how will we impliment delete User functionality on the Account Page as described in this issue. |
Thanks for your question 😄 The ticket specifies "Note that it is not for displaying the delete account or update email preferences. These will be separated into a follow up ticket." We are implementing the design in stages. This ticket does not cover the whole design. Hope that explains it! |
Okay, I understand, I have implemented the rest of the part ( UI + functionality ). Should i raise a PR now ? |
Oh cool! Thats amazing 🎉 Thank you What was your mechanism for updating the user subscription preferences? Do you have a PR for the backend as well? I think the endpoint exists but the DTO doesn't include the subscription preferences. Also I think the endpoint reuses the getUserDTO and should probably have its own DTO. |
Make a PR with what you have got and we can chat through your solutions. |
Overview
We want users to be able to see their account details when they are logged in. This ticket only includes creating the account page and the card where we display profile details. See designs:
Desktop
Mobile
Note that it is not for displaying the delete account or update email preferences. These will be separated into a follow up ticket.
Action Items
/account/settings
and ensure it is kept behind a firebase auth guard. See /bloom-frontend/pages/_app.tsx for the auth guard.The text was updated successfully, but these errors were encountered: