[PR #6103] [MERGED] feat: support account deletion #7193

Closed
opened 2026-03-23 23:18:31 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6103
Author: @LucasXu0
Created: 8/29/2024
Status: Merged
Merged: 9/3/2024
Merged by: @LucasXu0

Base: mainHead: account_deletion


📝 Commits (10+)

  • a54af9e feat: support account deletion
  • ad50ab1 chore: update translation
  • 7e61370 feat: support account deletion on mobile
  • 5ff8970 fix: only display account deletion button in appflowy cloud mode
  • 2d92e33 chore: remove unused code
  • 217c851 chore: update checkbox style
  • cb2144b fix: integration test
  • 4ae06a4 chore: update translations
  • 51583f0 Merge branch 'main' into account_deletion
  • a5cf9e4 chore: update sentry version in podfile.lock

📊 Changes

23 files changed (+936 additions, -471 deletions)

View changed files

📝 frontend/Makefile.toml (+1 -1)
📝 frontend/appflowy_flutter/integration_test/cloud/anon_user_continue_test.dart (+6 -6)
📝 frontend/appflowy_flutter/integration_test/cloud/appflowy_cloud_auth_test.dart (+5 -4)
📝 frontend/appflowy_flutter/integration_test/cloud/user_setting_sync_test.dart (+3 -3)
📝 frontend/appflowy_flutter/integration_test/shared/auth_operation.dart (+3 -3)
📝 frontend/appflowy_flutter/integration_test/shared/settings.dart (+3 -3)
📝 frontend/appflowy_flutter/ios/Podfile.lock (+5 -5)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page_header.dart (+3 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/setting/settings_popup_menu.dart (+16 -7)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/user_session_setting_group.dart (+185 -42)
📝 frontend/appflowy_flutter/lib/user/application/user_service.dart (+6 -2)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_or_logout_button.dart (+9 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/shared_widget.dart (+8 -2)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account.dart (+3 -0)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_deletion.dart (+262 -0)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_sign_in_out.dart (+185 -0)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_user_profile.dart (+179 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_account_view.dart (+10 -382)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/_restart_app_button.dart (+2 -2)

...and 3 more files

📄 Description

Feature Preview

  • integrate the account deletion endpoint

https://github.com/user-attachments/assets/c6cb1a50-5220-436c-8608-df8d81aa25b2

Desktop

Screenshot 2024-08-29 at 19 29 22

Mobile

Screenshot 2024-08-29 at 19 32 53

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/AppFlowy-IO/AppFlowy/pull/6103 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/29/2024 **Status:** ✅ Merged **Merged:** 9/3/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `account_deletion` --- ### 📝 Commits (10+) - [`a54af9e`](https://github.com/AppFlowy-IO/AppFlowy/commit/a54af9e86bf6ce8fd59f52984107bcd048b16bb5) feat: support account deletion - [`ad50ab1`](https://github.com/AppFlowy-IO/AppFlowy/commit/ad50ab17c626b96d4b7a72247d22fb327705ee68) chore: update translation - [`7e61370`](https://github.com/AppFlowy-IO/AppFlowy/commit/7e613709dde86e5fcba26ae8a0653636f03f80fe) feat: support account deletion on mobile - [`5ff8970`](https://github.com/AppFlowy-IO/AppFlowy/commit/5ff8970e841345eddff76ed3f0bfd974146d9223) fix: only display account deletion button in appflowy cloud mode - [`2d92e33`](https://github.com/AppFlowy-IO/AppFlowy/commit/2d92e3396ab1533c8f317feff8884c85e9e1fc18) chore: remove unused code - [`217c851`](https://github.com/AppFlowy-IO/AppFlowy/commit/217c8515224226edd0e2abf86cb904ee9c847b21) chore: update checkbox style - [`cb2144b`](https://github.com/AppFlowy-IO/AppFlowy/commit/cb2144ba69b0cc15e5beaf397f6f54bbfd9e1077) fix: integration test - [`4ae06a4`](https://github.com/AppFlowy-IO/AppFlowy/commit/4ae06a4dcf850739911d023f3aff57ece6840124) chore: update translations - [`51583f0`](https://github.com/AppFlowy-IO/AppFlowy/commit/51583f0604d24ed43a88add5c18589e466c8c01d) Merge branch 'main' into account_deletion - [`a5cf9e4`](https://github.com/AppFlowy-IO/AppFlowy/commit/a5cf9e432a3367df3b70a0ca8839e28e7a873ff8) chore: update sentry version in podfile.lock ### 📊 Changes **23 files changed** (+936 additions, -471 deletions) <details> <summary>View changed files</summary> 📝 `frontend/Makefile.toml` (+1 -1) 📝 `frontend/appflowy_flutter/integration_test/cloud/anon_user_continue_test.dart` (+6 -6) 📝 `frontend/appflowy_flutter/integration_test/cloud/appflowy_cloud_auth_test.dart` (+5 -4) 📝 `frontend/appflowy_flutter/integration_test/cloud/user_setting_sync_test.dart` (+3 -3) 📝 `frontend/appflowy_flutter/integration_test/shared/auth_operation.dart` (+3 -3) 📝 `frontend/appflowy_flutter/integration_test/shared/settings.dart` (+3 -3) 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+5 -5) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page_header.dart` (+3 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/setting/settings_popup_menu.dart` (+16 -7) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/user_session_setting_group.dart` (+185 -42) 📝 `frontend/appflowy_flutter/lib/user/application/user_service.dart` (+6 -2) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_or_logout_button.dart` (+9 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/shared_widget.dart` (+8 -2) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account.dart` (+3 -0) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_deletion.dart` (+262 -0) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_sign_in_out.dart` (+185 -0) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_user_profile.dart` (+179 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_account_view.dart` (+10 -382) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/_restart_app_button.dart` (+2 -2) _...and 3 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview - [x] integrate the account deletion endpoint https://github.com/user-attachments/assets/c6cb1a50-5220-436c-8608-df8d81aa25b2 #### Desktop <img width="738" alt="Screenshot 2024-08-29 at 19 29 22" src="https://github.com/user-attachments/assets/ffe8cf19-812d-4eb3-a0ce-fec5d4602008"> #### Mobile <img width="535" alt="Screenshot 2024-08-29 at 19 32 53" src="https://github.com/user-attachments/assets/95b8a0f6-1211-424b-8748-faeaff206b87"> <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:18:31 +00: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
AppFlowy-IO/AppFlowy#7193
No description provided.