Caption clear of the toolbar, a frosted menu, no list under the bar (#245) #311

Closed
kayg wants to merge 0 commits from issue/245-polish into dev
Owner

Round 5 of #245, from the coordinator's own check of #292 on preview (WebKit, 390, touch). Stacked on #292: merge that first; this PR's own change is the top commit.

  1. Gallery caption vs toolbar (mockup):
    • The card toolbar gets its own slot at the end of the caption row: 150 px, or 178 px on touch.
    • The caption truncates before it, and the "2 of 5" count sits beside the caption, no longer behind the Grid button.
    • Narrow lines start the caption at the left; wide lines keep it centred.
    • In Grid, the toolbar goes back to the top corner.
    • Before: at 320 the caption overlapped by 72 px and the count sat 115 px under the toolbar; at 390, 37 px and 80 px. After: clear at 320, 390 and 1440, light and dark.
  2. Menu glass (shared, packages/ui ContextMenu):
    • The surface is now frosted paper: 97% paper in light mode, 96% in dark, with a soft sheen on top and the glass edge.
    • The backdrop blur is gone. Under a near-opaque surface it adds nothing visible, and in WebKit it let photos show through the items.
  3. Strip under the bottom bar (app and mockup PhoneStack):
    • Cause: the list screen's lower rows. The list screen is 892 px tall in an 844 px stack. The stack used overflow: hidden, and a hidden box can still be scrolled by focus, a tap or scrollIntoView. That slid the whole stack up 48 px and showed those rows under the bar.
    • Fix: overflow: clip on the stack and on each screen. Forcing a scroll of 60 px now leaves it at 0 (it went to 48 before). Checked locally, and again live on preview after the deploy.

The web app's svelte-check passes with 0 errors. Before and after screenshots are on #245.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Round 5 of #245, from the coordinator's own check of #292 on preview (WebKit, 390, touch). **Stacked on #292**: merge that first; this PR's own change is the top commit. 1. **Gallery caption vs toolbar (mockup):** - The card toolbar gets its own slot at the end of the caption row: 150 px, or 178 px on touch. - The caption truncates before it, and the "2 of 5" count sits beside the caption, no longer behind the Grid button. - Narrow lines start the caption at the left; wide lines keep it centred. - In Grid, the toolbar goes back to the top corner. - Before: at 320 the caption overlapped by 72 px and the count sat 115 px under the toolbar; at 390, 37 px and 80 px. After: clear at 320, 390 and 1440, light and dark. 2. **Menu glass (shared, `packages/ui` ContextMenu):** - The surface is now frosted paper: 97% paper in light mode, 96% in dark, with a soft sheen on top and the glass edge. - The backdrop blur is gone. Under a near-opaque surface it adds nothing visible, and in WebKit it let photos show through the items. 3. **Strip under the bottom bar (app and mockup `PhoneStack`):** - **Cause:** the list screen's lower rows. The list screen is 892 px tall in an 844 px stack. The stack used `overflow: hidden`, and a hidden box can still be scrolled by focus, a tap or scrollIntoView. That slid the whole stack up 48 px and showed those rows under the bar. - **Fix:** `overflow: clip` on the stack and on each screen. Forcing a scroll of 60 px now leaves it at 0 (it went to 48 before). Checked locally, and again live on preview after the deploy. The web app's `svelte-check` passes with 0 errors. Before and after screenshots are on #245. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Stack: the picked card comes to the front; ⋯ toggles its menu (#245)
Some checks failed
CI / web (pull_request) Failing after 19s
CI / server (pull_request) Successful in 20s
CI / rust (pull_request) Successful in 1m32s
f2cdbf7f25
- Gallery stack: a tap, click or arrow pick brings that card to the front,
  straight, with a springy lift (scale 1.06, deeper shadow), and it stays
  there after the pointer leaves. A mouse still gets the original's hover
  push; a tap only brings the card forward, so nothing slides off a
  phone's line. Round 3's motion is unchanged.
- Shared context menu (packages/ui): a tap on the ⋯ a menu was opened
  from closes it. nextMenu() decides open or close, and the menu's
  outside-press handler leaves its own trigger alone, so the click that
  follows can't reopen it and replay the opening. The web app and the
  mockup both open menus through it. Browser test in the primitives
  harness (fails without the fix, passes with it, Chromium and WebKit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Caption clear of the toolbar, a frosted menu, no list under the bar (#245)
Some checks failed
CI / server (pull_request) Successful in 24s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m45s
26d1aac8db
- Gallery caption row: the card toolbar gets its own slot at the row's
  end, so the caption truncates before it and the count sits beside the
  caption instead of behind a button (narrow lines start the caption at
  the left; wide ones keep it centred). In Grid the toolbar goes back to
  the corner.
- Shared context menu: a frosted, nearly opaque surface (97% paper light,
  96% dark) with a soft sheen and the glass edge. No backdrop blur under
  it: it added nothing visible and let photos show through in WebKit.
- Phone stack (app and mockup): overflow clip instead of hidden. A hidden
  box can still be scrolled by focus, which slid the stack up 48 px and
  showed the list screen's lower rows under the bottom bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Landed in merge train #329.

Landed in merge train #329.
kayg closed this pull request 2026-10-14 17:39:23 +00:00
Some checks failed
CI / server (pull_request) Successful in 24s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m45s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!311
No description provided.