[PR #7187] [MERGED] feat: enable set customized icons for database views #7775

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7187
Author: @asjqkkkk
Created: 1/10/2025
Status: Merged
Merged: 1/20/2025
Merged by: @LucasXu0

Base: mainHead: feat/database/icon


📝 Commits (6)

  • 3e0362c feat: enable set icon for databse tab
  • 481c228 Merge branch 'main' into feat/database/icon
  • 280f536 Merge branch 'main' into feat/database/icon
  • 587d74f chore: resolve conflicts
  • d06c190 Merge branch 'main' into feat/database/icon
  • 447aa82 feat: enable changing dabtabse icon on mobile

📊 Changes

20 files changed (+506 additions, -114 deletions)

View changed files

frontend/appflowy_flutter/integration_test/desktop/database/database_icon_test.dart (+190 -0)
📝 frontend/appflowy_flutter/integration_test/desktop_runner_9.dart (+4 -2)
📝 frontend/appflowy_flutter/integration_test/shared/emoji.dart (+21 -17)
📝 frontend/appflowy_flutter/lib/mobile/application/mobile_router.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/app_bar_buttons.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/card/card_detail/widgets/row_page_button.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_list.dart (+14 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_quick_actions.dart (+45 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/editor/mobile_editor_screen.dart (+5 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/base/emoji/emoji_text.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/tab_bar/desktop/tab_bar_header.dart (+143 -62)
📝 frontend/appflowy_flutter/lib/plugins/database/tab_bar/mobile/mobile_tab_bar_header.dart (+15 -14)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/emoji_icon_widget.dart (+13 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/_page_style_icon.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/page_style_bottom_sheet.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/shared/icon_emoji_picker/icon_picker.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/shared/icon_emoji_picker/recent_icons.dart (+10 -9)
📝 frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart (+16 -0)

📄 Description

related to #6259

Feature Preview

https://github.com/user-attachments/assets/25a0084e-7e4c-46cc-81a4-69916ba8cb1f

  • the icon in database tabbar has no color
  • the menu will be shown while clicking the selected database tabbar

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/7187 **Author:** [@asjqkkkk](https://github.com/asjqkkkk) **Created:** 1/10/2025 **Status:** ✅ Merged **Merged:** 1/20/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/database/icon` --- ### 📝 Commits (6) - [`3e0362c`](https://github.com/AppFlowy-IO/AppFlowy/commit/3e0362ce236241bd994489175fd24835c1e0a289) feat: enable set icon for databse tab - [`481c228`](https://github.com/AppFlowy-IO/AppFlowy/commit/481c2283d1509fa2f9d558bffea4d0a2cc8c8e1c) Merge branch 'main' into feat/database/icon - [`280f536`](https://github.com/AppFlowy-IO/AppFlowy/commit/280f536ccafb6d7977b40b697a62f83cff5b0989) Merge branch 'main' into feat/database/icon - [`587d74f`](https://github.com/AppFlowy-IO/AppFlowy/commit/587d74fb8195b28da940e35296dbe2e2768d3657) chore: resolve conflicts - [`d06c190`](https://github.com/AppFlowy-IO/AppFlowy/commit/d06c190e1cb211134c8c6262741ad144dc69947b) Merge branch 'main' into feat/database/icon - [`447aa82`](https://github.com/AppFlowy-IO/AppFlowy/commit/447aa82c4e85adf8f8aa3507f6a84560440b4920) feat: enable changing dabtabse icon on mobile ### 📊 Changes **20 files changed** (+506 additions, -114 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/integration_test/desktop/database/database_icon_test.dart` (+190 -0) 📝 `frontend/appflowy_flutter/integration_test/desktop_runner_9.dart` (+4 -2) 📝 `frontend/appflowy_flutter/integration_test/shared/emoji.dart` (+21 -17) 📝 `frontend/appflowy_flutter/lib/mobile/application/mobile_router.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/app_bar_buttons.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/card/card_detail/widgets/row_page_button.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_list.dart` (+14 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_view_quick_actions.dart` (+45 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/editor/mobile_editor_screen.dart` (+5 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/base/emoji/emoji_text.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/tab_bar/desktop/tab_bar_header.dart` (+143 -62) 📝 `frontend/appflowy_flutter/lib/plugins/database/tab_bar/mobile/mobile_tab_bar_header.dart` (+15 -14) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/emoji_icon_widget.dart` (+13 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/_page_style_icon.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/page_style_bottom_sheet.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/shared/icon_emoji_picker/icon_picker.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/shared/icon_emoji_picker/recent_icons.dart` (+10 -9) 📝 `frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart` (+16 -0) </details> ### 📄 Description related to #6259 ### Feature Preview https://github.com/user-attachments/assets/25a0084e-7e4c-46cc-81a4-69916ba8cb1f - the icon in database tabbar has no color - the menu will be shown while clicking the selected database tabbar #### 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. - [x] 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:09 +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#7775
No description provided.