[PR #7685] [MERGED] feat: sign in with passcode #8043

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

📋 Pull Request Information

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

Base: mainHead: sign_in_with_password_or_passcode


📝 Commits (5)

  • adbf5e6 feat: sign in with password or passcode
  • 0344afd Merge branch 'main' into sign_in_with_password_or_passcode
  • 41c2a4c feat: add loading dialog
  • cc91d90 chore: update translations
  • 4341102 feat: support otp on mobile

📊 Changes

51 files changed (+1228 additions, -456 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/cloud/data_migration/anon_user_data_migration_test.dart (+0 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about_setting_group.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/workspace/invite_members_screen.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_util.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart (+30 -24)
📝 frontend/appflowy_flutter/lib/startup/tasks/appflowy_cloud_task.dart (+58 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/af_cloud_auth_service.dart (+18 -2)
📝 frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart (+10 -1)
📝 frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart (+14 -2)
📝 frontend/appflowy_flutter/lib/user/application/auth/backend_auth_service.dart (+11 -3)
📝 frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart (+110 -31)
📝 frontend/appflowy_flutter/lib/user/application/user_service.dart (+9 -0)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart (+48 -24)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart (+20 -12)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button.dart (+1 -1)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button/anonymous_sign_in_button.dart (+16 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email.dart (+23 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart (+133 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode_page.dart (+187 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password.dart (+21 -0)

...and 31 more files

📄 Description

Feature Preview

  • sign in with password
  • sign in with passcode
  • forgot password (another PR)
  • reset password (another PR)
  • new UI design in sign in page
  • new UI design in settings page

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/7685 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/10/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `sign_in_with_password_or_passcode` --- ### 📝 Commits (5) - [`adbf5e6`](https://github.com/AppFlowy-IO/AppFlowy/commit/adbf5e6d8d7107c522924a275e505e533fc79709) feat: sign in with password or passcode - [`0344afd`](https://github.com/AppFlowy-IO/AppFlowy/commit/0344afddf44c88f86c2008c9c315cc461a3bfd5c) Merge branch 'main' into sign_in_with_password_or_passcode - [`41c2a4c`](https://github.com/AppFlowy-IO/AppFlowy/commit/41c2a4c9b0180177de34dc90f9565c64d37e67e2) feat: add loading dialog - [`cc91d90`](https://github.com/AppFlowy-IO/AppFlowy/commit/cc91d908f5fef61566e0ce21d9e69624d2505f41) chore: update translations - [`4341102`](https://github.com/AppFlowy-IO/AppFlowy/commit/43411027e413f5966f0814b2df6575518857882e) feat: support otp on mobile ### 📊 Changes **51 files changed** (+1228 additions, -456 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/cloud/data_migration/anon_user_data_migration_test.dart` (+0 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about_setting_group.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/workspace/invite_members_screen.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_util.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart` (+30 -24) 📝 `frontend/appflowy_flutter/lib/startup/tasks/appflowy_cloud_task.dart` (+58 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/af_cloud_auth_service.dart` (+18 -2) 📝 `frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart` (+10 -1) 📝 `frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart` (+14 -2) 📝 `frontend/appflowy_flutter/lib/user/application/auth/backend_auth_service.dart` (+11 -3) 📝 `frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart` (+110 -31) 📝 `frontend/appflowy_flutter/lib/user/application/user_service.dart` (+9 -0) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart` (+48 -24) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart` (+20 -12) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button/anonymous_sign_in_button.dart` (+16 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email.dart` (+23 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart` (+133 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode_page.dart` (+187 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password.dart` (+21 -0) _...and 31 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] sign in with password - [x] sign in with passcode - [ ] forgot password (another PR) - [ ] reset password (another PR) - [x] new UI design in sign in page - [x] new UI design in settings page <!--- 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) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] 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:22:21 +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#8043
No description provided.