[PR #7506] [MERGED] feat: revamp toolbar UI #7924

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7506
Author: @asjqkkkk
Created: 3/11/2025
Status: Merged
Merged: 3/13/2025
Merged by: @LucasXu0

Base: mainHead: refactor/toolbar


📝 Commits (8)

  • 217a7dd feat: revamp toolbar UI
  • 145f230 fix: integration test issues
  • 2ee9e04 feat: add suggestions for toolbar
  • 110c761 feat: support dark mode
  • 3c303df Merge branch 'main' into refactor/toolbar
  • fe622ab chore: update editor dependency
  • e6a9af4 feat: add testing for suggestions
  • ba74943 chore: update editor dependency

📊 Changes

77 files changed (+2233 additions, -288 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/document/document_alignment_test.dart (+9 -6)
📝 frontend/appflowy_flutter/integration_test/desktop/document/document_toolbar_test.dart (+144 -15)
📝 frontend/appflowy_flutter/integration_test/desktop/document/document_with_inline_math_equation_test.dart (+27 -15)
📝 frontend/appflowy_flutter/integration_test/desktop/document/document_with_toggle_heading_block_test.dart (+3 -8)
📝 frontend/appflowy_flutter/integration_test/shared/database_test_op.dart (+10 -11)
📝 frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/setting/database_setting_action.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+31 -18)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_toolbar_item.dart (+40 -36)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/toolbar_extension.dart (+24 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart (+52 -93)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/inline_math_equation/inline_math_equation_toolbar_item.dart (+1 -1)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_format_toolbar_items.dart (+89 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_hightlight_color_toolbar_item.dart (+75 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_link_toolbar_item.dart (+45 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_text_align_toolbar_item.dart (+198 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_text_color_toolbar_item.dart (+76 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/more_option_toolbar_item.dart (+324 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/text_heading_toolbar_item.dart (+313 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/text_suggestions_toolbar_item.dart (+479 -0)

...and 57 more files

📄 Description

  • Revamp toolbar UI
  • Suggestions and Turn into
  • More Options
  • Fix integration test issues
  • Revamp link
    • Page reference link
    • Http link

Feature Preview


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/7506 **Author:** [@asjqkkkk](https://github.com/asjqkkkk) **Created:** 3/11/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `refactor/toolbar` --- ### 📝 Commits (8) - [`217a7dd`](https://github.com/AppFlowy-IO/AppFlowy/commit/217a7dd984e74ee1973550cc3bd5adf56fbbc3a2) feat: revamp toolbar UI - [`145f230`](https://github.com/AppFlowy-IO/AppFlowy/commit/145f230b8fa56c35c1110bc020f92491b97778c7) fix: integration test issues - [`2ee9e04`](https://github.com/AppFlowy-IO/AppFlowy/commit/2ee9e04db6a84904ca9de41b259d3b4834a98785) feat: add suggestions for toolbar - [`110c761`](https://github.com/AppFlowy-IO/AppFlowy/commit/110c7611c6119ff75c42964e4249f9ed6b0d4817) feat: support dark mode - [`3c303df`](https://github.com/AppFlowy-IO/AppFlowy/commit/3c303dfff8b6a75afe236f90665ae28635d004c5) Merge branch 'main' into refactor/toolbar - [`fe622ab`](https://github.com/AppFlowy-IO/AppFlowy/commit/fe622ab0041b37849fa4c5d1659a40d32477fa23) chore: update editor dependency - [`e6a9af4`](https://github.com/AppFlowy-IO/AppFlowy/commit/e6a9af48c38b4b30fab62eaf8795b0c4baf78b74) feat: add testing for suggestions - [`ba74943`](https://github.com/AppFlowy-IO/AppFlowy/commit/ba7494349d1509f8e4b759f11e53c6fc01c931ba) chore: update editor dependency ### 📊 Changes **77 files changed** (+2233 additions, -288 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_alignment_test.dart` (+9 -6) 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_toolbar_test.dart` (+144 -15) 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_with_inline_math_equation_test.dart` (+27 -15) 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_with_toggle_heading_block_test.dart` (+3 -8) 📝 `frontend/appflowy_flutter/integration_test/shared/database_test_op.dart` (+10 -11) 📝 `frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/setting/database_setting_action.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+31 -18) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_toolbar_item.dart` (+40 -36) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/toolbar_extension.dart` (+24 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart` (+52 -93) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/inline_math_equation/inline_math_equation_toolbar_item.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_format_toolbar_items.dart` (+89 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_hightlight_color_toolbar_item.dart` (+75 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_link_toolbar_item.dart` (+45 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_text_align_toolbar_item.dart` (+198 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/custom_text_color_toolbar_item.dart` (+76 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/more_option_toolbar_item.dart` (+324 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/text_heading_toolbar_item.dart` (+313 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toolbar_item/text_suggestions_toolbar_item.dart` (+479 -0) _...and 57 more files_ </details> ### 📄 Description - [x] Revamp toolbar UI - [x] Suggestions and Turn into - [x] More Options - [x] Fix integration test issues - [ ] Revamp link - [ ] Page reference link - [ ] Http link ### Feature Preview <!--- 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 - [ ] 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 23: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#7924
No description provided.