From 47af7d9fd051b466e01633aaef2c141b0c42b25e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 10:40:01 +0000 Subject: [PATCH 1/8] feat(ux): improve search panel usability and styling alignment - Add a custom clear button to the search input for better query management. - Align search panel buttons with defined design system patterns. - Improve accessibility by adding ARIA roles and escaping entities in the Search Panel. - Suppress native browser search decorations for a consistent UI. Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com> --- src/features/search/SearchPanel.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/features/search/SearchPanel.tsx b/src/features/search/SearchPanel.tsx index 819fa11..43bc3c3 100644 --- a/src/features/search/SearchPanel.tsx +++ b/src/features/search/SearchPanel.tsx @@ -49,7 +49,7 @@ const NoResultsState: React.FC<{ query: string; onClear: () => void }> = ({ quer

No local matches

-

We couldn't find anything matching "{query}" in your current library.

+

We couldn't find anything matching "{query}" in your current library.

+ )}
{onClose && ( + + + + - setMessages(prev => [...prev, { role: 'assistant', content: response.content }]); - } catch (err) { - logger.error('AI chat failed', err); - setMessages(prev => [...prev, { role: 'assistant', content: 'Sorry, I encountered an error while processing your request.' }]); - } finally { - setIsLoading(false); - } - }; +
+ {activePanel === 'prompt' && ( +
+
+

System & User Prompt

+
+