[PR #7748] [MERGED] chore: loading for search summary #8087

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

📋 Pull Request Information

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

Base: mainHead: adjust_search_ui


📝 Commits (4)

📊 Changes

17 files changed (+335 additions, -116 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart (+28 -15)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_list_bloc.dart (+5 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/command_palette/search_service.dart (+10 -4)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/ai/local_ai_bloc.dart (+0 -17)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/command_palette.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_cell.dart (+17 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_results_list.dart (+162 -31)
📝 frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart (+57 -16)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/ollama_setting.dart (+1 -0)
📝 frontend/resources/translations/en.json (+2 -0)
📝 frontend/rust-lib/Cargo.lock (+12 -12)
📝 frontend/rust-lib/Cargo.toml (+2 -2)
📝 frontend/rust-lib/flowy-ai/src/ai_manager.rs (+10 -5)
📝 frontend/rust-lib/flowy-search/src/document/handler.rs (+16 -1)
📝 frontend/rust-lib/flowy-search/src/entities/notification.rs (+0 -3)
📝 frontend/rust-lib/flowy-search/src/entities/result.rs (+11 -0)
📝 frontend/rust-lib/flowy-search/src/services/manager.rs (+0 -2)

📄 Description

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 loading state and improvements to the search summary feature in the command palette

New Features:

  • Create an animated loading indicator for AI-generated search summaries

Enhancements:

  • Introduce a loading indicator for AI overview generation
  • Improve the search results UI with more detailed presentation of search summaries
  • Add support for displaying highlights in search summaries

Chores:

  • Update search-related state management to track searching and AI overview generation states

🔄 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/7748 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `adjust_search_ui` --- ### 📝 Commits (4) - [`3b3ae7f`](https://github.com/AppFlowy-IO/AppFlowy/commit/3b3ae7fde93bb71ea959e18958b32a511e8eaef1) chore: loading for search summary - [`9291236`](https://github.com/AppFlowy-IO/AppFlowy/commit/92912367338490e5c0a9294145786431af34a59e) chore: clippy - [`846172a`](https://github.com/AppFlowy-IO/AppFlowy/commit/846172a709856f6c91d30a2f8107af434eaa80b4) chore: adjust ui - [`5c3e81e`](https://github.com/AppFlowy-IO/AppFlowy/commit/5c3e81e6dc7febb02661b29b593532063e70636c) chore: adjust ui ### 📊 Changes **17 files changed** (+335 additions, -116 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart` (+28 -15) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_result_list_bloc.dart` (+5 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/command_palette/search_service.dart` (+10 -4) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/ai/local_ai_bloc.dart` (+0 -17) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/command_palette.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_cell.dart` (+17 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_results_list.dart` (+162 -31) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart` (+57 -16) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/ollama_setting.dart` (+1 -0) 📝 `frontend/resources/translations/en.json` (+2 -0) 📝 `frontend/rust-lib/Cargo.lock` (+12 -12) 📝 `frontend/rust-lib/Cargo.toml` (+2 -2) 📝 `frontend/rust-lib/flowy-ai/src/ai_manager.rs` (+10 -5) 📝 `frontend/rust-lib/flowy-search/src/document/handler.rs` (+16 -1) 📝 `frontend/rust-lib/flowy-search/src/entities/notification.rs` (+0 -3) 📝 `frontend/rust-lib/flowy-search/src/entities/result.rs` (+11 -0) 📝 `frontend/rust-lib/flowy-search/src/services/manager.rs` (+0 -2) </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 <!--- 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. ## Summary by Sourcery Add loading state and improvements to the search summary feature in the command palette New Features: - Create an animated loading indicator for AI-generated search summaries Enhancements: - Introduce a loading indicator for AI overview generation - Improve the search results UI with more detailed presentation of search summaries - Add support for displaying highlights in search summaries Chores: - Update search-related state management to track searching and AI overview generation states --- <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:33 +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#8087
No description provided.