Skip to content

🎨 Palette: Unified List Search, Filter and Accessibility Enhancements#53

Open
Woschj wants to merge 1 commit intomainfrom
palette-micro-ux-list-enhancements-1641930682727353142
Open

🎨 Palette: Unified List Search, Filter and Accessibility Enhancements#53
Woschj wants to merge 1 commit intomainfrom
palette-micro-ux-list-enhancements-1641930682727353142

Conversation

@Woschj
Copy link
Owner

@Woschj Woschj commented Mar 2, 2026

💡 What: Refactored the core list template app/templates/shared/list_base.html to introduce several micro-UX and accessibility improvements.

  • DaisyUI join: Modernized the search bar using the latest components.
  • Clear Search: Added a one-click reset for the search input.
  • Empty State: Implemented a "No results found" row with a clear visual indicator.
  • Accessibility: Table headers are now keyboard-accessible (Enter/Space to sort) and feature full ARIA support (role="button", tabindex="0", aria-label, aria-sort).
  • Logic Refactoring: Centralized search and filter logic into a single generic function in the base template, ensuring consistent behavior across all modules (Tools, Consumables, Workers).

🎯 Why: To provide a more intuitive and accessible experience across the system's many tabular views.

Accessibility:

  • Keyboard navigation for sorting.
  • ARIA attributes for screen readers.
  • Focus visible states for better navigation.

📸 Verification: Verified with a custom Playwright script. Screenshots confirm layout, functionality, and accessibility attributes. (Pre-existing backend test failures were confirmed to be unrelated to these template changes).


PR created automatically by Jules for task 1641930682727353142 started by @Woschj

- Refactor search bar to use DaisyUI 'join' component
- Implement 'Clear Search' button with dynamic visibility
- Add 'No results found' feedback row to tables
- Enhance table sorting with keyboard accessibility and ARIA attributes
- Centralize search and filter logic in list_base.html script block
- Remove redundant filtering logic from sub-templates
- Clean up console logs in production-ready scripts

Co-authored-by: Woschj <81321922+Woschj@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant