[PR #7752] [MERGED] feat: change password in settings page #8089

Closed
opened 2026-03-23 23:22:33 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7752
Author: @LucasXu0
Created: 4/15/2025
Status: Merged
Merged: 4/18/2025
Merged by: @LucasXu0

Base: mainHead: reset_change_password


📝 Commits (10+)

  • 9327742 feat: change password in settings page
  • 8eaf7c1 feat: add change password api
  • 1b1ec06 Merge branch 'main' into reset_change_password
  • 8d2b0f5 feat: add password service
  • 6a6dda2 feat: add setup password
  • d5aa256 feat: refacotor account page
  • a3b4643 chor: update i18n
  • 7c408c3 chore: i18n
  • b82a113 chore: i18n
  • b4f33cb feat: add error message under text field

📊 Changes

42 files changed (+1854 additions, -264 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/shared/settings.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/personal_info/personal_info_setting_group.dart (+1 -1)
frontend/appflowy_flutter/lib/user/application/password/password_bloc.dart (+241 -0)
frontend/appflowy_flutter/lib/user/application/password/password_http_service.dart (+183 -0)
📝 frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/user/application/user_service.dart (+11 -0)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart (+50 -39)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode_page.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart (+33 -10)
📝 frontend/appflowy_flutter/lib/user/presentation/widgets/flowy_logo_title.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/user/settings_user_bloc.dart (+28 -9)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_toast.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/shared/sidebar_setting.dart (+49 -18)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/about/app_version.dart (+16 -14)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_deletion.dart (+18 -25)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_sign_in_out.dart (+100 -5)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_user_profile.dart (+12 -9)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/email/email_section.dart (+38 -0)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dart (+330 -0)
frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/password_suffix_icon.dart (+30 -0)

...and 22 more files

📄 Description

Feature Preview

  • change password
  • reset password
  • setup password
  • forgot password

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.

Summary by Sourcery

Implement password change functionality in the settings page for user account management

New Features:

  • Add a new section in account settings to change user password
  • Implement a dialog for changing password with validation

Enhancements:

  • Improve text field components with password visibility toggle
  • Update button and text styling across UI components
  • Enhance user interface for password change workflow

Tests:

  • Add validation for password change process
  • Implement error handling for password change scenarios

🔄 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/7752 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 4/18/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `reset_change_password` --- ### 📝 Commits (10+) - [`9327742`](https://github.com/AppFlowy-IO/AppFlowy/commit/9327742b1ba71bf81815f5bfae08e2c41b6a25f9) feat: change password in settings page - [`8eaf7c1`](https://github.com/AppFlowy-IO/AppFlowy/commit/8eaf7c1f1289f4929baa6eb30668bbcb6a7b3275) feat: add change password api - [`1b1ec06`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b1ec0648eb91db3ad2a0d3e501669095e9415d3) Merge branch 'main' into reset_change_password - [`8d2b0f5`](https://github.com/AppFlowy-IO/AppFlowy/commit/8d2b0f59e2ad70a2ff82b162e46ac15ab0b9cdcc) feat: add password service - [`6a6dda2`](https://github.com/AppFlowy-IO/AppFlowy/commit/6a6dda2342b24573ac23ee62e72e555f9bda9ee8) feat: add setup password - [`d5aa256`](https://github.com/AppFlowy-IO/AppFlowy/commit/d5aa2565f77d55c3383639404ea89f5d49f07aa8) feat: refacotor account page - [`a3b4643`](https://github.com/AppFlowy-IO/AppFlowy/commit/a3b4643211736f3127a35405d44f465a8bdaaf4a) chor: update i18n - [`7c408c3`](https://github.com/AppFlowy-IO/AppFlowy/commit/7c408c32902f6086659510fa6b39651ab7062eb1) chore: i18n - [`b82a113`](https://github.com/AppFlowy-IO/AppFlowy/commit/b82a11327b9e223dac7bd0cce6b89a7e0e390edb) chore: i18n - [`b4f33cb`](https://github.com/AppFlowy-IO/AppFlowy/commit/b4f33cbb4f4428bf62759c114d23970421fde41f) feat: add error message under text field ### 📊 Changes **42 files changed** (+1854 additions, -264 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/shared/settings.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/personal_info/personal_info_setting_group.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/user/application/password/password_bloc.dart` (+241 -0) ➕ `frontend/appflowy_flutter/lib/user/application/password/password_http_service.dart` (+183 -0) 📝 `frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/user/application/user_service.dart` (+11 -0) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart` (+50 -39) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode_page.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart` (+33 -10) 📝 `frontend/appflowy_flutter/lib/user/presentation/widgets/flowy_logo_title.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/user/settings_user_bloc.dart` (+28 -9) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_toast.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/shared/sidebar_setting.dart` (+49 -18) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/about/app_version.dart` (+16 -14) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_deletion.dart` (+18 -25) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_sign_in_out.dart` (+100 -5) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/account_user_profile.dart` (+12 -9) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/email/email_section.dart` (+38 -0) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dart` (+330 -0) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/password_suffix_icon.dart` (+30 -0) _...and 22 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] change password - [x] reset password - [x] setup password - [ ] forgot password <!--- 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 - [ ] 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. ## Summary by Sourcery Implement password change functionality in the settings page for user account management New Features: - Add a new section in account settings to change user password - Implement a dialog for changing password with validation Enhancements: - Improve text field components with password visibility toggle - Update button and text styling across UI components - Enhance user interface for password change workflow Tests: - Add validation for password change process - Implement error handling for password change scenarios --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:22:33 +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#8089
No description provided.