[PR #4194] [MERGED] feat: mobile toolbar revamp #6121

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4194
Author: @LucasXu0
Created: 12/22/2023
Status: Merged
Merged: 12/23/2023
Merged by: @LucasXu0

Base: mainHead: mobile_toolbar_revamp


📝 Commits (10+)

  • 1e3213d feat: toolbar ui revamp
  • b95f69a feat: implement bius and blocks
  • 51775dc feat: implement converting heading block
  • 849288d feat: implement bius logic
  • 80beffd feat: implement numbered/bulleted/quote list logic
  • 85a5934 feat: indent/outdent logic
  • 1393b46 feat: implement link logic
  • ef6dd58 feat: toolbar ui improvement
  • 4b4527d feat: implement toolbar biu logic
  • 3e9316d feat: focus on biu if the selection is not collapsed

📊 Changes

64 files changed (+2595 additions, -176 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar_actions.dart (+2 -3)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dart (+22 -37)
frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_header.dart (+64 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart (+8 -2)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/mobile_fab.dart (+3 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+3 -12)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+14 -9)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/mobile_convert_block_toolbar_item.dart (+11 -42)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/mobile_text_decoration_item_v2.dart (+217 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/utils.dart (+1 -7)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_align_items.dart (+30 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_bius_items.dart (+71 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_block_items.dart (+139 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_color_item.dart (+34 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_color_list.dart (+297 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_font_item.dart (+56 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_heading_and_text_items.dart (+93 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_indent_items.dart (+50 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_toolbar_item.dart (+110 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart (+11 -0)

...and 44 more files

📄 Description

Feature Preview

Screenshot 2023-12-22 at 13 54 49 Screenshot 2023-12-22 at 13 54 46 Screenshot 2023-12-22 at 13 54 44

https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/f6e970b9-6c5c-4f71-94fa-344294c30711


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/4194 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 12/22/2023 **Status:** ✅ Merged **Merged:** 12/23/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `mobile_toolbar_revamp` --- ### 📝 Commits (10+) - [`1e3213d`](https://github.com/AppFlowy-IO/AppFlowy/commit/1e3213d18604ff49c1c912a2bbc04913caa14e5f) feat: toolbar ui revamp - [`b95f69a`](https://github.com/AppFlowy-IO/AppFlowy/commit/b95f69ab2356eba0fdae265ed824cf607deaae89) feat: implement bius and blocks - [`51775dc`](https://github.com/AppFlowy-IO/AppFlowy/commit/51775dc589780d0a6836d4107af48d4feda9b735) feat: implement converting heading block - [`849288d`](https://github.com/AppFlowy-IO/AppFlowy/commit/849288deae8ffc4f6ec94a538959a3c00ad31af7) feat: implement bius logic - [`80beffd`](https://github.com/AppFlowy-IO/AppFlowy/commit/80beffd706ba3c67ef96f66e8829a681130a4b38) feat: implement numbered/bulleted/quote list logic - [`85a5934`](https://github.com/AppFlowy-IO/AppFlowy/commit/85a593496dd528e08acc16910ebc5197db7a1d55) feat: indent/outdent logic - [`1393b46`](https://github.com/AppFlowy-IO/AppFlowy/commit/1393b46c9402f105fc0c43e13fa4c0d3cdc394e6) feat: implement link logic - [`ef6dd58`](https://github.com/AppFlowy-IO/AppFlowy/commit/ef6dd581b3a716b2a1fc11ad428fe7e4f6f58f8e) feat: toolbar ui improvement - [`4b4527d`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b4527db8f256e0ae32a3dcc21fb3a6804e08073) feat: implement toolbar biu logic - [`3e9316d`](https://github.com/AppFlowy-IO/AppFlowy/commit/3e9316d00e624b8e0f25d97939c0062ae32642d1) feat: focus on biu if the selection is not collapsed ### 📊 Changes **64 files changed** (+2595 additions, -176 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar_actions.dart` (+2 -3) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dart` (+22 -37) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_header.dart` (+64 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart` (+8 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/mobile_fab.dart` (+3 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+3 -12) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+14 -9) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/mobile_convert_block_toolbar_item.dart` (+11 -42) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/mobile_text_decoration_item_v2.dart` (+217 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_item/utils.dart` (+1 -7) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_align_items.dart` (+30 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_bius_items.dart` (+71 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_block_items.dart` (+139 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_color_item.dart` (+34 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_color_list.dart` (+297 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_font_item.dart` (+56 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_heading_and_text_items.dart` (+93 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/_indent_items.dart` (+50 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/aa_toolbar_item.dart` (+110 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart` (+11 -0) _...and 44 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 <img width="767" alt="Screenshot 2023-12-22 at 13 54 49" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/19563efd-7b24-437f-b9be-bcc862efea9c"> <img width="767" alt="Screenshot 2023-12-22 at 13 54 46" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/4bbdd3e9-e531-4ebf-8f03-87c2176435f6"> <img width="767" alt="Screenshot 2023-12-22 at 13 54 44" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/daf6fbbc-abed-4f18-ae84-d6384d5dde08"> https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/f6e970b9-6c5c-4f71-94fa-344294c30711 <!--- 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. - [ ] 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:21:48 +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#6121
No description provided.