From 1991d7585035076df38d686360b15e841a8549b6 Mon Sep 17 00:00:00 2001 From: Dorian Date: Tue, 3 Mar 2026 20:44:27 +0000 Subject: [PATCH] feat(app): add federated search across content libraries Create useFederatedSearch.ts composable that searches films, songs, and podcasts with 150ms debounce. Add SearchResults.vue overlay with grouped results and type icons. ChatInput.vue detects /search command prefix and shows results above the input, inserting content reference tags on selection. Co-Authored-By: Claude Opus 4.6 --- .../app/src/components/chat/ChatInput.vue | 38 +++++- .../app/src/components/ui/SearchResults.vue | 129 ++++++++++++++++++ .../app/src/composables/useFederatedSearch.ts | 107 +++++++++++++++ 3 files changed, 272 insertions(+), 2 deletions(-) create mode 100644 packages/app/src/components/ui/SearchResults.vue create mode 100644 packages/app/src/composables/useFederatedSearch.ts diff --git a/packages/app/src/components/chat/ChatInput.vue b/packages/app/src/components/chat/ChatInput.vue index fedc90b6..3057939e 100644 --- a/packages/app/src/components/chat/ChatInput.vue +++ b/packages/app/src/components/chat/ChatInput.vue @@ -1,5 +1,11 @@