[PR #1949] [MERGED] Feat appflowy list block #5038

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

📋 Pull Request Information

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

Base: mainHead: feat-appflowy-list-block


📝 Commits (8)

  • f99bed4 feat: Initialize appflowy block data and render block list
  • 95fd249 feat: Implement column layout rendering
  • b4e8966 feat: Implement list redering
  • 1a040c9 Merge branch 'main' into feat-appflowy-list-block
  • ece7dc2 feat: Cache block rect info
  • 6bc2cc8 fix: The input chars will repeated when inputting Chinese
  • cb743cf fix: Remove unnecessary fields in the block and encapsulate the block manager
  • b699c30 fix: fix ts error

📊 Changes

29 files changed (+919 additions, -309 deletions)

View changed files

frontend/appflowy_tauri/src/appflowy_app/block_editor/block.ts (+28 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts (+48 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts (+66 -0)
frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts (+140 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx (+1 -1)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/Portal.tsx (+9 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx (+6 -6)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx (+16 -10)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.ts (+0 -28)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx (+33 -7)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/CodeBlock/index.tsx (+3 -3)
frontend/appflowy_tauri/src/appflowy_app/components/block/ColumnBlock/index.tsx (+51 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/HeadingBlock/index.tsx (+5 -5)
frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/BulletedListBlock.tsx (+25 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/ColumnListBlock.tsx (+18 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/NumberedListBlock.tsx (+26 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/index.tsx (+28 -21)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/PageBlock/index.tsx (+3 -3)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/Leaf.tsx (+19 -6)
📝 frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/index.tsx (+43 -12)

...and 9 more files

📄 Description

  1. Design column block data
  2. Implement column block rendering
  3. Implement list block rendering
  4. Remove unnecessary fields in the block
  5. Encapsulate the block manager

🔄 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/1949 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/9/2023 **Status:** ✅ Merged **Merged:** 3/13/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat-appflowy-list-block` --- ### 📝 Commits (8) - [`f99bed4`](https://github.com/AppFlowy-IO/AppFlowy/commit/f99bed49e9d5a04d17e35aa7715bee5f314ecf52) feat: Initialize appflowy block data and render block list - [`95fd249`](https://github.com/AppFlowy-IO/AppFlowy/commit/95fd24988257f64cd8a6fa7487f1e3392452cb2b) feat: Implement column layout rendering - [`b4e8966`](https://github.com/AppFlowy-IO/AppFlowy/commit/b4e89662d03eff2b98d47ee469e66ff6ebfe453f) feat: Implement list redering - [`1a040c9`](https://github.com/AppFlowy-IO/AppFlowy/commit/1a040c9b509ecfb7e9fd1ee76a957aaa21b283b6) Merge branch 'main' into feat-appflowy-list-block - [`ece7dc2`](https://github.com/AppFlowy-IO/AppFlowy/commit/ece7dc2c7c17fdfc986fa6e0a5ca67f65940e581) feat: Cache block rect info - [`6bc2cc8`](https://github.com/AppFlowy-IO/AppFlowy/commit/6bc2cc8348ccebc877bac3d94ad0e2d2cff1ff0f) fix: The input chars will repeated when inputting Chinese - [`cb743cf`](https://github.com/AppFlowy-IO/AppFlowy/commit/cb743cf7287c57172a0fdf821b51ee0829afcfc9) fix: Remove unnecessary fields in the block and encapsulate the block manager - [`b699c30`](https://github.com/AppFlowy-IO/AppFlowy/commit/b699c30e699f8f6e0a87cc08581262f295da39ff) fix: fix ts error ### 📊 Changes **29 files changed** (+919 additions, -309 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/block.ts` (+28 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/index.ts` (+48 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/rect.ts` (+66 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/block_editor/tree.ts` (+140 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx` (+1 -1) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/Portal.tsx` (+9 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx` (+6 -6) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx` (+16 -10) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.ts` (+0 -28) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx` (+33 -7) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/CodeBlock/index.tsx` (+3 -3) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/ColumnBlock/index.tsx` (+51 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/HeadingBlock/index.tsx` (+5 -5) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/BulletedListBlock.tsx` (+25 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/ColumnListBlock.tsx` (+18 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/NumberedListBlock.tsx` (+26 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/index.tsx` (+28 -21) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/PageBlock/index.tsx` (+3 -3) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/Leaf.tsx` (+19 -6) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/index.tsx` (+43 -12) _...and 9 more files_ </details> ### 📄 Description 1. Design column block data 2. Implement column block rendering 3. Implement list block rendering 4. Remove unnecessary fields in the block 5. Encapsulate the block manager --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:16:56 +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#5038
No description provided.