From d17fba9d4fa2cdaa9a0c1bc7749dc1eca7122f59 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 18:35:46 +0000 Subject: [PATCH] feat(ui): add search input types for better mobile UX Co-authored-by: arcanistzed <82790112+arcanistzed@users.noreply.github.com> --- .jules/palette.md | 3 +++ src/pages/hardware.tsx | 1 + src/pages/internal/hardware.tsx | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 .jules/palette.md diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 00000000..023eb633 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-10-15 - Missing Search Input Type +**Learning:** Found multiple instances where search inputs in the codebase (e.g., in `src/pages/hardware.tsx` and `src/pages/internal/hardware.tsx`) use the default text input type instead of `type="search"`. Native search inputs provide better mobile keyboard layouts and often feature built-in clear buttons, improving usability for filtering lists. +**Action:** Always add `type="search"` to text inputs that act as filters/search bars. diff --git a/src/pages/hardware.tsx b/src/pages/hardware.tsx index 8edea871..532e24e2 100644 --- a/src/pages/hardware.tsx +++ b/src/pages/hardware.tsx @@ -18,6 +18,7 @@ export default function HardwareCatalogue() {