[PR #7804] [MERGED] feat: support mobile search #8129

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7804
Author: @asjqkkkk
Created: 4/22/2025
Status: Merged
Merged: 4/23/2025
Merged by: @LucasXu0

Base: mainHead: feat/mobile/search


📝 Commits (5)

  • 1dcae8a feat: support anon local ai chat/writer
  • 6fa7f99 feat: add mobile search page
  • e1d66f6 feat: complete mobile search page
  • b6c7107 chore: add some tests for mobile search
  • 2848d7c fix: some UI issues

📊 Changes

23 files changed (+1160 additions, -41 deletions)

View changed files

frontend/appflowy_flutter/integration_test/mobile/search/search_test.dart (+59 -0)
📝 frontend/appflowy_flutter/ios/Podfile.lock (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart (+10 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/tab/ai_bubble_button.dart (+33 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/tab/mobile_space_tab.dart (+5 -5)
📝 frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart (+34 -27)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_ask_ai_entrance.dart (+76 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_cell.dart (+187 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dart (+121 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_result.dart (+189 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dart (+168 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_view_ancestors.dart (+55 -0)
frontend/appflowy_flutter/lib/mobile/presentation/search/view_ancestor_cache.dart (+62 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/mobile_chat_input.dart (+20 -1)
📝 frontend/appflowy_flutter/lib/startup/deps_resolver.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart (+11 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart (+19 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_ext.dart (+10 -6)
frontend/appflowy_flutter/test/unit_test/search/split_search_test.dart (+72 -0)
frontend/resources/flowy_icons/24x/m_home_ai_chat_icon.svg (+14 -0)

...and 3 more files

📄 Description

  • Recent list in search page
  • Search result list in search page
  • Highlight query text
  • AI search entrance

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.

Summary by Sourcery

Add mobile search functionality to the AppFlowy mobile app, including a new search page with recent list, search results, and AI search integration

New Features:

  • Implement mobile search screen with search text field
  • Add search results display with recent and matched items
  • Integrate AI search entrance for cloud users
  • Support highlighting search query in results

Enhancements:

  • Extend bottom navigation bar to include search tab
  • Improve mobile home page with new search capabilities
  • Add view ancestor caching for search results

🔄 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/7804 **Author:** [@asjqkkkk](https://github.com/asjqkkkk) **Created:** 4/22/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/mobile/search` --- ### 📝 Commits (5) - [`1dcae8a`](https://github.com/AppFlowy-IO/AppFlowy/commit/1dcae8a4f1c39556e0b064a907b0a8b997710ad1) feat: support anon local ai chat/writer - [`6fa7f99`](https://github.com/AppFlowy-IO/AppFlowy/commit/6fa7f99e4d2d2a2fb9f9570967f0d9a1f8369b16) feat: add mobile search page - [`e1d66f6`](https://github.com/AppFlowy-IO/AppFlowy/commit/e1d66f6b1589b15fbe2702011839290be548cb75) feat: complete mobile search page - [`b6c7107`](https://github.com/AppFlowy-IO/AppFlowy/commit/b6c710736f4ab87a2907b8093ed1ce091e751de2) chore: add some tests for mobile search - [`2848d7c`](https://github.com/AppFlowy-IO/AppFlowy/commit/2848d7c406499190965c8be6898e61595370b702) fix: some UI issues ### 📊 Changes **23 files changed** (+1160 additions, -41 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/integration_test/mobile/search/search_test.dart` (+59 -0) 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart` (+10 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/tab/ai_bubble_button.dart` (+33 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/tab/mobile_space_tab.dart` (+5 -5) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart` (+34 -27) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_ask_ai_entrance.dart` (+76 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_cell.dart` (+187 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dart` (+121 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_result.dart` (+189 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dart` (+168 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_view_ancestors.dart` (+55 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/search/view_ancestor_cache.dart` (+62 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/mobile_chat_input.dart` (+20 -1) 📝 `frontend/appflowy_flutter/lib/startup/deps_resolver.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart` (+11 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart` (+19 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_ext.dart` (+10 -6) ➕ `frontend/appflowy_flutter/test/unit_test/search/split_search_test.dart` (+72 -0) ➕ `frontend/resources/flowy_icons/24x/m_home_ai_chat_icon.svg` (+14 -0) _...and 3 more files_ </details> ### 📄 Description - [x] Recent list in search page - [x] Search result list in search page - [x] Highlight query text - [x] AI search entrance ### 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 - [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. ## Summary by Sourcery Add mobile search functionality to the AppFlowy mobile app, including a new search page with recent list, search results, and AI search integration New Features: - Implement mobile search screen with search text field - Add search results display with recent and matched items - Integrate AI search entrance for cloud users - Support highlighting search query in results Enhancements: - Extend bottom navigation bar to include search tab - Improve mobile home page with new search capabilities - Add view ancestor caching for search results --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:22:44 +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#8129
No description provided.