[PR #7068] [MERGED] fix: simple table issues on mobile #7716

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7068
Author: @LucasXu0
Created: 12/27/2024
Status: Merged
Merged: 12/30/2024
Merged by: @LucasXu0

Base: mainHead: m_table_v2


📝 Commits (10+)

  • 06d5aca feat: use fixed height for table menu
  • 15c48ee feat: do not close menu after enabling header column/row
  • 818b67d fix: remove cell background color
  • 1b90015 fix: the text color doesn't apply to the heading block
  • defb224 fix: replace quick action icon color
  • bd4fc7c fix: add done button in text color menu
  • 81f53a6 fix: don't access clipboard when opening table action menu
  • 94a7a9b fix: table navigation issues and reminder issue
  • 3375a7f fix: cursor flash when create a row and column at the same time
  • b98e311 fix: unable to insert page sometimes

📊 Changes

20 files changed (+217 additions, -53 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart (+13 -8)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+8 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/option/align_option_action.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_date_block.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_cell_block_component.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_constants.dart (+5 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_more_action.dart (+12 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_operations/simple_table_content_operation.dart (+6 -6)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_operations/simple_table_node_extension.dart (+4 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_arrow_down_command.dart (+14 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_commands.dart (+2 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_navigation_command.dart (+40 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/_simple_table_bottom_sheet_actions.dart (+14 -15)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_action_sheet.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_column_and_row_button.dart (+6 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_column_button.dart (+6 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_row_button.dart (+8 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_bottom_sheet.dart (+59 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/slash_menu/slash_command.dart (+7 -0)

📄 Description

Feature Preview

  • use fixed height for table action menu and column/row action menu
  • do not close the menu after enabling header column/row
  • expand the hit test area of action buttons to 36px
  • don't access clipboard when opening table action menu
  • add done button in text color menu
  • the text color doesn't apply to the heading block
  • remove cell background color on mobile

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/7068 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 12/27/2024 **Status:** ✅ Merged **Merged:** 12/30/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `m_table_v2` --- ### 📝 Commits (10+) - [`06d5aca`](https://github.com/AppFlowy-IO/AppFlowy/commit/06d5acafb03313b34ee47df2f39306c2d238d27d) feat: use fixed height for table menu - [`15c48ee`](https://github.com/AppFlowy-IO/AppFlowy/commit/15c48ee41dec3fc7cb5952da50316f45fc0e462e) feat: do not close menu after enabling header column/row - [`818b67d`](https://github.com/AppFlowy-IO/AppFlowy/commit/818b67d3051189e4d2beebb6884e4f4805949542) fix: remove cell background color - [`1b90015`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b90015d869f931d240a746ed28e9c5ac9f24472) fix: the text color doesn't apply to the heading block - [`defb224`](https://github.com/AppFlowy-IO/AppFlowy/commit/defb22425efdfac9bd21f78d8c91fe28b0be5023) fix: replace quick action icon color - [`bd4fc7c`](https://github.com/AppFlowy-IO/AppFlowy/commit/bd4fc7c04edc343865180f62cba40c01dbc7a37e) fix: add done button in text color menu - [`81f53a6`](https://github.com/AppFlowy-IO/AppFlowy/commit/81f53a6c1d432265ca94252fdb70c96fd4445ff0) fix: don't access clipboard when opening table action menu - [`94a7a9b`](https://github.com/AppFlowy-IO/AppFlowy/commit/94a7a9b92ec92bd95e47f159515903189d8d9fde) fix: table navigation issues and reminder issue - [`3375a7f`](https://github.com/AppFlowy-IO/AppFlowy/commit/3375a7f6c1c7b2d02d7f691c4e8d094cbe4f5f2f) fix: cursor flash when create a row and column at the same time - [`b98e311`](https://github.com/AppFlowy-IO/AppFlowy/commit/b98e311f4bf8b5a40de9f1b8b96b0f220a0a0f19) fix: unable to insert page sometimes ### 📊 Changes **20 files changed** (+217 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart` (+13 -8) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+8 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/option/align_option_action.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_date_block.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_cell_block_component.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_constants.dart` (+5 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_more_action.dart` (+12 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_operations/simple_table_content_operation.dart` (+6 -6) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_operations/simple_table_node_extension.dart` (+4 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_arrow_down_command.dart` (+14 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_commands.dart` (+2 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_navigation_command.dart` (+40 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/_simple_table_bottom_sheet_actions.dart` (+14 -15) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_action_sheet.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_column_and_row_button.dart` (+6 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_column_button.dart` (+6 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_add_row_button.dart` (+8 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/simple_table/simple_table_widgets/simple_table_bottom_sheet.dart` (+59 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/slash_menu/slash_command.dart` (+7 -0) </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview - [x] use fixed height for table action menu and column/row action menu - [x] do not close the menu after enabling header column/row - [ ] ~~expand the hit test area of action buttons to 36px~~ - [x] don't access clipboard when opening table action menu - [x] add done button in text color menu - [x] the text color doesn't apply to the heading block - [x] remove cell background color on mobile <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### 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:20:53 +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#7716
No description provided.