[PR #4040] [MERGED] feat: create the default workspace on cloud when using appflowy cloud #6018

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4040
Author: @appflowy
Created: 11/28/2023
Status: Merged
Merged: 11/28/2023
Merged by: @appflowy

Base: mainHead: workspace_sync_after_login


📝 Commits (6)

📊 Changes

34 files changed (+504 additions, -322 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/auth/appflowy_cloud_auth_test.dart (+52 -42)
📝 frontend/appflowy_flutter/integration_test/util/base.dart (+29 -15)
📝 frontend/appflowy_flutter/ios/Podfile.lock (+1 -1)
📝 frontend/appflowy_flutter/lib/startup/deps_resolver.dart (+2 -14)
📝 frontend/appflowy_flutter/lib/startup/startup.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart (+4 -8)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+121 -63)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+13 -9)
📝 frontend/rust-lib/Cargo.lock (+100 -43)
📝 frontend/rust-lib/Cargo.toml (+10 -10)
📝 frontend/rust-lib/collab-integrate/src/collab_builder.rs (+13 -31)
📝 frontend/rust-lib/event-integration/tests/folder/supabase_test/helper.rs (+1 -1)
📝 frontend/rust-lib/flowy-core/Cargo.toml (+1 -1)
📝 frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs (+26 -10)
📝 frontend/rust-lib/flowy-core/src/integrate/user.rs (+16 -3)
📝 frontend/rust-lib/flowy-core/src/lib.rs (+5 -5)
📝 frontend/rust-lib/flowy-database2/Cargo.toml (+1 -1)
📝 frontend/rust-lib/flowy-document2/Cargo.toml (+1 -1)
📝 frontend/rust-lib/flowy-document2/src/entities.rs (+19 -1)
📝 frontend/rust-lib/flowy-document2/src/event_handler.rs (+1 -20)

...and 14 more files

📄 Description

In the current implementation, when a user signs up for AppFlowy Cloud, a default workspace is automatically created for them. However, for users who sign up through Supabase, the creation of the default workspace relies on the client-side operation. This means that the process for initializing a default workspace differs depending on the sign-up method used.


🔄 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/4040 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 11/28/2023 **Status:** ✅ Merged **Merged:** 11/28/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `workspace_sync_after_login` --- ### 📝 Commits (6) - [`8f23bda`](https://github.com/AppFlowy-IO/AppFlowy/commit/8f23bda425ea4eaaa4de1b7e3acd1157acd7f158) chore: sync strategy for collab type - [`1b30fc4`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b30fc4f2dcc29e96c94a1fcbef92abd8b369461) chore: update rev id - [`faf200d`](https://github.com/AppFlowy-IO/AppFlowy/commit/faf200d64f727d476a5468d4cb0daa6ae5118d22) Merge branch 'main' into workspace_sync_after_login - [`698e3b5`](https://github.com/AppFlowy-IO/AppFlowy/commit/698e3b5e6911c5896ed956ec71d4121282c16399) chore: update rev id - [`f2341cc`](https://github.com/AppFlowy-IO/AppFlowy/commit/f2341cc4cde6ae372506674a893a3edcd8a4f45a) ci: fix test - [`beb6054`](https://github.com/AppFlowy-IO/AppFlowy/commit/beb6054c943b2e99232533a6b1793f59ba2482c5) ci: fix test ### 📊 Changes **34 files changed** (+504 additions, -322 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/auth/appflowy_cloud_auth_test.dart` (+52 -42) 📝 `frontend/appflowy_flutter/integration_test/util/base.dart` (+29 -15) 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+1 -1) 📝 `frontend/appflowy_flutter/lib/startup/deps_resolver.dart` (+2 -14) 📝 `frontend/appflowy_flutter/lib/startup/startup.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart` (+4 -8) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+121 -63) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+13 -9) 📝 `frontend/rust-lib/Cargo.lock` (+100 -43) 📝 `frontend/rust-lib/Cargo.toml` (+10 -10) 📝 `frontend/rust-lib/collab-integrate/src/collab_builder.rs` (+13 -31) 📝 `frontend/rust-lib/event-integration/tests/folder/supabase_test/helper.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-core/Cargo.toml` (+1 -1) 📝 `frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs` (+26 -10) 📝 `frontend/rust-lib/flowy-core/src/integrate/user.rs` (+16 -3) 📝 `frontend/rust-lib/flowy-core/src/lib.rs` (+5 -5) 📝 `frontend/rust-lib/flowy-database2/Cargo.toml` (+1 -1) 📝 `frontend/rust-lib/flowy-document2/Cargo.toml` (+1 -1) 📝 `frontend/rust-lib/flowy-document2/src/entities.rs` (+19 -1) 📝 `frontend/rust-lib/flowy-document2/src/event_handler.rs` (+1 -20) _...and 14 more files_ </details> ### 📄 Description In the current implementation, when a user signs up for AppFlowy Cloud, a default workspace is automatically created for them. However, for users who sign up through Supabase, the creation of the default workspace relies on the client-side operation. This means that the process for initializing a default workspace differs depending on the sign-up method used. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:21:20 +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#6018
No description provided.