[PR #4539] [MERGED] feat: refactor app bar #6298

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4539
Author: @LucasXu0
Created: 1/29/2024
Status: Merged
Merged: 1/29/2024
Merged by: @LucasXu0

Base: mainHead: refactor_app_bar


📝 Commits (3)

  • 9f8ed5c feat: refactor appbar
  • 15bc22d Merge branch 'main' into refactor_app_bar
  • 77a5908 fix: flutter analyze

📊 Changes

31 files changed (+226 additions, -319 deletions)

View changed files

frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar.dart (+64 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar_actions.dart (+30 -37)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart (+3 -6)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/option_color_list.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_header.dart (+0 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart (+3 -11)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/card/card_detail/mobile_card_detail_screen.dart (+11 -23)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/date_picker/mobile_date_picker_screen.dart (+4 -5)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_create_field_screen.dart (+4 -17)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_edit_field_screen.dart (+4 -20)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/mobile_calendar_events_screen.dart (+5 -6)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_list.dart (+1 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_quick_actions.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about.dart (+0 -1)
frontend/appflowy_flutter/lib/mobile/presentation/setting/about/user_agreement_page.dart (+0 -22)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/cloud/appflowy_cloud_page.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/font/font_picker_screen.dart (+39 -50)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/language/language_picker_screen.dart (+11 -39)
📝 frontend/appflowy_flutter/lib/mobile/presentation/setting/launch_settings_page.dart (+3 -2)

...and 11 more files

📄 Description

Feature Preview

  • refactor font page and language page
    Screenshot 2024-01-29 at 16 39 19
    Screenshot 2024-01-29 at 16 37 23

  • use FlowyAppBar instead of AppBar, optimize the AppBar UI display


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/4539 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 1/29/2024 **Status:** ✅ Merged **Merged:** 1/29/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `refactor_app_bar` --- ### 📝 Commits (3) - [`9f8ed5c`](https://github.com/AppFlowy-IO/AppFlowy/commit/9f8ed5c8d7039991ac8b8f1406366c61c86a127f) feat: refactor appbar - [`15bc22d`](https://github.com/AppFlowy-IO/AppFlowy/commit/15bc22d3637e94233a1e0be1bc13973db11f191e) Merge branch 'main' into refactor_app_bar - [`77a5908`](https://github.com/AppFlowy-IO/AppFlowy/commit/77a59081c0b9c39ccf376076d164d203670b1e73) fix: flutter analyze ### 📊 Changes **31 files changed** (+226 additions, -319 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar.dart` (+64 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/app_bar_actions.dart` (+30 -37) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart` (+3 -6) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/option_color_list.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_header.dart` (+0 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart` (+3 -11) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/card/card_detail/mobile_card_detail_screen.dart` (+11 -23) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/date_picker/mobile_date_picker_screen.dart` (+4 -5) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_create_field_screen.dart` (+4 -17) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_edit_field_screen.dart` (+4 -20) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/mobile_calendar_events_screen.dart` (+5 -6) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_list.dart` (+1 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_quick_actions.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/about/about.dart` (+0 -1) ➖ `frontend/appflowy_flutter/lib/mobile/presentation/setting/about/user_agreement_page.dart` (+0 -22) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/cloud/appflowy_cloud_page.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/font/font_picker_screen.dart` (+39 -50) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/language/language_picker_screen.dart` (+11 -39) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/setting/launch_settings_page.dart` (+3 -2) _...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 - refactor font page and language page <img width="543" alt="Screenshot 2024-01-29 at 16 39 19" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/c07b8978-377f-4511-81b0-96185c46bf74"> <img width="543" alt="Screenshot 2024-01-29 at 16 37 23" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/3820e251-2004-455c-a2db-6b2916593870"> - use FlowyAppBar instead of AppBar, optimize the AppBar UI display <!--- 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:22:36 +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#6298
No description provided.