[PR #3280] [MERGED] feat: support table plugin #5658

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3280
Author: @zoli
Created: 8/27/2023
Status: Merged
Merged: 9/1/2023
Merged by: @LucasXu0

Base: mainHead: feat/table-plugin


📝 Commits (10+)

  • c926c83 feat: adding table plugin
  • 85b08c6 feat: table row/col bg color action
  • 6dcdd75 refactor: added padding
  • 0df0019 style(merge): merge main and resolve conflicts
  • 9a6a502 fix: add showActions check
  • b01af7a fix: transaction adapter problem with nodes with children
  • fbadd63 Merge remote-tracking branch 'origin/main' into feat/table-plugin
  • 23b33c0 fix: transaction adapter pass null as prev node on first children
  • 063d7bb fix: mitigate transaction adapter problem
  • 5893eab fix: keep selection after ensureLastNodeIsEditable

📊 Changes

19 files changed (+538 additions, -43 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart (+25 -16)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+35 -7)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/toolbar_extension.dart (+29 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/code_block/code_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_toolbar_item.dart (+3 -10)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/plugins.dart (+4 -1)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/table/table_menu.dart (+111 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/table/table_option_action.dart (+154 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/appearance.dart (+1 -0)
📝 frontend/appflowy_flutter/packages/flowy_infra/lib/theme_extension.dart (+6 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+3 -3)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -1)
frontend/appflowy_flutter/test/unit_test/editor/transaction_adapter_test.dart (+152 -0)
📝 frontend/resources/translations/en.json (+8 -0)

📄 Description

Feature Preview

https://github.com/AppFlowy-IO/AppFlowy/assets/3286303/214f6a28-f552-4dc4-815d-6e8748fe1175


PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/3280 **Author:** [@zoli](https://github.com/zoli) **Created:** 8/27/2023 **Status:** ✅ Merged **Merged:** 9/1/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/table-plugin` --- ### 📝 Commits (10+) - [`c926c83`](https://github.com/AppFlowy-IO/AppFlowy/commit/c926c836020f1d246eacd8955bd648d5684addc9) feat: adding table plugin - [`85b08c6`](https://github.com/AppFlowy-IO/AppFlowy/commit/85b08c65850c82e44d663b38c16ee00b1d7cf091) feat: table row/col bg color action - [`6dcdd75`](https://github.com/AppFlowy-IO/AppFlowy/commit/6dcdd7581830f9fd5da7ff9825aeb63ef268d0e7) refactor: added padding - [`0df0019`](https://github.com/AppFlowy-IO/AppFlowy/commit/0df001986851c5ad79c1a49f4fac91e8d3c40f05) style(merge): merge main and resolve conflicts - [`9a6a502`](https://github.com/AppFlowy-IO/AppFlowy/commit/9a6a502deed071cf8f0859214939598460f2bd25) fix: add showActions check - [`b01af7a`](https://github.com/AppFlowy-IO/AppFlowy/commit/b01af7a5fbe1b51dfa3aa830ba826a82fa9af6ca) fix: transaction adapter problem with nodes with children - [`fbadd63`](https://github.com/AppFlowy-IO/AppFlowy/commit/fbadd63bc6643abeb057b96a5a3529520d84ed50) Merge remote-tracking branch 'origin/main' into feat/table-plugin - [`23b33c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/23b33c0e1f55ee3bc63409c38317660db13b1397) fix: transaction adapter pass null as prev node on first children - [`063d7bb`](https://github.com/AppFlowy-IO/AppFlowy/commit/063d7bbb208fa6e492694c652afef87e77c17f8f) fix: mitigate transaction adapter problem - [`5893eab`](https://github.com/AppFlowy-IO/AppFlowy/commit/5893eab21c676a7f68f6c7b185494b629e2591ac) fix: keep selection after ensureLastNodeIsEditable ### 📊 Changes **19 files changed** (+538 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart` (+25 -16) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+35 -7) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/toolbar_extension.dart` (+29 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/code_block/code_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_toolbar_item.dart` (+3 -10) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/plugins.dart` (+4 -1) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/table/table_menu.dart` (+111 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/table/table_option_action.dart` (+154 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/appearance.dart` (+1 -0) 📝 `frontend/appflowy_flutter/packages/flowy_infra/lib/theme_extension.dart` (+6 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+3 -3) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -1) ➕ `frontend/appflowy_flutter/test/unit_test/editor/transaction_adapter_test.dart` (+152 -0) 📝 `frontend/resources/translations/en.json` (+8 -0) </details> ### 📄 Description ### Feature Preview https://github.com/AppFlowy-IO/AppFlowy/assets/3286303/214f6a28-f552-4dc4-815d-6e8748fe1175 --- #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] 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 22:19:43 +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#5658
No description provided.