[PR #627] [MERGED] Feat: transaction builder #4249

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/627
Author: @vincentdchan
Created: 7/18/2022
Status: Merged
Merged: 7/18/2022
Merged by: @LucasXu0

Base: feat/flowy_editorHead: feat/transaction-builder


📝 Commits (4)

  • 9307edb feat: transaction builder
  • e9ce4c5 fix: make the finish() function private
  • b75c142 feat: re-export transaction_builder
  • 9c43c46 chore: delete unused import

📊 Changes

9 files changed (+131 additions, -30 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart (+6 -4)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart (+0 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+12 -3)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/state_tree.dart (+13 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart (+2 -19)
📝 frontend/app_flowy/packages/flowy_editor/lib/flowy_editor.dart (+1 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart (+3 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction.dart (+24 -2)
frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+70 -0)

📄 Description

This PR is implementing a builder of Transaction to help the widget to build the transactions from the editor state.


🔄 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/627 **Author:** [@vincentdchan](https://github.com/vincentdchan) **Created:** 7/18/2022 **Status:** ✅ Merged **Merged:** 7/18/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `feat/flowy_editor` ← **Head:** `feat/transaction-builder` --- ### 📝 Commits (4) - [`9307edb`](https://github.com/AppFlowy-IO/AppFlowy/commit/9307edb50d79482669e3c1061d524df8c2109205) feat: transaction builder - [`e9ce4c5`](https://github.com/AppFlowy-IO/AppFlowy/commit/e9ce4c5f05585ac3ec528dc16f50b72846495f20) fix: make the finish() function private - [`b75c142`](https://github.com/AppFlowy-IO/AppFlowy/commit/b75c142433b2883d5a571a94624e5711b06b662f) feat: re-export transaction_builder - [`9c43c46`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c43c465f84e34e12c506466e0cced31190c611e) chore: delete unused import ### 📊 Changes **9 files changed** (+131 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart` (+6 -4) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart` (+0 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+12 -3) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/state_tree.dart` (+13 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart` (+2 -19) 📝 `frontend/app_flowy/packages/flowy_editor/lib/flowy_editor.dart` (+1 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart` (+3 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction.dart` (+24 -2) ➕ `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+70 -0) </details> ### 📄 Description This PR is implementing a builder of `Transaction` to help the widget to build the transactions from the editor state. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:58 +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#4249
No description provided.