[PR #3890] [MERGED] feat: adjust math_equation block and image block on mobile platform #5931

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3890
Author: @LucasXu0
Created: 11/6/2023
Status: Merged
Merged: 11/7/2023
Merged by: @LucasXu0

Base: mainHead: math_eqaution


📝 Commits (6)

  • 7b1579b feat: add image toolbar entry
  • 69dfd0a Merge branch 'main' into math_eqaution
  • 6a144af feat: add ... buttos on math_equation and image block
  • 0437524 fix: review issues
  • 642b416 feat: add copy link and save image to gallery
  • 105be7d feat: support redo / undo on mobile toolbar

📊 Changes

31 files changed (+928 additions, -201 deletions)

View changed files

📝 frontend/appflowy_flutter/ios/Podfile.lock (+12 -0)
📝 frontend/appflowy_flutter/ios/Runner/Info.plist (+3 -1)
📝 frontend/appflowy_flutter/lib/mobile/application/mobile_theme_data.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart (+11 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_action_widget.dart (+1 -0)
frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_block_action_widget.dart (+78 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_page.dart (+25 -25)
📝 frontend/appflowy_flutter/lib/plugins/document/document_page.dart (+21 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+1 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+5 -1)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/mobile_block_action_buttons.dart (+107 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/clipboard_service.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/custom_image_block_component.dart (+170 -52)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/embed_image_url_widget.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_placeholder.dart (+103 -52)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/mobile_image_toolbar_item.dart (+17 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/unsupport_image_widget.dart (+43 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart (+24 -19)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_menu.dart (+10 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart (+58 -23)

...and 11 more files

📄 Description

Feature Preview

  • improve the UI style of the math_equation on desktop platform
Screenshot 2023-11-06 at 21 52 33 Screenshot 2023-11-06 at 21 52 38
  • adjust the math_equation block and image block on mobile platform
Screenshot 2023-11-06 at 22 37 30
  • add ... button on the top-right corner of block
Screenshot 2023-11-06 at 22 37 34
  • add copy link and save image action
Screenshot 2023-11-07 at 14 29 26
  • add redo / undo item on mobile toolbar
Screenshot 2023-11-07 at 14 18 21

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/3890 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 11/6/2023 **Status:** ✅ Merged **Merged:** 11/7/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `math_eqaution` --- ### 📝 Commits (6) - [`7b1579b`](https://github.com/AppFlowy-IO/AppFlowy/commit/7b1579bc73bf4941110a07c37c385030ec696f5c) feat: add image toolbar entry - [`69dfd0a`](https://github.com/AppFlowy-IO/AppFlowy/commit/69dfd0a4ed6a22aaf9678b076c9d0898df088f2f) Merge branch 'main' into math_eqaution - [`6a144af`](https://github.com/AppFlowy-IO/AppFlowy/commit/6a144afd8f229fd79bdfdd606ddab3fa68722a00) feat: add ... buttos on math_equation and image block - [`0437524`](https://github.com/AppFlowy-IO/AppFlowy/commit/0437524a75b65699faf0e1c77e6a29362b0b1206) fix: review issues - [`642b416`](https://github.com/AppFlowy-IO/AppFlowy/commit/642b4166f6e54813df0e15a7c60beeebdfdb840d) feat: add copy link and save image to gallery - [`105be7d`](https://github.com/AppFlowy-IO/AppFlowy/commit/105be7dfe859834341737ba1791d9c915a6b8fc2) feat: support redo / undo on mobile toolbar ### 📊 Changes **31 files changed** (+928 additions, -201 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+12 -0) 📝 `frontend/appflowy_flutter/ios/Runner/Info.plist` (+3 -1) 📝 `frontend/appflowy_flutter/lib/mobile/application/mobile_theme_data.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart` (+11 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_action_widget.dart` (+1 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_block_action_widget.dart` (+78 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_page.dart` (+25 -25) 📝 `frontend/appflowy_flutter/lib/plugins/document/document_page.dart` (+21 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+1 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+5 -1) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/mobile_block_action_buttons.dart` (+107 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/clipboard_service.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/custom_image_block_component.dart` (+170 -52) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/embed_image_url_widget.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_placeholder.dart` (+103 -52) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/mobile_image_toolbar_item.dart` (+17 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/unsupport_image_widget.dart` (+43 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart` (+24 -19) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_menu.dart` (+10 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart` (+58 -23) _...and 11 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 - improve the UI style of the math_equation on desktop platform <img width="969" alt="Screenshot 2023-11-06 at 21 52 33" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/6745569b-0bed-47f4-8c1c-02d7cf9abdea"> <img width="955" alt="Screenshot 2023-11-06 at 21 52 38" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/59756a28-f2df-4e67-b940-730488c0f0df"> - adjust the math_equation block and image block on mobile platform <img width="543" alt="Screenshot 2023-11-06 at 22 37 30" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/3ca1f7a4-9759-4416-904e-f5b99ccbe597"> - add ... button on the top-right corner of block <img width="543" alt="Screenshot 2023-11-06 at 22 37 34" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/2989d1d2-e08e-44d6-b152-79d368c93dfe"> - add copy link and save image action <img width="462" alt="Screenshot 2023-11-07 at 14 29 26" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/d41ac77a-b59c-4b13-8cca-ceed18a379a4"> - add redo / undo item on mobile toolbar <img width="450" alt="Screenshot 2023-11-07 at 14 18 21" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/73bca54e-1e0a-4de9-8fe5-d7194e636fc2"> <!--- 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 22:20:57 +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#5931
No description provided.