🎨 Palette: Add helpful empty states for thumbnails and data table#10
🎨 Palette: Add helpful empty states for thumbnails and data table#10
Conversation
Add helpful empty states for both `ThumbnailGrid` and `DataTable` when no designs match current filters. This provides a better user experience than just showing a blank screen, which might lead users to think the app is broken. Also fixed a bug in the `filteredRows` computed property in the `selection` store where filtering by favorites was not correctly applied. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What
Added a helpful empty state message with an icon when no designs are matched by the current filters (either by parallel coordinates brushing or by selecting "Show only favorites"). The empty state is implemented for both the Thumbnail Grid and the Data Table views.
🎯 Why
When users apply restrictive filters or check "Show only favorites" when they have no favorites, the data views would become completely empty without any explanation. Providing an empty state gives users context on why they aren't seeing any data and suggests actionable next steps ("Try adjusting your filters or clearing your selection to see more results").
📸 Before/After
Before: Empty blank area when filters matched no designs.
After: A friendly "No designs found" message with a magnifying glass icon and actionable advice.
♿ Accessibility
selectionstore where theshowOnlyFavoritestoggle wasn't actually filtering thefilteredRowscorrectly, resolving a confusing UI state where the table/grid wouldn't update when the toggle was checked.PR created automatically by Jules for task 6517635840099540052 started by @kastnerp