[PR #3169] [MERGED] Enable collaboration update synchronization between different devices #5609

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3169
Author: @appflowy
Created: 8/12/2023
Status: Merged
Merged: 8/12/2023
Merged by: @appflowy

Base: mainHead: collab_realtime


📝 Commits (10+)

  • d56675c feat: bypass realtime event
  • 662e752 chore: use user device id
  • e9549d4 chore: send realtime update
  • c05c8c0 chore: setup realtime recever
  • 72da524 chore: setup realtime recever
  • b386b94 chore: clippy
  • ce49bba chore: update collab rev
  • 52e5f6a chore: update realtime subscription
  • 8696f77 chore: Merge branch 'main' into collab_realtime
  • afc1aea chore: fix test

📊 Changes

45 files changed (+622 additions, -560 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/startup/tasks/supabase_task.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/user/application/auth/appflowy_auth_service.dart (+5 -2)
📝 frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart (+1 -0)
frontend/appflowy_flutter/lib/user/application/auth/device_id.dart (+37 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/supabase_auth_service.dart (+5 -2)
frontend/appflowy_flutter/lib/user/application/supabase_realtime.dart (+92 -0)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+7 -7)
📝 frontend/rust-lib/Cargo.lock (+11 -414)
📝 frontend/rust-lib/Cargo.toml (+6 -6)
📝 frontend/rust-lib/flowy-core/src/integrate/server.rs (+23 -4)
📝 frontend/rust-lib/flowy-core/src/lib.rs (+29 -2)
📝 frontend/rust-lib/flowy-document2/tests/document/util.rs (+2 -2)
📝 frontend/rust-lib/flowy-server/src/lib.rs (+5 -2)
📝 frontend/rust-lib/flowy-server/src/local_server/impls/user.rs (+4 -5)
📝 frontend/rust-lib/flowy-server/src/local_server/server.rs (+2 -2)
📝 frontend/rust-lib/flowy-server/src/self_host/server.rs (+2 -2)
📝 frontend/rust-lib/flowy-server/src/supabase/api/collab_storage.rs (+35 -20)
📝 frontend/rust-lib/flowy-server/src/supabase/api/mod.rs (+1 -1)
📝 frontend/rust-lib/flowy-server/src/supabase/api/request.rs (+6 -9)
📝 frontend/rust-lib/flowy-server/src/supabase/api/user.rs (+2 -0)

...and 25 more files

📄 Description

Enable collaboration update synchronization between different devices

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/3169 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 8/12/2023 **Status:** ✅ Merged **Merged:** 8/12/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `collab_realtime` --- ### 📝 Commits (10+) - [`d56675c`](https://github.com/AppFlowy-IO/AppFlowy/commit/d56675c683bfe5b61746a841436706e79b786d76) feat: bypass realtime event - [`662e752`](https://github.com/AppFlowy-IO/AppFlowy/commit/662e75224f6335d9efb81827c42a3c3577e4688a) chore: use user device id - [`e9549d4`](https://github.com/AppFlowy-IO/AppFlowy/commit/e9549d4fc2f897c54ca5c2aab4490fbdbcf02e06) chore: send realtime update - [`c05c8c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/c05c8c0e2fb506bbd2aef3000fb5d12e003ebf7d) chore: setup realtime recever - [`72da524`](https://github.com/AppFlowy-IO/AppFlowy/commit/72da5247f9881a62325fcd68ba52f0135b0f4733) chore: setup realtime recever - [`b386b94`](https://github.com/AppFlowy-IO/AppFlowy/commit/b386b9484791f82aefda8b86deda24dbc6e88dd1) chore: clippy - [`ce49bba`](https://github.com/AppFlowy-IO/AppFlowy/commit/ce49bbabf1b0cf8d39c7f7f2abbaa914b5ea9fce) chore: update collab rev - [`52e5f6a`](https://github.com/AppFlowy-IO/AppFlowy/commit/52e5f6a244c4c91f222a6a9a2b4253e83fe2c8a7) chore: update realtime subscription - [`8696f77`](https://github.com/AppFlowy-IO/AppFlowy/commit/8696f773004d59152c1d8eb95df943808beb51ce) chore: Merge branch 'main' into collab_realtime - [`afc1aea`](https://github.com/AppFlowy-IO/AppFlowy/commit/afc1aeaae7c5c98e161e620c38e6e09102ed68e2) chore: fix test ### 📊 Changes **45 files changed** (+622 additions, -560 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/startup/tasks/supabase_task.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/user/application/auth/appflowy_auth_service.dart` (+5 -2) 📝 `frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart` (+1 -0) ➕ `frontend/appflowy_flutter/lib/user/application/auth/device_id.dart` (+37 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/supabase_auth_service.dart` (+5 -2) ➕ `frontend/appflowy_flutter/lib/user/application/supabase_realtime.dart` (+92 -0) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+7 -7) 📝 `frontend/rust-lib/Cargo.lock` (+11 -414) 📝 `frontend/rust-lib/Cargo.toml` (+6 -6) 📝 `frontend/rust-lib/flowy-core/src/integrate/server.rs` (+23 -4) 📝 `frontend/rust-lib/flowy-core/src/lib.rs` (+29 -2) 📝 `frontend/rust-lib/flowy-document2/tests/document/util.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-server/src/lib.rs` (+5 -2) 📝 `frontend/rust-lib/flowy-server/src/local_server/impls/user.rs` (+4 -5) 📝 `frontend/rust-lib/flowy-server/src/local_server/server.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-server/src/self_host/server.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-server/src/supabase/api/collab_storage.rs` (+35 -20) 📝 `frontend/rust-lib/flowy-server/src/supabase/api/mod.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-server/src/supabase/api/request.rs` (+6 -9) 📝 `frontend/rust-lib/flowy-server/src/supabase/api/user.rs` (+2 -0) _...and 25 more files_ </details> ### 📄 Description Enable collaboration update synchronization between different devices #### PR Checklist - [ ] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] 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:19:30 +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#5609
No description provided.