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" /> +