refactor(ui): fold the 36px header/search buttons into IconButton #16
Reference in New Issue
Block a user
Delete Branch "refactor/icon-button-outliers"
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?
Stacked on #15 (base is
refactor/shared-icon-button, notmain) — review/merge #15 first.Completes the IconButton extraction by adding
sizeandradiusprops and converting the two outliers left out of the first pass: the desktop header logout button (+layout) and the home search submit button (+page), both 36px with the medium radius.IconButton now drives every icon button in the app except
profile/history's, which #13 removes separately. Defaults stay 32px / small radius, so the four already-converted sites are untouched. Rendered size, radius, and variant match the old markup — no behaviour change, no version bump.Sets up applying the
--tap-mintouch floor in one place once #12 lands.Testing
Two new IconButton cases (size/radius); 358/358 vitest pass; svelte-check clean. e2e: auth-flow logout green, home renders green. (The pre-existing, unrelated
search updatese2e failure reproduces on baseline.)🤖 Generated with Claude Code
Pull request closed