Conversation
- Added a 'Clear' button to the search input in `list_base.html` for faster filter resets. - Implemented JavaScript to toggle button visibility based on input content. - Added accessibility improvements: `aria-label` for search and clear buttons, and automatic focus return after clearing. - Refactored search logic into a reusable `updateSearch` function. Co-authored-by: Woschj <81321922+Woschj@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. |
This PR adds a small but high-impact UX improvement to the Scandy inventory system. A "Clear" button is now available in all list views (Tools, Consumables, etc.) to allow users to quickly reset their search input.
Key changes:
aria-labelattributes to the search input, the search button, and the new clear button. Ensured keyboard users can easily return to the input field after clearing.updateSearchfunction, reducing duplication and improving clarity.Verified with Playwright and visual screenshots.
PR created automatically by Jules for task 12548489913381137319 started by @Woschj