UI: Search affordance is too weak — icon-only with no label #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Search is hidden behind a minimal magnifying-glass icon in the header. For a content-heavy site where users come with a specific repair problem, search is a primary navigation tool.
Current
Suggested Fix
Implemented all requested changes in commit
1260799:1. Search label — Added
<span>Search</span>next to the SVG icon in the header button. Button widened from fixedw-9to padded layout withgap-1.5for proper spacing.2. Keyboard shortcut — Added Cmd+K / Ctrl+K handler to the existing
useVisibleTask$keydown listener (alongside the existing Escape handler). CallssearchOpen.value = truewithe.preventDefault().3. Tooltip — Added
title="Search (⌘K)"on the button so hovering reveals the shortcut.Verified:
bun run buildpasses type check + lint check + client build.