[PR #7727] [MERGED] chore: search summary #8071

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7727
Author: @appflowy
Created: 4/11/2025
Status: Merged
Merged: 4/15/2025
Merged by: @appflowy

Base: mainHead: search_summary


📝 Commits (5)

📊 Changes

50 files changed (+1889 additions, -1402 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/command_palette/folder_search_test.dart (+9 -9)
📝 frontend/appflowy_flutter/integration_test/desktop/command_palette/recent_history_test.dart (+4 -3)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart (+258 -119)
frontend/appflowy_flutter/lib/workspace/application/command_palette/search_listener.dart (+0 -74)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_ext.dart (+5 -5)
frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_list_bloc.dart (+78 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/search_service.dart (+107 -4)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/command_palette.dart (+23 -58)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_views_list.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_field.dart (+93 -100)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_recent_view_cell.dart (+2 -2)
frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_cell.dart (+224 -0)
frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_tile.dart (+0 -162)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_results_list.dart (+127 -27)
frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart (+96 -0)
📝 frontend/appflowy_flutter/macos/Podfile.lock (+23 -23)
📝 frontend/resources/translations/en.json (+3 -0)
📝 frontend/rust-lib/Cargo.lock (+176 -158)
📝 frontend/rust-lib/Cargo.toml (+7 -5)
📝 frontend/rust-lib/flowy-ai/Cargo.toml (+0 -3)

...and 30 more files

📄 Description

Summary by Sourcery

Refactor and enhance the search functionality in AppFlowy, introducing a new streaming-based search approach with support for AI-generated summaries and improved search result handling.

New Features:

  • Add AI-generated search summaries to provide context for search results
  • Implement a new search stream mechanism that supports incremental result loading
  • Create a more flexible search result data structure to support different types of search results

Enhancements:

  • Implement a streaming-based search mechanism that allows for more dynamic and responsive search results
  • Introduce support for AI-generated search summaries alongside search results
  • Improve the search result handling in the command palette with more flexible state management
  • Refactor the search indexing and querying logic to be more asynchronous and robust

Chores:

  • Remove legacy search notification system
  • Update search-related interfaces to be more async-friendly
  • Simplify and modernize the search indexing implementation

🔄 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/7727 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 4/11/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `search_summary` --- ### 📝 Commits (5) - [`4d17276`](https://github.com/AppFlowy-IO/AppFlowy/commit/4d172761ce76cd50805196093c4874ef68c0f1e1) chore: search with ai summary - [`437deaf`](https://github.com/AppFlowy-IO/AppFlowy/commit/437deaf986353c72d8281a3bc4ae05746e61f834) chore: update logs - [`a44ad63`](https://github.com/AppFlowy-IO/AppFlowy/commit/a44ad63230edf4eb21807568050571f576ca15e9) chore: display preview - [`35bc095`](https://github.com/AppFlowy-IO/AppFlowy/commit/35bc0957604c670738b22ef884aae9dd3769fdbe) chore: local and server result - [`99fb6ab`](https://github.com/AppFlowy-IO/AppFlowy/commit/99fb6ab743c3493a2621cf7605df237e86fbd75b) chore: fix linux watch ### 📊 Changes **50 files changed** (+1889 additions, -1402 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/command_palette/folder_search_test.dart` (+9 -9) 📝 `frontend/appflowy_flutter/integration_test/desktop/command_palette/recent_history_test.dart` (+4 -3) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart` (+258 -119) ➖ `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_listener.dart` (+0 -74) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_ext.dart` (+5 -5) ➕ `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_list_bloc.dart` (+78 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_service.dart` (+107 -4) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/command_palette.dart` (+23 -58) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_views_list.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_field.dart` (+93 -100) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_recent_view_cell.dart` (+2 -2) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_cell.dart` (+224 -0) ➖ `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_tile.dart` (+0 -162) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_results_list.dart` (+127 -27) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart` (+96 -0) 📝 `frontend/appflowy_flutter/macos/Podfile.lock` (+23 -23) 📝 `frontend/resources/translations/en.json` (+3 -0) 📝 `frontend/rust-lib/Cargo.lock` (+176 -158) 📝 `frontend/rust-lib/Cargo.toml` (+7 -5) 📝 `frontend/rust-lib/flowy-ai/Cargo.toml` (+0 -3) _...and 30 more files_ </details> ### 📄 Description ## Summary by Sourcery Refactor and enhance the search functionality in AppFlowy, introducing a new streaming-based search approach with support for AI-generated summaries and improved search result handling. New Features: - Add AI-generated search summaries to provide context for search results - Implement a new search stream mechanism that supports incremental result loading - Create a more flexible search result data structure to support different types of search results Enhancements: - Implement a streaming-based search mechanism that allows for more dynamic and responsive search results - Introduce support for AI-generated search summaries alongside search results - Improve the search result handling in the command palette with more flexible state management - Refactor the search indexing and querying logic to be more asynchronous and robust Chores: - Remove legacy search notification system - Update search-related interfaces to be more async-friendly - Simplify and modernize the search indexing implementation --- <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:28 +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#8071
No description provided.