[PR #4442] [MERGED] feat: enable anonymous sign in on mobile #6254

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4442
Author: @LucasXu0
Created: 1/22/2024
Status: Merged
Merged: 1/22/2024
Merged by: @LucasXu0

Base: mainHead: anonymous_login


📝 Commits (2)

  • 87c8af4 feat: enable anoymous login on mobile
  • 6ff31c2 feat: support signin with third party serices

📊 Changes

6 files changed (+182 additions, -111 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart (+46 -30)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about_setting_group.dart (+1 -1)
frontend/appflowy_flutter/lib/mobile/presentation/setting/user_session_setting_group.dart (+54 -0)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart (+16 -22)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_or_logout_button.dart (+63 -0)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_buttons.dart (+2 -58)

📄 Description

Feature Preview

  • Enable anonymous sign-in on mobile.
    Screenshot 2024-01-22 at 18 58 35

  • If a user signs in with an anonymous session, third-party sign-in buttons and a logout button will be displayed on the settings page.
    Screenshot 2024-01-22 at 18 58 39

  • If a user signs in with third-party services, only the logout button will be shown.
    Screenshot 2024-01-22 at 18 57 07


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/4442 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 1/22/2024 **Status:** ✅ Merged **Merged:** 1/22/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `anonymous_login` --- ### 📝 Commits (2) - [`87c8af4`](https://github.com/AppFlowy-IO/AppFlowy/commit/87c8af45eb3278b3640761a2fcb25189b1145853) feat: enable anoymous login on mobile - [`6ff31c2`](https://github.com/AppFlowy-IO/AppFlowy/commit/6ff31c282f0b11e6edd02bc2065dab0c00105f78) feat: support signin with third party serices ### 📊 Changes **6 files changed** (+182 additions, -111 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart` (+46 -30) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about_setting_group.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/setting/user_session_setting_group.dart` (+54 -0) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart` (+16 -22) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_or_logout_button.dart` (+63 -0) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_buttons.dart` (+2 -58) </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 - Enable anonymous sign-in on mobile. <img width="563" alt="Screenshot 2024-01-22 at 18 58 35" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/931e04d4-21b1-4de9-be23-547f4ba3b3b3"> - If a user signs in with an anonymous session, third-party sign-in buttons and a logout button will be displayed on the settings page. <img width="563" alt="Screenshot 2024-01-22 at 18 58 39" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/cf8d9ca3-dad9-409c-b34e-a8df803afb48"> - If a user signs in with third-party services, only the logout button will be shown. <img width="563" alt="Screenshot 2024-01-22 at 18 57 07" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/3cb82fb6-cb89-4e0c-a33f-979b1653dbd6"> <!--- 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:22:24 +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#6254
No description provided.