[PR #2023] [MERGED] feat: block list virtualized scroll #5070

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

📋 Pull Request Information

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

Base: mainHead: feat-appflowy-block-virtual-list


📝 Commits (6)

  • 71f47dc feat: block list virtualized scroll
  • f687c40 feat: block selection
  • c4eb9cc refactor: block editor
  • 748d264 fix: block selection scroll
  • 0688373 Merge remote-tracking branch 'upstream/main' into feat-appflowy-block-virtual-list
  • 3b8b84d fix: ts error

📊 Changes

54 files changed (+2975 additions, -944 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 (+0 -28)
frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/index.ts (+71 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/text_selection.ts (+35 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block.ts (+107 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block_chain.ts (+225 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/op_adapter.ts (+16 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/operation.ts (+153 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/core/sync.ts (+48 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts (+40 -28)
frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts (+0 -66)
frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts (+0 -140)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/block_position.ts (+73 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/region_grid.ts (+81 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree.ts (+165 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/view/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)

...and 34 more files

📄 Description

  1. update block list virtualized scroller
  2. update sync manager and operation
  3. Split block when pressing Enter while editing

🔄 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/2023 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/20/2023 **Status:** ✅ Merged **Merged:** 3/22/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat-appflowy-block-virtual-list` --- ### 📝 Commits (6) - [`71f47dc`](https://github.com/AppFlowy-IO/AppFlowy/commit/71f47dc8b4915afbf0361b9f98a4e55b0d7cf8fa) feat: block list virtualized scroll - [`f687c40`](https://github.com/AppFlowy-IO/AppFlowy/commit/f687c40f7313a31c93b0f803efb37a5a473e64d8) feat: block selection - [`c4eb9cc`](https://github.com/AppFlowy-IO/AppFlowy/commit/c4eb9cc836733c364c24fbcdff79c7372aa13598) refactor: block editor - [`748d264`](https://github.com/AppFlowy-IO/AppFlowy/commit/748d264c97a2feaf86b72bc78b281f62f04f5619) fix: block selection scroll - [`0688373`](https://github.com/AppFlowy-IO/AppFlowy/commit/06883736099d00858a98a3f991123f696080c530) Merge remote-tracking branch 'upstream/main' into feat-appflowy-block-virtual-list - [`3b8b84d`](https://github.com/AppFlowy-IO/AppFlowy/commit/3b8b84d73489ecc0d845ccd4b8cc8748fe5d80ac) fix: ts error ### 📊 Changes **54 files changed** (+2975 additions, -944 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` (+0 -28) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/index.ts` (+71 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/blocks/text_block/text_selection.ts` (+35 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block.ts` (+107 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/block_chain.ts` (+225 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/op_adapter.ts` (+16 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/operation.ts` (+153 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/core/sync.ts` (+48 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts` (+40 -28) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts` (+0 -66) ➖ `frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts` (+0 -140) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/block_position.ts` (+73 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/region_grid.ts` (+81 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/tree.ts` (+165 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/view/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) _...and 34 more files_ </details> ### 📄 Description 1. update block list virtualized scroller 2. update sync manager and operation 3. Split block when pressing `Enter` while editing --- <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:05 +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#5070
No description provided.