[PR #1039] [MERGED] Refactor/lib ot attribute #4508

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1039
Author: @appflowy
Created: 9/13/2022
Status: Merged
Merged: 9/13/2022
Merged by: @appflowy

Base: mainHead: refactor/lib_ot_attribute


📝 Commits (2)

  • c552e95 chore: create attribute
  • c991473 refactor: refactor delta attributes

📊 Changes

62 files changed (+917 additions, -1350 deletions)

View changed files

📝 frontend/rust-lib/Cargo.lock (+1 -0)
📝 frontend/rust-lib/flowy-grid/src/util.rs (+2 -2)
📝 frontend/rust-lib/flowy-revision/src/conflict_resolve.rs (+9 -9)
📝 frontend/rust-lib/flowy-text-block/Cargo.toml (+2 -0)
📝 frontend/rust-lib/flowy-text-block/src/editor.rs (+3 -2)
📝 frontend/rust-lib/flowy-text-block/src/queue.rs (+4 -3)
📝 frontend/rust-lib/flowy-text-block/src/web_socket.rs (+3 -2)
📝 frontend/rust-lib/flowy-text-block/tests/editor/attribute_test.rs (+88 -88)
📝 frontend/rust-lib/flowy-text-block/tests/editor/mod.rs (+13 -14)
📝 frontend/rust-lib/flowy-text-block/tests/editor/op_test.rs (+67 -74)
📝 frontend/rust-lib/flowy-text-block/tests/editor/serde_test.rs (+19 -25)
📝 frontend/rust-lib/flowy-text-block/tests/editor/undo_redo_test.rs (+11 -11)
📝 shared-lib/flowy-sync/src/client_document/document_pad.rs (+5 -8)
📝 shared-lib/flowy-sync/src/client_document/extensions/delete/preserve_line_format_merge.rs (+5 -5)
📝 shared-lib/flowy-sync/src/client_document/extensions/format/resolve_block_format.rs (+8 -6)
📝 shared-lib/flowy-sync/src/client_document/extensions/format/resolve_inline_format.rs (+5 -3)
📝 shared-lib/flowy-sync/src/client_document/extensions/helper.rs (+6 -5)
📝 shared-lib/flowy-sync/src/client_document/extensions/insert/auto_exit_block.rs (+2 -2)
📝 shared-lib/flowy-sync/src/client_document/extensions/insert/auto_format.rs (+5 -4)
📝 shared-lib/flowy-sync/src/client_document/extensions/insert/default_insert.rs (+8 -4)

...and 42 more files

📄 Description

No description provided


🔄 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/1039 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 9/13/2022 **Status:** ✅ Merged **Merged:** 9/13/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `refactor/lib_ot_attribute` --- ### 📝 Commits (2) - [`c552e95`](https://github.com/AppFlowy-IO/AppFlowy/commit/c552e958ce2a47561363b3378b3891baeea34949) chore: create attribute - [`c991473`](https://github.com/AppFlowy-IO/AppFlowy/commit/c9914732592449ed36343bc87e358861b4c381d1) refactor: refactor delta attributes ### 📊 Changes **62 files changed** (+917 additions, -1350 deletions) <details> <summary>View changed files</summary> 📝 `frontend/rust-lib/Cargo.lock` (+1 -0) 📝 `frontend/rust-lib/flowy-grid/src/util.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-revision/src/conflict_resolve.rs` (+9 -9) 📝 `frontend/rust-lib/flowy-text-block/Cargo.toml` (+2 -0) 📝 `frontend/rust-lib/flowy-text-block/src/editor.rs` (+3 -2) 📝 `frontend/rust-lib/flowy-text-block/src/queue.rs` (+4 -3) 📝 `frontend/rust-lib/flowy-text-block/src/web_socket.rs` (+3 -2) 📝 `frontend/rust-lib/flowy-text-block/tests/editor/attribute_test.rs` (+88 -88) 📝 `frontend/rust-lib/flowy-text-block/tests/editor/mod.rs` (+13 -14) 📝 `frontend/rust-lib/flowy-text-block/tests/editor/op_test.rs` (+67 -74) 📝 `frontend/rust-lib/flowy-text-block/tests/editor/serde_test.rs` (+19 -25) 📝 `frontend/rust-lib/flowy-text-block/tests/editor/undo_redo_test.rs` (+11 -11) 📝 `shared-lib/flowy-sync/src/client_document/document_pad.rs` (+5 -8) 📝 `shared-lib/flowy-sync/src/client_document/extensions/delete/preserve_line_format_merge.rs` (+5 -5) 📝 `shared-lib/flowy-sync/src/client_document/extensions/format/resolve_block_format.rs` (+8 -6) 📝 `shared-lib/flowy-sync/src/client_document/extensions/format/resolve_inline_format.rs` (+5 -3) 📝 `shared-lib/flowy-sync/src/client_document/extensions/helper.rs` (+6 -5) 📝 `shared-lib/flowy-sync/src/client_document/extensions/insert/auto_exit_block.rs` (+2 -2) 📝 `shared-lib/flowy-sync/src/client_document/extensions/insert/auto_format.rs` (+5 -4) 📝 `shared-lib/flowy-sync/src/client_document/extensions/insert/default_insert.rs` (+8 -4) _...and 42 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:38:07 +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#4508
No description provided.