[PR #6427] [MERGED] feat: sub page block #7373

Closed
opened 2026-03-23 23:19:19 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6427
Author: @Xazin
Created: 9/29/2024
Status: Merged
Merged: 10/3/2024
Merged by: @Xazin

Base: mainHead: feat/sub-page-block


📝 Commits (10+)

  • 86729b7 feat: base subpage block and behavior
  • 1b81075 chore: merge branch 'upstream/main' into feat/sub-page-block
  • 2c94016 fix: do not record undo
  • 9e1d2b0 chore: merge branch 'upstream/main' into feat/sub-page-block
  • b5ac562 refactor: add BlockTransactionHandler
  • cec01ac test: start adding coverage
  • c2fd02d test: delete w/ backspace
  • c40d16a test: add to runner
  • cd9e999 fix: rebuild issue on create
  • 68dd4d7 test: copy+paste base test

📊 Changes

38 files changed (+1766 additions, -100 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/document/document_copy_and_paste_test.dart (+2 -1)
frontend/appflowy_flutter/integration_test/desktop/document/document_sub_page_test.dart (+607 -0)
📝 frontend/appflowy_flutter/integration_test/desktop/grid/grid_row_test.dart (+6 -6)
📝 frontend/appflowy_flutter/integration_test/desktop_runner_3.dart (+3 -1)
📝 frontend/appflowy_flutter/integration_test/shared/common_operations.dart (+14 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/document_page.dart (+133 -34)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_notification.dart (+12 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+4 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_option_button.dart (+73 -12)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/drag_to_reorder/draggable_option_button.dart (+7 -2)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/block_transaction_handler/block_transaction_handler.dart (+39 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart (+45 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/find_and_replace/find_and_replace_menu.dart (+12 -7)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/shared_context/shared_context.dart (+8 -0)

...and 18 more files

📄 Description

Relates: #5962 #5417 #5134

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/6427 **Author:** [@Xazin](https://github.com/Xazin) **Created:** 9/29/2024 **Status:** ✅ Merged **Merged:** 10/3/2024 **Merged by:** [@Xazin](https://github.com/Xazin) **Base:** `main` ← **Head:** `feat/sub-page-block` --- ### 📝 Commits (10+) - [`86729b7`](https://github.com/AppFlowy-IO/AppFlowy/commit/86729b714eb80959052b9061646496d10f084439) feat: base subpage block and behavior - [`1b81075`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b81075182347af6730b486244517688a4c1af8c) chore: merge branch 'upstream/main' into feat/sub-page-block - [`2c94016`](https://github.com/AppFlowy-IO/AppFlowy/commit/2c94016b6a3b0cb01662c2b7d5e47e624f0a6180) fix: do not record undo - [`9e1d2b0`](https://github.com/AppFlowy-IO/AppFlowy/commit/9e1d2b05b35f17c9984f43c3c9ad5c393a41edad) chore: merge branch 'upstream/main' into feat/sub-page-block - [`b5ac562`](https://github.com/AppFlowy-IO/AppFlowy/commit/b5ac562a0d05e882f43283fa96189ae8e5da27e8) refactor: add BlockTransactionHandler - [`cec01ac`](https://github.com/AppFlowy-IO/AppFlowy/commit/cec01ac84dbfedd40c487fbb541385533ccd46b3) test: start adding coverage - [`c2fd02d`](https://github.com/AppFlowy-IO/AppFlowy/commit/c2fd02d55b89ea716647a60c9ee65db0892da493) test: delete w/ backspace - [`c40d16a`](https://github.com/AppFlowy-IO/AppFlowy/commit/c40d16a1850a11f6e12a249d0a05bb7d56b9dc94) test: add to runner - [`cd9e999`](https://github.com/AppFlowy-IO/AppFlowy/commit/cd9e999dfff35f80433a500b3d58bc7274de012d) fix: rebuild issue on create - [`68dd4d7`](https://github.com/AppFlowy-IO/AppFlowy/commit/68dd4d7dc334ab7e1b4bd1a73025e280f024a91b) test: copy+paste base test ### 📊 Changes **38 files changed** (+1766 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_copy_and_paste_test.dart` (+2 -1) ➕ `frontend/appflowy_flutter/integration_test/desktop/document/document_sub_page_test.dart` (+607 -0) 📝 `frontend/appflowy_flutter/integration_test/desktop/grid/grid_row_test.dart` (+6 -6) 📝 `frontend/appflowy_flutter/integration_test/desktop_runner_3.dart` (+3 -1) 📝 `frontend/appflowy_flutter/integration_test/shared/common_operations.dart` (+14 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/document_page.dart` (+133 -34) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_notification.dart` (+12 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+4 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_option_button.dart` (+73 -12) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/drag_to_reorder/draggable_option_button.dart` (+7 -2) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/block_transaction_handler/block_transaction_handler.dart` (+39 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart` (+45 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/find_and_replace/find_and_replace_menu.dart` (+12 -7) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/shared_context/shared_context.dart` (+8 -0) _...and 18 more files_ </details> ### 📄 Description Relates: #5962 #5417 #5134 #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:19:19 +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#7373
No description provided.