[PR #3467] [MERGED] feat: customize text font #5732

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3467
Author: @LucasXu0
Created: 9/20/2023
Status: Merged
Merged: 9/21/2023
Merged by: @LucasXu0

Base: mainHead: customize_text_font


📝 Commits (4)

  • cc8be44 feat: update UI in settings page
  • da6c21c feat: customzing font in document page
  • 6b98e25 fix: flutter analyze and format issues
  • b6f484a Merge branch 'main' into customize_text_font

📊 Changes

26 files changed (+334 additions, -197 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/appearance_settings_test.dart (+2 -1)
📝 frontend/appflowy_flutter/integration_test/util/mock/mock_openai_repository.dart (+8 -3)
📝 frontend/appflowy_flutter/lib/plugins/database_view/board/presentation/board_page.dart (+4 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/code_block/code_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/config.dart (+20 -20)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart (+42 -31)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/emoji_picker.dart (+50 -24)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/extensions/flowy_tint_extension.dart (+0 -1)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart (+43 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/outline/outline_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/plugins.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart (+1 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart (+10 -0)
frontend/appflowy_flutter/lib/util/google_font_family_extension.dart (+7 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/appearance.dart (+0 -4)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/font_family_setting.dart (+106 -64)

...and 6 more files

📄 Description

Feature Preview

Screenshot 2023-09-20 at 18 03 25 Screenshot 2023-09-20 at 18 02 13

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/3467 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 9/20/2023 **Status:** ✅ Merged **Merged:** 9/21/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `customize_text_font` --- ### 📝 Commits (4) - [`cc8be44`](https://github.com/AppFlowy-IO/AppFlowy/commit/cc8be443a13ee40d2efeb3da5faf88008272ff5e) feat: update UI in settings page - [`da6c21c`](https://github.com/AppFlowy-IO/AppFlowy/commit/da6c21ce027bf83c59677c37ab962371281e7574) feat: customzing font in document page - [`6b98e25`](https://github.com/AppFlowy-IO/AppFlowy/commit/6b98e25a51006a199762965a863c0b71987717dd) fix: flutter analyze and format issues - [`b6f484a`](https://github.com/AppFlowy-IO/AppFlowy/commit/b6f484a1cd6841fca674ac1ddb5d15979f335643) Merge branch 'main' into customize_text_font ### 📊 Changes **26 files changed** (+334 additions, -197 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/appearance_settings_test.dart` (+2 -1) 📝 `frontend/appflowy_flutter/integration_test/util/mock/mock_openai_repository.dart` (+8 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/board/presentation/board_page.dart` (+4 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/code_block/code_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/config.dart` (+20 -20) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart` (+42 -31) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/emoji_picker.dart` (+50 -24) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/extensions/flowy_tint_extension.dart` (+0 -1) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart` (+43 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/outline/outline_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/plugins.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart` (+1 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart` (+10 -0) ➕ `frontend/appflowy_flutter/lib/util/google_font_family_extension.dart` (+7 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/appearance.dart` (+0 -4) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/font_family_setting.dart` (+106 -64) _...and 6 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="1107" alt="Screenshot 2023-09-20 at 18 03 25" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/22c4ee78-243d-46f0-ad91-d7a8d68410f2"> <img width="1107" alt="Screenshot 2023-09-20 at 18 02 13" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/09c85280-61be-4a87-a7cc-7f42b3b621ae"> #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] 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:03 +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#5732
No description provided.