[PR #4295] [MERGED] fix: import document from database row #6178

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4295
Author: @appflowy
Created: 1/3/2024
Status: Merged
Merged: 1/4/2024
Merged by: @appflowy

Base: mainHead: open_row_document


📝 Commits (8)

📊 Changes

19 files changed (+228 additions, -186 deletions)

View changed files

📝 frontend/.vscode/launch.json (+1 -1)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -1)
📝 frontend/rust-lib/event-integration/src/lib.rs (+6 -19)
📝 frontend/rust-lib/event-integration/tests/asset/040_local.zip (+0 -0)
📝 frontend/rust-lib/event-integration/tests/user/af_cloud_test/import_af_data_folder_test.rs (+55 -0)
📝 frontend/rust-lib/event-integration/tests/user/migration_test/version_test.rs (+11 -8)
📝 frontend/rust-lib/event-integration/tests/util.rs (+1 -1)
📝 frontend/rust-lib/flowy-core/src/integrate/log.rs (+2 -2)
📝 frontend/rust-lib/flowy-core/src/integrate/server.rs (+25 -19)
📝 frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs (+31 -39)
📝 frontend/rust-lib/flowy-document/src/manager.rs (+30 -29)
📝 frontend/rust-lib/flowy-document/tests/document/util.rs (+9 -3)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+1 -0)
📝 frontend/rust-lib/flowy-server/src/local_server/impls/document.rs (+9 -3)
📝 frontend/rust-lib/flowy-user-deps/src/cloud.rs (+4 -11)
📝 frontend/rust-lib/flowy-user/src/event_handler.rs (+21 -6)
📝 frontend/rust-lib/flowy-user/src/manager.rs (+6 -9)
📝 frontend/rust-lib/flowy-user/src/services/data_import/appflowy_data_import.rs (+10 -33)
📝 frontend/rust-lib/flowy-user/src/services/db.rs (+5 -2)

📄 Description

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/4295 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 1/3/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `open_row_document` --- ### 📝 Commits (8) - [`b2e8cb6`](https://github.com/AppFlowy-IO/AppFlowy/commit/b2e8cb69dececd37fde305c2dc84c987215dc2cd) fix: import document from database row - [`27a0082`](https://github.com/AppFlowy-IO/AppFlowy/commit/27a0082e62f0530520b28990392886486ff42633) chore: update test - [`b33590e`](https://github.com/AppFlowy-IO/AppFlowy/commit/b33590e14f2a2237e0ffa1b7593cab1e39ff0faa) chore: fix test - [`df648f3`](https://github.com/AppFlowy-IO/AppFlowy/commit/df648f3f2348f6d6309f2ffa3daa40f906c07ea6) chore: fix test - [`7c892af`](https://github.com/AppFlowy-IO/AppFlowy/commit/7c892af7f2b2e377e683f20ba3449a8f06f1951e) chore: fix test - [`f6c5807`](https://github.com/AppFlowy-IO/AppFlowy/commit/f6c5807c698671f2e7366e8c3e4a21ac91e02bd0) chore: fix local user on appflowy cloud error - [`1826e87`](https://github.com/AppFlowy-IO/AppFlowy/commit/1826e875aecd260b3c39ee4c42612e1c0313e5f9) chore: clippy - [`a714566`](https://github.com/AppFlowy-IO/AppFlowy/commit/a714566589e5502fed34b6bb1a9925000a3c4290) chore: bump pubspec version ### 📊 Changes **19 files changed** (+228 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `frontend/.vscode/launch.json` (+1 -1) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -1) 📝 `frontend/rust-lib/event-integration/src/lib.rs` (+6 -19) 📝 `frontend/rust-lib/event-integration/tests/asset/040_local.zip` (+0 -0) 📝 `frontend/rust-lib/event-integration/tests/user/af_cloud_test/import_af_data_folder_test.rs` (+55 -0) 📝 `frontend/rust-lib/event-integration/tests/user/migration_test/version_test.rs` (+11 -8) 📝 `frontend/rust-lib/event-integration/tests/util.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-core/src/integrate/log.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-core/src/integrate/server.rs` (+25 -19) 📝 `frontend/rust-lib/flowy-core/src/integrate/trait_impls.rs` (+31 -39) 📝 `frontend/rust-lib/flowy-document/src/manager.rs` (+30 -29) 📝 `frontend/rust-lib/flowy-document/tests/document/util.rs` (+9 -3) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-server/src/local_server/impls/document.rs` (+9 -3) 📝 `frontend/rust-lib/flowy-user-deps/src/cloud.rs` (+4 -11) 📝 `frontend/rust-lib/flowy-user/src/event_handler.rs` (+21 -6) 📝 `frontend/rust-lib/flowy-user/src/manager.rs` (+6 -9) 📝 `frontend/rust-lib/flowy-user/src/services/data_import/appflowy_data_import.rs` (+10 -33) 📝 `frontend/rust-lib/flowy-user/src/services/db.rs` (+5 -2) </details> ### 📄 Description #### 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:03 +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#6178
No description provided.