[PR #2863] [MERGED] feat: ability to delete user account and data #4114

Closed
opened 2026-03-17 01:40:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2863
Author: @anwarulislam
Created: 11/29/2022
Status: Merged
Merged: 12/17/2022
Merged by: @liyasthomas

Base: mainHead: feat/user-delete


📝 Commits (10+)

  • c3f8b75 feat: add gql mutation
  • 1b0ef68 feat: added delete account section in profile page
  • 93c6c72 feat: separate shortcodes section to a component
  • dd0458b feat: delete user modal
  • 152c6ce feat: delete user account
  • 13d7f36 feat: navigate to homepage after delete
  • c671fb0 chore: improve ui
  • 4bca8c5 fix: delete user mutation
  • bae1b9a chore: minor ui improvements
  • d52a15d chore: correct grammar in certain i18n strings

📊 Changes

7 files changed (+390 additions, -158 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+6 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+2 -7)
packages/hoppscotch-common/src/components/profile/Shortcodes.vue (+170 -0)
packages/hoppscotch-common/src/components/profile/UserDelete.vue (+187 -0)
packages/hoppscotch-common/src/helpers/backend/gql/mutations/DeleteUser.graphql (+3 -0)
packages/hoppscotch-common/src/helpers/backend/mutations/Profile.ts (+15 -0)
📝 packages/hoppscotch-common/src/pages/profile.vue (+7 -151)

📄 Description

Description

This feature addition now allows users to delete their user data from firebase and their association with Teams. If the user is an OWNER of the team we don't allow operation to proceed.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2863 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 11/29/2022 **Status:** ✅ Merged **Merged:** 12/17/2022 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `main` ← **Head:** `feat/user-delete` --- ### 📝 Commits (10+) - [`c3f8b75`](https://github.com/hoppscotch/hoppscotch/commit/c3f8b752a85d69cfd3e5f8279cb06c48f9fb2bc5) feat: add gql mutation - [`1b0ef68`](https://github.com/hoppscotch/hoppscotch/commit/1b0ef68b983fcd77ddeff14bd3b7372bc22eee34) feat: added delete account section in profile page - [`93c6c72`](https://github.com/hoppscotch/hoppscotch/commit/93c6c72f06029081a658e1702b31f06663e16408) feat: separate shortcodes section to a component - [`dd0458b`](https://github.com/hoppscotch/hoppscotch/commit/dd0458ba5a0b4fc847f7c4ceebd5407ec6b00328) feat: delete user modal - [`152c6ce`](https://github.com/hoppscotch/hoppscotch/commit/152c6ce011bb6ffd7496ef45a9b5931a5bc5f307) feat: delete user account - [`13d7f36`](https://github.com/hoppscotch/hoppscotch/commit/13d7f3679d398706f960125f6a47f73215b24512) feat: navigate to homepage after delete - [`c671fb0`](https://github.com/hoppscotch/hoppscotch/commit/c671fb09269f74da60302a12b35efb72ed085c15) chore: improve ui - [`4bca8c5`](https://github.com/hoppscotch/hoppscotch/commit/4bca8c59f84f6faa7f1c49250987ab0feb64ac0b) fix: delete user mutation - [`bae1b9a`](https://github.com/hoppscotch/hoppscotch/commit/bae1b9ad4de345aa0bd89f0b6e93bdd52b1783bf) chore: minor ui improvements - [`d52a15d`](https://github.com/hoppscotch/hoppscotch/commit/d52a15dcbdb01711c496add9bed68d2af8fbb37b) chore: correct grammar in certain i18n strings ### 📊 Changes **7 files changed** (+390 additions, -158 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+6 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+2 -7) ➕ `packages/hoppscotch-common/src/components/profile/Shortcodes.vue` (+170 -0) ➕ `packages/hoppscotch-common/src/components/profile/UserDelete.vue` (+187 -0) ➕ `packages/hoppscotch-common/src/helpers/backend/gql/mutations/DeleteUser.graphql` (+3 -0) ➕ `packages/hoppscotch-common/src/helpers/backend/mutations/Profile.ts` (+15 -0) 📝 `packages/hoppscotch-common/src/pages/profile.vue` (+7 -151) </details> ### 📄 Description ### Description This feature addition now allows users to delete their user data from firebase and their association with Teams. If the user is an OWNER of the team we don't allow operation to proceed. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [] Not Completed - [] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:40:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4114
No description provided.