[PR #2117] [MERGED] Refactor tauri document #5103

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2117
Author: @qinluhe
Created: 3/27/2023
Status: Merged
Merged: 3/27/2023
Merged by: @LucasXu0

Base: mainHead: refactor-tauri-document


📝 Commits (6)

  • a38c213 fix: Optimize the re-render node when the selection changes
  • c6c97f7 feat: the feature of delete block
  • 7781b91 feat: add left tool when hover on block
  • df66521 refactor: document data and update
  • 35c21c0 refactor: document component
  • e893249 refactor: document controller

📊 Changes

73 files changed (+1248 additions, -2640 deletions)

View changed files

📝 frontend/appflowy_tauri/package.json (+6 -2)
📝 frontend/appflowy_tauri/pnpm-lock.yaml (+77 -8)
frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/index.ts (+0 -71)
frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/text_selection.ts (+0 -35)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block.ts (+0 -107)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block_chain.ts (+0 -225)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/op_adapter.ts (+0 -16)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/operation.ts (+0 -153)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/sync.ts (+0 -48)
frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts (+0 -60)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/block_position.ts (+0 -73)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree.ts (+0 -165)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree_node.ts (+0 -59)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/Portal.tsx (+0 -9)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockComponent/BlockComponet.hooks.ts (+0 -36)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockComponent/index.tsx (+0 -91)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.tsx (+0 -92)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockListTitle.tsx (+0 -18)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/ListFallbackComponent.tsx (+0 -31)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx (+0 -58)

...and 53 more files

📄 Description

  1. Refactor the mechanism for updating rendering.Data-driven components render on demand
  2. Access the mock interface of yjs

🔄 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/2117 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/27/2023 **Status:** ✅ Merged **Merged:** 3/27/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `refactor-tauri-document` --- ### 📝 Commits (6) - [`a38c213`](https://github.com/AppFlowy-IO/AppFlowy/commit/a38c213744342b64f0a1c5d70ef05458f32519d4) fix: Optimize the re-render node when the selection changes - [`c6c97f7`](https://github.com/AppFlowy-IO/AppFlowy/commit/c6c97f7c839c7de022401e4cd4951d3db318305b) feat: the feature of delete block - [`7781b91`](https://github.com/AppFlowy-IO/AppFlowy/commit/7781b912f061cb7ef7b24622279528a1b8da153b) feat: add left tool when hover on block - [`df66521`](https://github.com/AppFlowy-IO/AppFlowy/commit/df66521f13a8e3951634825eb23fb6b7825d4b88) refactor: document data and update - [`35c21c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/35c21c0d842797a91946fcd3c09553a6d2e1878e) refactor: document component - [`e893249`](https://github.com/AppFlowy-IO/AppFlowy/commit/e8932499c5fd0af38d15ff7392be8bdef69bc21e) refactor: document controller ### 📊 Changes **73 files changed** (+1248 additions, -2640 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/package.json` (+6 -2) 📝 `frontend/appflowy_tauri/pnpm-lock.yaml` (+77 -8) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/index.ts` (+0 -71) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/text_selection.ts` (+0 -35) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block.ts` (+0 -107) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block_chain.ts` (+0 -225) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/op_adapter.ts` (+0 -16) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/operation.ts` (+0 -153) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/sync.ts` (+0 -48) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts` (+0 -60) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/block_position.ts` (+0 -73) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree.ts` (+0 -165) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree_node.ts` (+0 -59) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/Portal.tsx` (+0 -9) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockComponent/BlockComponet.hooks.ts` (+0 -36) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockComponent/index.tsx` (+0 -91) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.tsx` (+0 -92) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockListTitle.tsx` (+0 -18) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/ListFallbackComponent.tsx` (+0 -31) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx` (+0 -58) _...and 53 more files_ </details> ### 📄 Description 1. Refactor the mechanism for updating rendering.Data-driven components render on demand 2. Access the mock interface of yjs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:17:14 +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#5103
No description provided.