Skip to content

fix: mobile UX for adding bookmarks (audit + top 3 fixes)#45

Merged
pheuberger merged 1 commit into
mainfrom
claude/mobile-bookmark-ux-audit-3idg6p
Jul 11, 2026
Merged

fix: mobile UX for adding bookmarks (audit + top 3 fixes)#45
pheuberger merged 1 commit into
mainfrom
claude/mobile-bookmark-ux-audit-3idg6p

Conversation

@pheuberger

Copy link
Copy Markdown
Owner

UX audit scoped to the add-bookmark flow on mobile (390px, touch
emulation), written up in docs/ux-audit-mobile-add-bookmark.md.
Top 3 findings fixed:

  1. URL entry fought the mobile keyboard: the field was a bare
    type="text" input, so phones autocapitalized/autocorrected URLs,
    showed the generic keyboard, and iOS didn't open the keyboard at
    all because focus ran in an async effect. The input now sets
    inputMode="url", autoCapitalize="none", autoCorrect="off",
    spellCheck=false, enterKeyHint="go", focuses via autoFocus
    (synchronous with the tap), and gets a taller touch target on
    mobile. The tag input gets the same autocapitalize/autocorrect
    treatment since tags are lowercased anyway.

  2. The copied-URL fast path didn't exist on touch: paste-to-bookmark
    relies on document-level paste events that mobile browsers never
    fire. The draft card now shows a one-tap Paste button (async
    Clipboard API) that validates, normalizes, fills the URL, and
    moves focus to the title, with inline errors for empty/non-URL/
    denied clipboard. Hidden when the API is unavailable. Desktop
    gets the same button.

  3. Touch targets and keyboard-only affordances: Save/Cancel were
    51x16/61x16px and now measure 44px tall on mobile; the Read later
    checkbox grew to 16px with a taller label hit area; the
    "Enter to save · Esc to cancel" and "Press ↓ to see existing
    tags" hints are hidden below sm.

All mobile sizing is breakpoint-gated (sm:), so desktop renders
exactly as before apart from the new Paste button. Verified with
Playwright at 390x844 and 1440x900 by measuring rendered rects
before/after. Adds component tests for the draft card.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01TizfppGYnmxgZko85Ug7nR

UX audit scoped to the add-bookmark flow on mobile (390px, touch
emulation), written up in docs/ux-audit-mobile-add-bookmark.md.
Top 3 findings fixed:

1. URL entry fought the mobile keyboard: the field was a bare
   type="text" input, so phones autocapitalized/autocorrected URLs,
   showed the generic keyboard, and iOS didn't open the keyboard at
   all because focus ran in an async effect. The input now sets
   inputMode="url", autoCapitalize="none", autoCorrect="off",
   spellCheck=false, enterKeyHint="go", focuses via autoFocus
   (synchronous with the tap), and gets a taller touch target on
   mobile. The tag input gets the same autocapitalize/autocorrect
   treatment since tags are lowercased anyway.

2. The copied-URL fast path didn't exist on touch: paste-to-bookmark
   relies on document-level paste events that mobile browsers never
   fire. The draft card now shows a one-tap Paste button (async
   Clipboard API) that validates, normalizes, fills the URL, and
   moves focus to the title, with inline errors for empty/non-URL/
   denied clipboard. Hidden when the API is unavailable. Desktop
   gets the same button.

3. Touch targets and keyboard-only affordances: Save/Cancel were
   51x16/61x16px and now measure 44px tall on mobile; the Read later
   checkbox grew to 16px with a taller label hit area; the
   "Enter to save · Esc to cancel" and "Press ↓ to see existing
   tags" hints are hidden below sm.

All mobile sizing is breakpoint-gated (sm:), so desktop renders
exactly as before apart from the new Paste button. Verified with
Playwright at 390x844 and 1440x900 by measuring rendered rects
before/after. Adds component tests for the draft card.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TizfppGYnmxgZko85Ug7nR
@netlify

netlify Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploy Preview for hypermarkk ready!

Name Link
🔨 Latest commit 9b28d5d
🔍 Latest deploy log https://app.netlify.com/projects/hypermarkk/deploys/6a5210f9f0be1e0008306aab
😎 Deploy Preview https://deploy-preview-45--hypermarkk.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pheuberger pheuberger merged commit f20dea8 into main Jul 11, 2026
7 checks passed
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.

2 participants