[PR #605] [MERGED] Support delete / insert / update / search in State Tree #4229

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/605
Author: @LucasXu0
Created: 7/11/2022
Status: Merged
Merged: 7/11/2022
Merged by: @appflowy

Base: feat/flowy_editorHead: feat/flowy_editor


📝 Commits (4)

  • 47436bf feat: find node with path or index in state tree
  • 59d92a8 feat: insert / delelte / update / search node in state tree
  • d2e62f8 feat: typedef Map<String, Object> to Attributes
  • 9e4227d test: add delete node test

📊 Changes

4 files changed (+152 additions, -9 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/assets/document.json (+7 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+55 -6)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/state_tree.dart (+43 -2)
📝 frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart (+47 -1)

📄 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/605 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/11/2022 **Status:** ✅ Merged **Merged:** 7/11/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `feat/flowy_editor` ← **Head:** `feat/flowy_editor` --- ### 📝 Commits (4) - [`47436bf`](https://github.com/AppFlowy-IO/AppFlowy/commit/47436bf6e249190d5153171f77f10466d5c34fc7) feat: find node with path or index in state tree - [`59d92a8`](https://github.com/AppFlowy-IO/AppFlowy/commit/59d92a8ced7bcd7a6346e00d32736de35f8030f3) feat: insert / delelte / update / search node in state tree - [`d2e62f8`](https://github.com/AppFlowy-IO/AppFlowy/commit/d2e62f882b8bfb51f329c796b0d2a089791186fd) feat: typedef Map<String, Object> to Attributes - [`9e4227d`](https://github.com/AppFlowy-IO/AppFlowy/commit/9e4227d3d2b36f6f072c2002b7c9d991b8911de9) test: add delete node test ### 📊 Changes **4 files changed** (+152 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/assets/document.json` (+7 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+55 -6) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/state_tree.dart` (+43 -2) 📝 `frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart` (+47 -1) </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:36:52 +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#4229
No description provided.