[PR #4891] [MERGED] refactor: mobile toolbar v3 design #6518

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4891
Author: @LucasXu0
Created: 3/13/2024
Status: Merged
Merged: 3/20/2024
Merged by: @LucasXu0

Base: mainHead: mobile_toolbar_v3


📝 Commits (7)

  • fa5badc refactor: mobile toolbar v3 design
  • 4133797 feat: customize color item
  • e746ec1 Merge branch 'main' into mobile_toolbar_v3
  • 2f4e888 feat: close keyboard directly when clicking the close button even opening Aa menu
  • 1f165dc feat: enable undo/redo in editing list mode
  • 250a942 Merge branch 'main' into mobile_toolbar_v3
  • 03501d0 Merge branch 'main' into mobile_toolbar_v3

📊 Changes

57 files changed (+595 additions, -278 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+5 -12)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_get_selection_color.dart (+28 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_align_items.dart (+6 -6)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_bius_items.dart (+5 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_block_items.dart (+8 -8)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_close_keyboard_or_menu_button.dart (+4 -11)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_color_item.dart (+12 -36)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_color_list.dart (+6 -26)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_font_item.dart (+2 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_heading_and_text_items.dart (+4 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_indent_items.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_menu_item.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_popup_menu.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_toolbar_theme.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_toolbar_item.dart (+9 -10)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar.dart (+42 -73)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar_item.dart (+23 -13)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/biusc_toolbar_item.dart (+67 -5)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/checkbox_toolbar_item.dart (+0 -24)

...and 37 more files

📄 Description

Feature Preview

Default

Screenshot 2024-03-13 at 15 54 27

Select text

Screenshot 2024-03-13 at 15 54 30

Select list

Screenshot 2024-03-13 at 15 54 35

Color

Screenshot 2024-03-13 at 16 53 43

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/4891 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 3/13/2024 **Status:** ✅ Merged **Merged:** 3/20/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `mobile_toolbar_v3` --- ### 📝 Commits (7) - [`fa5badc`](https://github.com/AppFlowy-IO/AppFlowy/commit/fa5badcf86f0b58c466acaa9c28901540ce74f78) refactor: mobile toolbar v3 design - [`4133797`](https://github.com/AppFlowy-IO/AppFlowy/commit/41337977072a8f6ee1ce1323edc8a82d7e757481) feat: customize color item - [`e746ec1`](https://github.com/AppFlowy-IO/AppFlowy/commit/e746ec1388752042b2e122b6eeba7479e45f92b2) Merge branch 'main' into mobile_toolbar_v3 - [`2f4e888`](https://github.com/AppFlowy-IO/AppFlowy/commit/2f4e88842d812e828628d50bd621257e889d08b2) feat: close keyboard directly when clicking the close button even opening Aa menu - [`1f165dc`](https://github.com/AppFlowy-IO/AppFlowy/commit/1f165dca0c90f9a8ce0a3cf3f27897545a1aea75) feat: enable undo/redo in editing list mode - [`250a942`](https://github.com/AppFlowy-IO/AppFlowy/commit/250a942f8770fca8447c8e7899b0c5cbff2727c9) Merge branch 'main' into mobile_toolbar_v3 - [`03501d0`](https://github.com/AppFlowy-IO/AppFlowy/commit/03501d01b65559271f1c59f71c0707df375058f2) Merge branch 'main' into mobile_toolbar_v3 ### 📊 Changes **57 files changed** (+595 additions, -278 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+5 -12) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_get_selection_color.dart` (+28 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_align_items.dart` (+6 -6) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_bius_items.dart` (+5 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_block_items.dart` (+8 -8) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_close_keyboard_or_menu_button.dart` (+4 -11) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_color_item.dart` (+12 -36) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_color_list.dart` (+6 -26) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_font_item.dart` (+2 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_heading_and_text_items.dart` (+4 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_indent_items.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_menu_item.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_popup_menu.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_menu/_toolbar_theme.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_toolbar_item.dart` (+9 -10) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar.dart` (+42 -73) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar_item.dart` (+23 -13) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/biusc_toolbar_item.dart` (+67 -5) ➖ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/checkbox_toolbar_item.dart` (+0 -24) _...and 37 more files_ </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 ### Default <img width="503" alt="Screenshot 2024-03-13 at 15 54 27" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/5393ff00-d211-4e83-9563-bd05c6e62f70"> ### Select text <img width="503" alt="Screenshot 2024-03-13 at 15 54 30" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/1413c652-dba9-4e5d-9bad-7cd5bcd454ff"> ### Select list <img width="503" alt="Screenshot 2024-03-13 at 15 54 35" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/3187d90e-5464-434d-9913-7d6d6c9293a7"> ### Color <img width="503" alt="Screenshot 2024-03-13 at 16 53 43" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/43975d62-c4ea-48f6-a1b4-313a171e4c62"> <!--- 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) - [ ] 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. - [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:23:34 +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#6518
No description provided.