From a4b9be06b8ed43230cb59ce0a5293e58cdfea16d Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 22:34:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20Clear=20Search?= =?UTF-8?q?=20button=20to=20empty=20state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AhmmedSamier <17784876+AhmmedSamier@users.noreply.github.com> --- .jules/palette.md | 3 +++ .../ToolWindows/SearchControl.xaml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .jules/palette.md diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..427f907 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2025-05-04 - Actionable Empty States +**Learning:** Empty states without immediate, actionable recovery paths cause friction. Users facing a "No results found" message benefit from a direct way to reset the UI state without navigating away from the context. +**Action:** When designing empty states (e.g., zero search results or empty lists), always embed an actionable control (like a "Clear Search" or "Reset Filters" button) directly within the empty state container, ensuring it is keyboard accessible and properly labeled for screen readers. diff --git a/visual-studio-extension/DeepLensVisualStudio/DeepLensVisualStudio/ToolWindows/SearchControl.xaml b/visual-studio-extension/DeepLensVisualStudio/DeepLensVisualStudio/ToolWindows/SearchControl.xaml index 54afd02..79836de 100644 --- a/visual-studio-extension/DeepLensVisualStudio/DeepLensVisualStudio/ToolWindows/SearchControl.xaml +++ b/visual-studio-extension/DeepLensVisualStudio/DeepLensVisualStudio/ToolWindows/SearchControl.xaml @@ -455,6 +455,18 @@ Foreground="{DynamicResource {x:Static vsshell:VsBrushes.GrayTextKey}}" HorizontalAlignment="Center" Margin="0,4,0,0" /> +