[PR #6308] [MERGED] fix: write/load database/document collab #7303

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6308
Author: @appflowy
Created: 9/14/2024
Status: Merged
Merged: 9/14/2024
Merged by: @appflowy

Base: mainHead: post_document_collab


📝 Commits (8)

📊 Changes

25 files changed (+509 additions, -306 deletions)

View changed files

📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+20 -19)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+8 -8)
📝 frontend/appflowy_web_app/src-tauri/Cargo.lock (+20 -19)
📝 frontend/appflowy_web_app/src-tauri/Cargo.toml (+8 -8)
📝 frontend/rust-lib/Cargo.lock (+20 -19)
📝 frontend/rust-lib/Cargo.toml (+9 -9)
📝 frontend/rust-lib/collab-integrate/src/collab_builder.rs (+11 -5)
📝 frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs (+1 -1)
📝 frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs (+29 -10)
📝 frontend/rust-lib/flowy-database-pub/src/cloud.rs (+8 -0)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+13 -20)
📝 frontend/rust-lib/flowy-database2/src/manager.rs (+123 -55)
📝 frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs (+108 -69)
📝 frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs (+1 -0)
📝 frontend/rust-lib/flowy-database2/tests/database/database_editor.rs (+1 -1)
📝 frontend/rust-lib/flowy-document-pub/src/cloud.rs (+8 -0)
📝 frontend/rust-lib/flowy-document/src/manager.rs (+31 -32)
📝 frontend/rust-lib/flowy-document/tests/document/util.rs (+10 -0)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+4 -4)
📝 frontend/rust-lib/flowy-folder/src/manager_init.rs (+1 -1)

...and 5 more files

📄 Description

  1. Save document to cloud after create a new document
  2. batch load database rows instead of load them one by one from server
  3. reduce related to performance issue

🔄 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/6308 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 9/14/2024 **Status:** ✅ Merged **Merged:** 9/14/2024 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `post_document_collab` --- ### 📝 Commits (8) - [`9bf1744`](https://github.com/AppFlowy-IO/AppFlowy/commit/9bf174472598a11907353164fa11864ef61164f8) chore: post document collab after create - [`240e654`](https://github.com/AppFlowy-IO/AppFlowy/commit/240e6546cf116f9a1c1777562a2b05ae76f5ccb0) chore: write database rows - [`954b280`](https://github.com/AppFlowy-IO/AppFlowy/commit/954b2807af83991f29628a841b35931ab870f71f) chore: fix test - [`61cd4e4`](https://github.com/AppFlowy-IO/AppFlowy/commit/61cd4e45b632b33dde9f816b3b359386cfc920c8) chore: fix test - [`5a8f21d`](https://github.com/AppFlowy-IO/AppFlowy/commit/5a8f21d0c649e2a066b3f631b428800ffcfeed2a) chore: bump collab - [`8b17c35`](https://github.com/AppFlowy-IO/AppFlowy/commit/8b17c35eda3d03cbf562ac22c30738266226d644) chore: fix get related row - [`eee837f`](https://github.com/AppFlowy-IO/AppFlowy/commit/eee837fa814e4b2f180ad030e31ec9bf8d907e42) chore: try to fix open database error - [`58706a5`](https://github.com/AppFlowy-IO/AppFlowy/commit/58706a5f298685c43589db9c9a301c152c606091) chore: update client api ### 📊 Changes **25 files changed** (+509 additions, -306 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+20 -19) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+8 -8) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.lock` (+20 -19) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.toml` (+8 -8) 📝 `frontend/rust-lib/Cargo.lock` (+20 -19) 📝 `frontend/rust-lib/Cargo.toml` (+9 -9) 📝 `frontend/rust-lib/collab-integrate/src/collab_builder.rs` (+11 -5) 📝 `frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs` (+29 -10) 📝 `frontend/rust-lib/flowy-database-pub/src/cloud.rs` (+8 -0) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+13 -20) 📝 `frontend/rust-lib/flowy-database2/src/manager.rs` (+123 -55) 📝 `frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs` (+108 -69) 📝 `frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-database2/tests/database/database_editor.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-document-pub/src/cloud.rs` (+8 -0) 📝 `frontend/rust-lib/flowy-document/src/manager.rs` (+31 -32) 📝 `frontend/rust-lib/flowy-document/tests/document/util.rs` (+10 -0) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+4 -4) 📝 `frontend/rust-lib/flowy-folder/src/manager_init.rs` (+1 -1) _...and 5 more files_ </details> ### 📄 Description 1. Save document to cloud after create a new document 2. batch load database rows instead of load them one by one from server 3. reduce related to performance issue --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:19:00 +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#7303
No description provided.