[PR #1999] [CLOSED] Feat appflowy block cache #5059

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1999
Author: @qinluhe
Created: 3/15/2023
Status: Closed

Base: mainHead: feat-appflowy-block-cache


📝 Commits (5)

  • da30c66 feat: cache viewport blocks and observe update
  • 5b20421 feat: block list virtualized scroll
  • df4b322 fix: It will split block when press enter in slate
  • 78469e8 fix: update manger relation
  • 6fec47d fix: virtual scroll

📊 Changes

45 files changed (+2498 additions, -888 deletions)

View changed files

📝 frontend/appflowy_tauri/package.json (+3 -0)
📝 frontend/appflowy_tauri/pnpm-lock.yaml (+436 -299)
📝 frontend/appflowy_tauri/src/appflowy_app/block_editor/block.ts (+97 -17)
frontend/appflowy_tauri/src/appflowy_app/block_editor/block_chain.ts (+225 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts (+39 -28)
frontend/appflowy_tauri/src/appflowy_app/block_editor/op_adapter.ts (+16 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/operation.ts (+153 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts (+0 -66)
frontend/appflowy_tauri/src/appflowy_app/block_editor/sync.ts (+48 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/text_block.ts (+71 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/text_selection.ts (+35 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts (+96 -110)
frontend/appflowy_tauri/src/appflowy_app/block_editor/tree_node.ts (+59 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx (+5 -24)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatIcon.tsx (+20 -0)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/components.tsx (+0 -5)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.hooks.ts (+36 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx (+5 -24)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx (+78 -31)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.tsx (+88 -0)

...and 25 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/1999 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/15/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat-appflowy-block-cache` --- ### 📝 Commits (5) - [`da30c66`](https://github.com/AppFlowy-IO/AppFlowy/commit/da30c66a1c3d33430239384b714051a7e8212a5c) feat: cache viewport blocks and observe update - [`5b20421`](https://github.com/AppFlowy-IO/AppFlowy/commit/5b2042116b83bccb69d212215cf4542e464693d2) feat: block list virtualized scroll - [`df4b322`](https://github.com/AppFlowy-IO/AppFlowy/commit/df4b32262c6b8a486e31c5d5d78d02090d268654) fix: It will split block when press enter in slate - [`78469e8`](https://github.com/AppFlowy-IO/AppFlowy/commit/78469e8ebf5f1d508c093b99abd748bb631852cb) fix: update manger relation - [`6fec47d`](https://github.com/AppFlowy-IO/AppFlowy/commit/6fec47d58ecc080a065cf59bb6f94d0e4d3a8284) fix: virtual scroll ### 📊 Changes **45 files changed** (+2498 additions, -888 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/package.json` (+3 -0) 📝 `frontend/appflowy_tauri/pnpm-lock.yaml` (+436 -299) 📝 `frontend/appflowy_tauri/src/appflowy_app/block_editor/block.ts` (+97 -17) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/block_chain.ts` (+225 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts` (+39 -28) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/op_adapter.ts` (+16 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/operation.ts` (+153 -0) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts` (+0 -66) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/sync.ts` (+48 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/text_block.ts` (+71 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/text_selection.ts` (+35 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts` (+96 -110) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/tree_node.ts` (+59 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx` (+5 -24) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatIcon.tsx` (+20 -0) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/components.tsx` (+0 -5) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.hooks.ts` (+36 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx` (+5 -24) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx` (+78 -31) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.tsx` (+88 -0) _...and 25 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 22:17:01 +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#5059
No description provided.