Educado-App / educado-frontend

The repository for the educado content creation web platform.
https://app.educado.com
GNU General Public License v3.0
0 stars 4 forks source link

[TEAM OFFLINE] Delete content creator #36

Closed sofiiagran closed 10 months ago

sofiiagran commented 10 months ago

Description

In this PR one can now go to the profile page and delete their account.

Changes

Added a "delete account" button with a popup massage. Also added a simple localStorage.setItem("id", res.data.userInfo.id) in the login page so it is possible to fetch the users id when calling the delete route.

Related Issues

Checklist

Screenshots (if applicable)

Skærmbillede 2023-11-01 kl  15 21 25 Skærmbillede 2023-11-01 kl  15 21 31

If mobile/frontend pull request, what version of the backend is it stable, and running on?

This should work with the dev and staging backend since the delete route is implemented in both. However, there is some dependency related to the correctness of the login functionality.

Notes for Reviewers

Designed approved by Luiza. Api route have been tested.

sofiiagran commented 10 months ago

@PrometheusBork, yes, as per now I can see that the linting does not work on any PRs for the web/frontEnd. I will talk with the integration team and the other web teams and fix it for the next sprint