Attachment mockup, round 2: kayg's 12 points #245

Closed
opened 2026-10-14 11:23:35 +00:00 by kayg · 16 comments
Owner

kayg reviewed the #172 mockup on preview ("amazing work overall!"):

  1. The pill a ⋯ menu was opened from stays visible while the menu is open.
  2. Clicking anything in the top-right pill must not bounce the picture.
  3. The block selection highlight needs to be better than an accent rectangle. Design is open: we grill this.
  4. Bring the mockup's better body-text weight to production.
  5. Remove the hover parallax; keep only the scale.
  6. Improve the bottom strip that shows the picture's name and size.
  7. "Copy link" and "Copy as → Deeplink" are the same thing. Keep one.
  8. Double-clicking a picture opens it at full resolution.
  9. Voice notes get a real waveform.
  10. Changing layout (carousel, grid, small, large) animates instead of jumping.
  11. Code blocks auto-detect their language, default to plain text, and get syntax highlighting.
  12. Embedded notes:
    • remove the side highlight;
    • render with the same renderer as the note itself, so they look exactly the same;
    • the Open action moves into the top-right pill, and opening scales the note in instead of the usual mouse fade.
kayg reviewed the #172 mockup on preview ("amazing work overall!"): 1. The pill a ⋯ menu was opened from stays visible while the menu is open. 2. Clicking anything in the top-right pill must not bounce the picture. 3. The block selection highlight needs to be better than an accent rectangle. Design is open: we grill this. 4. Bring the mockup's better body-text weight to production. 5. Remove the hover parallax; keep only the scale. 6. Improve the bottom strip that shows the picture's name and size. 7. "Copy link" and "Copy as → Deeplink" are the same thing. Keep one. 8. Double-clicking a picture opens it at full resolution. 9. Voice notes get a real waveform. 10. Changing layout (carousel, grid, small, large) animates instead of jumping. 11. Code blocks auto-detect their language, default to plain text, and get syntax highlighting. 12. Embedded notes: - remove the side highlight; - render with the same renderer as the note itself, so they look exactly the same; - the Open action moves into the top-right pill, and opening scales the note in instead of the usual mouse fade.
Author
Owner

Also for round 2, from kayg: galleries don't use a typical carousel. When a gallery of cards scrolls into view, the cards animate in like sveltebits bounce-cards (https://sveltebits.xyz/r/bounce-cards.json): a fanned stack that bounces in. Hovering a card makes it the active one. Reimplement it ourselves in our code style; don't copy it in as a dependency.

Markdown (Claude's proposal for kayg to confirm): a gallery is just consecutive image lines with no blank line between them. No new syntax, so other editors show the same images stacked. A blank line ends the gallery. The layout choice (stack, grid, large) lives in the first image's title word, as proposed for single images.

**Also for round 2, from kayg:** galleries don't use a typical carousel. When a gallery of cards scrolls into view, the cards animate in like sveltebits **bounce-cards** (https://sveltebits.xyz/r/bounce-cards.json): a fanned stack that bounces in. Hovering a card makes it the active one. **Reimplement it ourselves** in our code style; don't copy it in as a dependency. **Markdown (Claude's proposal for kayg to confirm):** a gallery is just consecutive image lines with no blank line between them. No new syntax, so other editors show the same images stacked. A blank line ends the gallery. The layout choice (stack, grid, large) lives in the first image's title word, as proposed for single images.
Author
Owner

Gallery markdown, decided with kayg (replaces the proposal above):

  • One image per line stays a single image. Consecutive image lines show stacked vertically, exactly as written.
  • A gallery is several images on one line, separated by spaces: ![](<a.jpg>) ![](<b.jpg>) ![](<c.jpg>). Other markdown viewers show these side by side in a row, so the file still reads naturally.
  • Building a gallery: a single-image block shows a quiet + beside it. Tapping + adds a picture to that same line, which turns it into a gallery (bounce cards). Dragging an image card onto another image does the same.
  • Taking one out: "Take out of gallery" in a card's menu moves that image to its own line below.
  • Rendering: a gallery line uses the bounce-cards fan; any other image line renders as usual.
**Gallery markdown, decided with kayg (replaces the proposal above):** - **One image per line stays a single image.** Consecutive image lines show stacked vertically, exactly as written. - **A gallery is several images on one line**, separated by spaces: `![](<a.jpg>) ![](<b.jpg>) ![](<c.jpg>)`. Other markdown viewers show these side by side in a row, so the file still reads naturally. - **Building a gallery:** a single-image block shows a quiet **+** beside it. Tapping + adds a picture to that same line, which turns it into a gallery (bounce cards). Dragging an image card onto another image does the same. - **Taking one out:** "Take out of gallery" in a card's menu moves that image to its own line below. - **Rendering:** a gallery line uses the bounce-cards fan; any other image line renders as usual.
Author
Owner

Round 2 is on preview

Review here:

PR: #267 (replaces #232). Mockup only.

# What you asked What you'll see
1 Pill stays while its ⋯ menu is open The card stays grown and its toolbar stays while the menu from ⋯ or right-click is open
2 No bounce from the pill Pressing a toolbar button no longer presses the picture; only pressing the picture itself does
3 Better selection highlight Three options below, not built, for you to pick
4 Mockup body weight in production See the note below the table
5 No parallax, scale only Hover only grows the card (1.8%, Large 0.6%) on a spring. No lift, no photo drifting inside, no map zoom, no PDF tilt
6 Better name and size strip The name sits on the picture's lower edge, over a soft blur that fades in from nothing, so there's no hard band. Dimensions or length and the size sit on the right in small figures; GIF and HEIC are small tags
7 Copy link = Deeplink Copy as is now Markdown, Plain text, HTML. Copy link to block is the one link
8 Double-click → full resolution The viewer opens the original file (2000 px here, not the card's copy). Click to see it pixel for pixel and scroll around; click again to fit
9 Real waveform The recording really plays. Its waveform is read from the sound itself (you can see the pauses between phrases), and you tap it to jump
10 Layout changes animate Card ⇄ Large, Stack ⇄ Grid and the rest grow from the old shape on a spring, and the text below glides. From the keyboard the change is instant
11 Code: detect, plain text, colours Code blocks and code files name their language in the corner and get warm syntax colours. The language comes from the fence word or file name, otherwise from the code; "Plain text" when it can't tell. Try the rsync block (no word, finds Shell) and the wifi block (text)
12 Embedded notes Drawn by the editor's own block renderer, so tree lines, checks, numbers and spacing are identical. No side bar. Open is in the toolbar, and the note scales up out of the card instead of fading in
✦ Galleries Several images on one line are a gallery; one per line stays stacked as written. The gallery is a fanned stack of prints that bounces in when it scrolls into view (our own take on bounce-cards, no library). Pointing at a print brings it forward and nudges the others aside (only as far as the line has room). ← → do it at once, with no motion. Reduced motion: no bounce. Grid is the other layout. A quiet + beside a single picture adds one to its line. Dropping one picture on another joins them. Take out of gallery moves one to its own line below

Point 4 (body weight): the mockup and production read the same weight token (410 light, 440 dark) and load the same fonts, so the mockup has nothing to bring over. The difference you see must come from somewhere else in the real editor's text layer, like the font's size axis or the smoothing on the editor's lines. That needs a side-by-side check in the real app, so it's left for whoever owns the web editor.

Point 3: the selected-block highlight (three options, not built)

Today a selected block gets an accent rectangle. Three directions to grill:

A. Lifted paper. The selected run of blocks rises onto its own sheet: a slightly lighter paper with the same soft layered shadow as the attachment cards, rounded, one sheet around consecutive blocks. No colour at all; "selected" reads as "picked up". It pairs naturally with drag (you're already holding it), and it ties selection to the card language. The risk: it can look like a card or embed rather than text.

B. A mark in the margin. Nothing behind the text. A soft accent bar runs down the left margin beside the selected blocks, like a pencil line in a notebook margin, and their text warms slightly toward the accent. It is the calmest and keeps the text completely clean. The risk: it is quiet enough to miss on a phone, and a single short line gets only a stub of a bar.

C. Highlighter ink. A warm translucent marker stroke behind each line of text (following the words, line by line, not a box), with softly ragged ends like a real highlighter. It is playful and journal-like, and it shows exactly which words are in. The risk: it looks like the ==highlight== mark, so the two would need to be told apart (for example, selection is a lighter wash and draws in quickly).

You choose; I've built none of them.

Screenshots

1440 light: Large with its name strip, gallery stack (pointing), Weekend by the lake, recording with its real waveform, embedded note, code colours, gallery menu

1440 light: Large with its name strip, gallery stack (pointing), Weekend by the lake, recording with its real waveform, embedded note, code colours, gallery menu

1440 dark, the same

1440 dark, the same

390 light

390 light

390 dark

390 dark

320 light

320 light

320 dark

320 dark

Gallery bouncing in as it scrolls into view, 1440 light: 0, 120, 200, 280, 360 / 440, 560, 700, 900, 1300 ms

Gallery bouncing in as it scrolls into view, 1440 light: 0, 120, 200, 280, 360 / 440, 560, 700, 900, 1300 ms

The same, dark

The same, dark

The same at 390

The same at 390

Interactions: menu open keeps the toolbar (1); Card → Large mid-animation (10); full resolution and 1:1 (8); + adds a picture; the new gallery; gallery menu with Take out of gallery; one picture dropped on another

Interactions: menu open keeps the toolbar (1); Card → Large mid-animation (10); full resolution and 1:1 (8); + adds a picture; the new gallery; gallery menu with Take out of gallery; one picture dropped on another

WebKit 1440: gallery stack and the lake note, dark

WebKit 1440: gallery stack and the lake note, dark

## Round 2 is on preview **Review here:** - https://preview.calternal.cloud/#/note/autumn-trip?list=all (every kind) - https://preview.calternal.cloud/#/note/lake-weekend?list=all (one picture per line vs a gallery, + and drag to join) PR: #267 (replaces #232). Mockup only. | # | What you asked | What you'll see | |---|---|---| | 1 | Pill stays while its ⋯ menu is open | The card stays grown and its toolbar stays while the menu from ⋯ or right-click is open | | 2 | No bounce from the pill | Pressing a toolbar button no longer presses the picture; only pressing the picture itself does | | 3 | Better selection highlight | Three options below, not built, for you to pick | | 4 | Mockup body weight in production | See the note below the table | | 5 | No parallax, scale only | Hover only grows the card (1.8%, Large 0.6%) on a spring. No lift, no photo drifting inside, no map zoom, no PDF tilt | | 6 | Better name and size strip | The name sits on the picture's lower edge, over a soft blur that fades in from nothing, so there's no hard band. Dimensions or length and the size sit on the right in small figures; GIF and HEIC are small tags | | 7 | Copy link = Deeplink | Copy as is now Markdown, Plain text, HTML. Copy link to block is the one link | | 8 | Double-click → full resolution | The viewer opens the original file (2000 px here, not the card's copy). Click to see it pixel for pixel and scroll around; click again to fit | | 9 | Real waveform | The recording really plays. Its waveform is read from the sound itself (you can see the pauses between phrases), and you tap it to jump | | 10 | Layout changes animate | Card ⇄ Large, Stack ⇄ Grid and the rest grow from the old shape on a spring, and the text below glides. From the keyboard the change is instant | | 11 | Code: detect, plain text, colours | Code blocks and code files name their language in the corner and get warm syntax colours. The language comes from the fence word or file name, otherwise from the code; "Plain text" when it can't tell. Try the rsync block (no word, finds Shell) and the wifi block (`text`) | | 12 | Embedded notes | Drawn by the editor's own block renderer, so tree lines, checks, numbers and spacing are identical. No side bar. **Open** is in the toolbar, and the note scales up out of the card instead of fading in | | ✦ | Galleries | **Several images on one line** are a gallery; one per line stays stacked as written. The gallery is a fanned stack of prints that **bounces in** when it scrolls into view (our own take on bounce-cards, no library). **Pointing at a print brings it forward** and nudges the others aside (only as far as the line has room). **← →** do it at once, with no motion. Reduced motion: no bounce. Grid is the other layout. A quiet **+** beside a single picture adds one to its line. **Dropping** one picture on another joins them. **Take out of gallery** moves one to its own line below | **Point 4 (body weight):** the mockup and production read the same weight token (410 light, 440 dark) and load the same fonts, so the mockup has nothing to bring over. The difference you see must come from somewhere else in the real editor's text layer, like the font's size axis or the smoothing on the editor's lines. That needs a side-by-side check in the real app, so it's left for whoever owns the web editor. ### Point 3: the selected-block highlight (three options, not built) Today a selected block gets an accent rectangle. Three directions to grill: **A. Lifted paper.** The selected run of blocks rises onto its own sheet: a slightly lighter paper with the same soft layered shadow as the attachment cards, rounded, one sheet around consecutive blocks. No colour at all; "selected" reads as "picked up". It pairs naturally with drag (you're already holding it), and it ties selection to the card language. The risk: it can look like a card or embed rather than text. **B. A mark in the margin.** Nothing behind the text. A soft accent bar runs down the left margin beside the selected blocks, like a pencil line in a notebook margin, and their text warms slightly toward the accent. It is the calmest and keeps the text completely clean. The risk: it is quiet enough to miss on a phone, and a single short line gets only a stub of a bar. **C. Highlighter ink.** A warm translucent marker stroke behind each line of text (following the words, line by line, not a box), with softly ragged ends like a real highlighter. It is playful and journal-like, and it shows exactly which words are in. The risk: it looks like the `==highlight==` mark, so the two would need to be told apart (for example, selection is a lighter wash and draws in quickly). You choose; I've built none of them. ### Screenshots **1440 light: Large with its name strip, gallery stack (pointing), Weekend by the lake, recording with its real waveform, embedded note, code colours, gallery menu** ![1440 light: Large with its name strip, gallery stack (pointing), Weekend by the lake, recording with its real waveform, embedded note, code colours, gallery menu](https://git.kayg.org/attachments/b331347e-6d4e-43db-8229-3e3ff190051d) **1440 dark, the same** ![1440 dark, the same](https://git.kayg.org/attachments/e63eed1d-5895-4b59-8b87-7bbf1ae4ea31) **390 light** ![390 light](https://git.kayg.org/attachments/154b5aa0-5195-40de-be2b-1e1c2fc764f6) **390 dark** ![390 dark](https://git.kayg.org/attachments/f39e9554-a782-42ee-bc87-3c97376455ec) **320 light** ![320 light](https://git.kayg.org/attachments/24987ae7-1f9d-4b68-8c7d-e9e862b1aafa) **320 dark** ![320 dark](https://git.kayg.org/attachments/973e3941-4ba4-429f-9961-f6c7d049169e) **Gallery bouncing in as it scrolls into view, 1440 light: 0, 120, 200, 280, 360 / 440, 560, 700, 900, 1300 ms** ![Gallery bouncing in as it scrolls into view, 1440 light: 0, 120, 200, 280, 360 / 440, 560, 700, 900, 1300 ms](https://git.kayg.org/attachments/8501d765-4905-4bf1-88f8-1865f90f8f66) **The same, dark** ![The same, dark](https://git.kayg.org/attachments/186790cc-cda7-4a65-a0c9-ec71184dbbfa) **The same at 390** ![The same at 390](https://git.kayg.org/attachments/c60fc250-7665-4cdf-988b-630f621dc788) **Interactions: menu open keeps the toolbar (1); Card → Large mid-animation (10); full resolution and 1:1 (8); + adds a picture; the new gallery; gallery menu with Take out of gallery; one picture dropped on another** ![Interactions: menu open keeps the toolbar (1); Card → Large mid-animation (10); full resolution and 1:1 (8); + adds a picture; the new gallery; gallery menu with Take out of gallery; one picture dropped on another](https://git.kayg.org/attachments/f642ef40-6937-4d40-b3ce-5c668b4de019) **WebKit 1440: gallery stack and the lake note, dark** ![WebKit 1440: gallery stack and the lake note, dark](https://git.kayg.org/attachments/ca5db256-f450-4e5d-ae31-d2e9ca9fde9d)
Author
Owner

Decided (kayg): the card toolbar sits inside the card's top-right corner, and stays visible while its menu is open.

**Decided (kayg):** the card toolbar sits inside the card's top-right corner, and stays visible while its menu is open.
Author
Owner

kayg on round 2 (iPhone, preview):

  1. The bounce-cards entrance isn't as smooth as the reference (sveltebits bounce-cards). Do another pass that matches the original's timing, easing and stagger exactly.
  2. Remove the thick outer border on the cards in the stack.
  3. The grid layout looks out of place: tiny rounded thumbnails scattered in two columns. Fix it so it reads as a proper grid.
  4. kayg loves the mockup's glassy bar morph. Production has to match it; see the new issue.

**kayg on round 2 (iPhone, preview):** 1. The bounce-cards entrance isn't as smooth as the reference (sveltebits bounce-cards). Do another pass that matches the original's timing, easing and stagger exactly. 2. Remove the thick outer border on the cards in the stack. 3. The **grid** layout looks out of place: tiny rounded thumbnails scattered in two columns. Fix it so it reads as a proper grid. 4. kayg loves the mockup's glassy bar morph. Production has to match it; see the new issue. ![](https://git.kayg.org/attachments/d986ee7f-2866-4123-a9d3-d55ee7493fe0) ![](https://git.kayg.org/attachments/ddc8b763-6d21-48d3-b01c-7b27d419ccfc)
Author
Owner

kayg on the context menu (mockup, iPhone). kayg likes its translucent glass. Two fixes:

  1. Shortcut chips only where a keyboard is present. On desktop, and on a tablet with a hardware keyboard, show each item's shortcut right-aligned in its own small chip, the same style as the warm tooltip's shortcut pill. On phones, or any device without a keyboard, show none.
    • Detection: (hover: hover) and (pointer: fine), or any physical-keyboard keydown seen this session (iPad with a keyboard).
  2. The menu isn't animated in the mockup; it pops in and out. Production's menu (#155, merged) already grows from the pointer: scale 0.96→1 with a fade and a slight blur clearing, about 200 ms. The mockup must use that same shared menu component, with no separate copy, so they can't drift apart. kayg may send a reference component from their bookmarks; otherwise brainstorm options.
**kayg on the context menu** (mockup, iPhone). kayg likes its translucent glass. Two fixes: 1. **Shortcut chips only where a keyboard is present.** On desktop, and on a tablet with a hardware keyboard, show each item's shortcut right-aligned in its own small chip, the same style as the warm tooltip's shortcut pill. On phones, or any device without a keyboard, show none. - Detection: `(hover: hover) and (pointer: fine)`, or any physical-keyboard keydown seen this session (iPad with a keyboard). 2. **The menu isn't animated in the mockup;** it pops in and out. Production's menu (#155, merged) already grows from the pointer: scale 0.96→1 with a fade and a slight blur clearing, about 200 ms. The mockup must use that **same shared menu component**, with no separate copy, so they can't drift apart. kayg may send a reference component from their bookmarks; otherwise brainstorm options.
Author
Owner

Decided (kayg):

  • Menu animation: option (a). It grows from the pointer with a fade and a soft blur clearing, about 200 ms. No animation when opened from the keyboard.
  • Attachment caption: kayg loves the title and size sitting directly on the image over the soft blur. Keep it, and use the same treatment for every media card in production.
**Decided (kayg):** - **Menu animation:** option (a). It grows from the pointer with a fade and a soft blur clearing, about 200 ms. **No animation when opened from the keyboard.** - **Attachment caption:** kayg loves the title and size sitting directly on the image over the soft blur. Keep it, and use the same treatment for every media card in production.
Author
Owner

Decided (kayg, grill round 2026-10-14, G1–G6):

  • G1. Desktop: one click selects the block. Double-click, or Enter on a selected block, places the caret in its text.
  • G2. Typing a letter on a selected text block enters text mode and types it at the end.
  • G3. ⌘A: in text mode, the first press selects the block's text and the second selects all blocks. In block mode, it selects all blocks.
  • G4. Phone: a tap on text goes straight into typing; a swipe either way selects the block.
  • G5. Phone block toolbar: Turn into, Style, Move to…, → Make note, Copy link, Delete, and ⋯ for the rest.
  • G6. Selected block look: a lifted paper sheet behind the selected blocks, with a soft shadow, springing up when selected.
**Decided (kayg, grill round 2026-10-14, G1–G6):** - **G1. Desktop:** one click selects the block. Double-click, or Enter on a selected block, places the caret in its text. - **G2.** Typing a letter on a selected text block enters text mode and types it at the end. - **G3. ⌘A:** in text mode, the first press selects the block's text and the second selects all blocks. In block mode, it selects all blocks. - **G4. Phone:** a tap on text goes straight into typing; a swipe either way selects the block. - **G5. Phone block toolbar:** Turn into, Style, Move to…, → Make note, Copy link, Delete, and ⋯ for the rest. - **G6. Selected block look:** a lifted paper sheet behind the selected blocks, with a soft shadow, springing up when selected.
Author
Owner

Decided (kayg, G11): galleries support two layouts only:

  • Stack (bounce cards), the default;
  • Grid, one tap away.
    No carousel.
**Decided (kayg, G11):** galleries support two layouts only: - **Stack** (bounce cards), the default; - **Grid**, one tap away. No carousel.
Author
Owner

Round 2, after your iPhone review: on preview

Review:

PR: #278

  1. Bounce entrance, matched to the original:
    • Same as the original:
      • The five places, rotate(10deg) translate(-170px) … rotate(2deg) translate(170px), for 200 px cards. On narrower screens every number scales with the card.
      • Entrance: elastic.out(1, 0.8), 0.5 s per card, 0.06 s apart, after 0.5 s.
      • Hover: the pointed card straightens; the others slide 160 px along their own tilt with back.out(1.4) over 0.4 s, each 0.05 s later the further away it is. Leaving puts them back.
    • How it's done without GSAP: GSAP's curves are written as CSS easings and its transforms the way GSAP builds them (move, then turn), so it doesn't need GSAP itself.
    • Two differences from the original: the stack starts when it scrolls into view rather than on page load, and the card you point at comes to the front.
    • Proof: I rendered the original with real GSAP in a scratch page and froze both at the same moments. The positions, scales and angles of all five cards match frame for frame (the numbers are in the PR run log).
  2. Border: gone. The picture is the card, with the original's soft shadow.
  3. Grid: square pictures fill the line in even rows, with the same corners as the cards. With an odd count, the first picture spans the row. The bug: the grid cells had picked up the 40 px file-row tile style.
  4. Shared context menu:
    • #155's menu now lives in packages/ui, and the app and the mockup both use it. The mockup's own copy is deleted.
    • It grows from the pointer, from ⋯, or from the row of a submenu.
    • Shortcuts show as right-aligned chips in the warm tooltip's style, only when there's a keyboard: a pointer that can hover, or a real key pressed this session. None on phones.

Side by side, entrance: the top row is the original, the bottom row is ours, at 500, 540, 580, 620, 680, 740, 820 and 1400 ms:

side-intro.png

Side by side, hover push (pointing at the middle card): top row is the original, bottom row is ours, at 0, 80, 120, 160, 200, 260, 320 and 500 ms

side-hover.png

Shared menu opening, desktop (right-click, grows from the pointer), at 0, 20, 40, 60, 80, 100, 140 and 200 ms. The shortcut chip shows (Delete)

menu-desktop.png

Shared menu opening, phone (⋯ on the card; it grows from the ⋯), same frames. No shortcut chips

menu-phone.png

Grid, 320 and 390, light and dark

grid-sheet.png

Grid, 1440, light and dark

grid-1440.png

390 dark, the whole round with the new stack

R390dark.png

1440 light

R1440light.png

## Round 2, after your iPhone review: on preview **Review:** - https://preview.calternal.cloud/#/note/autumn-trip?list=all (the gallery under "Photos"; right-click any card for the shared menu) - https://preview.calternal.cloud/#/note/lake-weekend?list=all PR: #278 1. **Bounce entrance, matched to the original:** - **Same as the original:** - The five places, `rotate(10deg) translate(-170px)` … `rotate(2deg) translate(170px)`, for 200 px cards. On narrower screens every number scales with the card. - Entrance: `elastic.out(1, 0.8)`, 0.5 s per card, 0.06 s apart, after 0.5 s. - Hover: the pointed card straightens; the others slide 160 px along their own tilt with `back.out(1.4)` over 0.4 s, each 0.05 s later the further away it is. Leaving puts them back. - **How it's done without GSAP:** GSAP's curves are written as CSS easings and its transforms the way GSAP builds them (move, then turn), so it doesn't need GSAP itself. - **Two differences from the original:** the stack starts when it scrolls into view rather than on page load, and the card you point at comes to the front. - **Proof:** I rendered the original with real GSAP in a scratch page and froze both at the same moments. The positions, scales and angles of all five cards match frame for frame (the numbers are in the PR run log). 2. **Border:** gone. The picture is the card, with the original's soft shadow. 3. **Grid:** square pictures fill the line in even rows, with the same corners as the cards. With an odd count, the first picture spans the row. The bug: the grid cells had picked up the 40 px file-row tile style. 4. **Shared context menu:** - #155's menu now lives in `packages/ui`, and the app and the mockup both use it. The mockup's own copy is deleted. - It grows from the pointer, from ⋯, or from the row of a submenu. - Shortcuts show as right-aligned chips in the warm tooltip's style, only when there's a keyboard: a pointer that can hover, or a real key pressed this session. None on phones. **Side by side, entrance:** the top row is the original, the bottom row is ours, at 500, 540, 580, 620, 680, 740, 820 and 1400 ms: ![side-intro.png](https://git.kayg.org/attachments/005fa194-5eb3-4526-ac52-04db8280c9b5) **Side by side, hover push** (pointing at the middle card): top row is the original, bottom row is ours, at 0, 80, 120, 160, 200, 260, 320 and 500 ms ![side-hover.png](https://git.kayg.org/attachments/8a2fbf88-feef-45e6-a8f2-1f1df9d7c424) **Shared menu opening, desktop** (right-click, grows from the pointer), at 0, 20, 40, 60, 80, 100, 140 and 200 ms. The shortcut chip shows (Delete) ![menu-desktop.png](https://git.kayg.org/attachments/240defb3-749b-46f8-91a7-de78759698fe) **Shared menu opening, phone** (⋯ on the card; it grows from the ⋯), same frames. No shortcut chips ![menu-phone.png](https://git.kayg.org/attachments/4337c1b6-60b8-411b-b074-eca8bcb00f65) **Grid**, 320 and 390, light and dark ![grid-sheet.png](https://git.kayg.org/attachments/48d01ba1-41a0-41e9-8e0e-2c4d7b6a8612) **Grid**, 1440, light and dark ![grid-1440.png](https://git.kayg.org/attachments/782bd51b-c7d0-4a41-9674-9ece3633b399) 390 dark, the whole round with the new stack ![R390dark.png](https://git.kayg.org/attachments/d269d3ea-6f09-4104-85bd-aa1240b74aff) 1440 light ![R1440light.png](https://git.kayg.org/attachments/af644eb9-348b-4ae0-85c3-1d2093e23108)
Author
Owner

Round 4 on preview: the picked card comes forward, and ⋯ toggles

Review: https://preview.calternal.cloud/#/note/autumn-trip?list=all (the gallery under "Photos", and ⋯ on any card). PR #292.

  1. The picked card comes to the front:
    • A tap (or a click, or ← →) brings the card to the front, straight, with a springy lift and a deeper shadow.
    • It stays there after your finger or the pointer leaves.
    • Round 3's motion is unchanged: the bounce-in, and the mouse hover push.
    • A tap doesn't push the neighbours aside, so nothing slides off the phone's line.
  2. ⋯ toggles its menu:
    • One tap opens, the next tap closes; it no longer replays the opening.
    • The fix is in the shared menu, so the app gets it too.
    • It has a browser test (Chromium and WebKit) that fails without the fix.

Tap → front (390, dark; frames 0, 60, 120, 180, 240, 320, 420, 600 ms after the tap): the card straightens and lifts over its neighbours.

r4-front.png

Tapping ⋯ four times: open, closed, open, closed. Phone 390 (left four), desktop 1440 (right four)

r4-dots.png

320, light and dark: card 2 tapped, in front

r4-320.png

390, light and dark

r4-390.png

1440, light and dark (clicked, then the pointer moved away: it stays in front)

r4-1440.png

## Round 4 on preview: the picked card comes forward, and ⋯ toggles **Review:** https://preview.calternal.cloud/#/note/autumn-trip?list=all (the gallery under "Photos", and ⋯ on any card). PR #292. 1. **The picked card comes to the front:** - A tap (or a click, or ← →) brings the card to the front, straight, with a springy lift and a deeper shadow. - It stays there after your finger or the pointer leaves. - Round 3's motion is unchanged: the bounce-in, and the mouse hover push. - A tap doesn't push the neighbours aside, so nothing slides off the phone's line. 2. **⋯ toggles its menu:** - One tap opens, the next tap closes; it no longer replays the opening. - The fix is in the shared menu, so the app gets it too. - It has a browser test (Chromium and WebKit) that fails without the fix. **Tap → front** (390, dark; frames 0, 60, 120, 180, 240, 320, 420, 600 ms after the tap): the card straightens and lifts over its neighbours. ![r4-front.png](https://git.kayg.org/attachments/c919487b-c5bc-49cd-b232-e68aaac156cc) **Tapping ⋯ four times:** open, closed, open, closed. Phone 390 (left four), desktop 1440 (right four) ![r4-dots.png](https://git.kayg.org/attachments/c169186c-761b-4dbe-905b-1bd3cc771ab3) **320**, light and dark: card 2 tapped, in front ![r4-320.png](https://git.kayg.org/attachments/86194be5-6b5a-40b7-ae12-4ef552ec09e0) **390**, light and dark ![r4-390.png](https://git.kayg.org/attachments/ab50fa77-b694-448c-a8b8-57d4ca6a5030) **1440**, light and dark (clicked, then the pointer moved away: it stays in front) ![r4-1440.png](https://git.kayg.org/attachments/0b5c196f-2a47-4b35-aaa1-a4d9a7d8781f)
Author
Owner

Round 5: caption and toolbar, menu glass, the strip under the bar. On preview

Review: https://preview.calternal.cloud/#/note/autumn-trip?list=all. PR #311 (stacked on #292).

  1. The caption no longer runs under the toolbar. The toolbar has its own slot at the end of the caption row. The caption truncates before it, and "2 of 5" sits beside the caption.
    • Measured before: at 320, 72 px of overlap and the count 115 px under the toolbar; at 390, 37 px and 80 px.
    • Measured after: clear at 320, 390 and 1440, light and dark.
  2. The menu is frosted paper now: nearly opaque (97% light, 96% dark), with a soft sheen and the glass edge. Photos and words underneath don't show through the items any more. This is the shared menu, so the app has it too.
  3. The dark strip under the bar was the list screen's lower rows. The phone stack could be scrolled by focus or a tap, even though it hides its overflow, so it slid up 48 px and showed the list behind the note. It now clips instead (in the app too), and nothing can scroll it.

Each image below has before on the left and after on the right.

Caption and toolbar, 320 light

r5-caption-320.png

Caption and toolbar, 390 dark

r5-caption-390.png

Menu over photos. Top row: 390 light (before, after), then 390 dark (before, after). Bottom row: the same at 1440

r5-menu-v2.png

Under the bottom bar, 390 light, after a forced 60 px scroll of the stack (what focus does)

r5-bottom-390.png

Under the bottom bar, 320 dark

r5-bottom-320.png

## Round 5: caption and toolbar, menu glass, the strip under the bar. On preview **Review:** https://preview.calternal.cloud/#/note/autumn-trip?list=all. PR #311 (stacked on #292). 1. **The caption no longer runs under the toolbar.** The toolbar has its own slot at the end of the caption row. The caption truncates before it, and "2 of 5" sits beside the caption. - Measured before: at 320, 72 px of overlap and the count 115 px under the toolbar; at 390, 37 px and 80 px. - Measured after: clear at 320, 390 and 1440, light and dark. 2. **The menu is frosted paper now:** nearly opaque (97% light, 96% dark), with a soft sheen and the glass edge. Photos and words underneath don't show through the items any more. This is the shared menu, so the app has it too. 3. **The dark strip under the bar was the list screen's lower rows.** The phone stack could be scrolled by focus or a tap, even though it hides its overflow, so it slid up 48 px and showed the list behind the note. It now clips instead (in the app too), and nothing can scroll it. Each image below has before on the left and after on the right. **Caption and toolbar, 320 light** ![r5-caption-320.png](https://git.kayg.org/attachments/6edfd2cc-e6d2-4df6-8199-e2eb4b0902f2) **Caption and toolbar, 390 dark** ![r5-caption-390.png](https://git.kayg.org/attachments/98c6ec96-3a33-4e01-ba52-7000f320097a) **Menu over photos.** Top row: 390 light (before, after), then 390 dark (before, after). Bottom row: the same at 1440 ![r5-menu-v2.png](https://git.kayg.org/attachments/4839d0de-581a-4aa7-838a-876fa05863ee) **Under the bottom bar, 390 light**, after a forced 60 px scroll of the stack (what focus does) ![r5-bottom-390.png](https://git.kayg.org/attachments/e3c004b3-ff5b-46a3-bb9b-ed87095607c5) **Under the bottom bar, 320 dark** ![r5-bottom-320.png](https://git.kayg.org/attachments/06ee875b-3314-4361-b84e-b2fac255a2fb)
Author
Owner

Menus are glass again, the same material as the bar

Review: https://preview.calternal.cloud/#/note/autumn-trip?list=all (right-click, or tap ⋯ on any card). PR #317, stacked on #311. This corrects round 5's point 2: the opaque, unblurred menu was wrong.

  • The glass: the menu now uses the bar's glass: the same blur, saturation, hairline edge and shadow. It has a denser tint than the bar (76% light, 78% dark), because a menu is lines of words: they stay readable through the blur and the tint, with the photo still showing through, softened. With reduced transparency it goes nearly solid, like the rest of the glass. The bar itself is unchanged.
  • Backdrop root: I checked every element above the menu in Chromium and WebKit, at 1440 and 390. None has a filter, transform, opacity below 1, will-change, mask, clip-path or blend mode, so its blur samples the page behind it.
  • Why WebKit showed the photo sharp: the headless WebKit we test with here doesn't draw backdrop blur at all, on any page; there's a two-box test below. Its screenshots can't show blur (the bar's included). Chromium's show the menu blurred, and real Safari draws it.

Menu over a busy photo at 390: light (WebKit, then Chromium), then dark (WebKit, then Chromium)

glass-390.png

The same at 1440: light (WebKit, Chromium), dark (WebKit, Chromium)

glass-1440.png

Headless check: the same backdrop-blur box over sharp stripes, Chromium (left) and this headless WebKit (right): WebKit draws no blur at all

bd.png

## Menus are glass again, the same material as the bar **Review:** https://preview.calternal.cloud/#/note/autumn-trip?list=all (right-click, or tap ⋯ on any card). PR #317, stacked on #311. This corrects round 5's point 2: the opaque, unblurred menu was wrong. - **The glass:** the menu now uses the bar's glass: the same blur, saturation, hairline edge and shadow. It has a denser tint than the bar (76% light, 78% dark), because a menu is lines of words: they stay readable through the blur and the tint, with the photo still showing through, softened. With reduced transparency it goes nearly solid, like the rest of the glass. The bar itself is unchanged. - **Backdrop root:** I checked every element above the menu in Chromium and WebKit, at 1440 and 390. None has a filter, transform, opacity below 1, will-change, mask, clip-path or blend mode, so its blur samples the page behind it. - **Why WebKit showed the photo sharp:** the headless WebKit we test with here doesn't draw backdrop blur at all, on any page; there's a two-box test below. Its screenshots can't show blur (the bar's included). Chromium's show the menu blurred, and real Safari draws it. **Menu over a busy photo at 390:** light (WebKit, then Chromium), then dark (WebKit, then Chromium) ![glass-390.png](https://git.kayg.org/attachments/77b38198-dfe5-44f4-9baf-6171b8774f8c) **The same at 1440:** light (WebKit, Chromium), dark (WebKit, Chromium) ![glass-1440.png](https://git.kayg.org/attachments/dda3d6d2-4687-47d6-9945-cac578031624) **Headless check:** the same backdrop-blur box over sharp stripes, Chromium (left) and this headless WebKit (right): WebKit draws no blur at all ![bd.png](https://git.kayg.org/attachments/277ecf42-ab20-45c8-bf16-28e6c55f0b22)
Author
Owner

kayg, 2026-10-14 (night), round 6:

  1. Square corners on rounded media: the caption's blur band (and the image under it) has square corners inside a rounded card. Visible on "The balloon, lifting off" and on "Raspberries from the market". Every layer inside a card (image, video poster, caption blur, play button backdrop) must clip to the card's radius. Use overflow: clip plus a matching border-radius on the blur layer, and check WebKit, where backdrop-filter ignores the parent's rounding unless the blurred element is rounded itself.
  2. The PDF card can be narrower: "Train tickets": the page preview plus a wide empty area. Make it hug its content (page preview, plus title and meta), with a sensible max width, and no big empty space.
  3. A better selected state than an accent border: already decided as G6: the selected block shows as a lifted paper sheet (a raised, slightly scaled surface with a soft deeper shadow, the accent only as a subtle hint). Apply it to selected cards, galleries and the PDF card, in the mockup now and in the app with #322.
  4. Hunt for more UI/UX issues of the same kind across the mockup.
**kayg, 2026-10-14 (night), round 6:** 1. **Square corners on rounded media:** the caption's blur band (and the image under it) has square corners inside a rounded card. Visible on "The balloon, lifting off" and on "Raspberries from the market". Every layer inside a card (image, video poster, caption blur, play button backdrop) must clip to the card's radius. Use `overflow: clip` plus a matching `border-radius` on the blur layer, and check WebKit, where `backdrop-filter` ignores the parent's rounding unless the blurred element is rounded itself. 2. **The PDF card can be narrower:** "Train tickets": the page preview plus a wide empty area. Make it hug its content (page preview, plus title and meta), with a sensible max width, and no big empty space. 3. **A better selected state than an accent border:** already decided as **G6: the selected block shows as a lifted paper sheet** (a raised, slightly scaled surface with a soft deeper shadow, the accent only as a subtle hint). Apply it to selected cards, galleries and the PDF card, in the mockup now and in the app with #322. 4. **Hunt for more UI/UX issues** of the same kind across the mockup.
Author
Owner

Round 6 is on preview, for the morning

Review: https://preview.calternal.cloud/#/note/autumn-trip?list=all and https://preview.calternal.cloud/#/note/lake-weekend?list=all. PR #337.

  1. Square corners: every layer inside a card now has the card's corners itself: the caption's blur band, photos, video posters, gallery prints and grid cells. WebKit can draw a blurred band or a moving photo square even inside a rounded card, so each layer is rounded on its own. (The headless WebKit here draws no blur at all, so a real iPhone is the place to see this one.)
  2. PDF card: it hugs the page preview plus title and meta, with no empty slab (440 → 303 px wide at 1440, 366 → 285 px at 390).
  3. Selected, as G6 decided, is a lifted paper sheet instead of an accent border. The card rises 2 px, grows to 1.012 and casts a deeper, softer shadow; the accent is only a faint edge. It applies to cards, galleries (the print in front, or the grid cell) and the PDF card. It lives in the shared package, ready for the app's blocks (#322). Keyboard focus keeps its ring.
  4. Hunt (sweep at 320, 390, 900 and 1440, light and dark), fixed:
    • Captions, code headers and note titles kept room for the toolbar even when it was hidden, so in narrow columns they were cut to a few letters ("Alo… 1 of 5"). They take the room only while the toolbar shows now.
    • On a phone, the invisible + caught taps meant for the photo. Hidden now also means it can't be tapped.
    • A gallery with three prints looked lopsided (one far left, two bunched right). Fewer than five prints now use the original's middle places, centred.
    • Nothing sticks out of the page at any size.

Selected, at rest (left) and selected (right): photo, GIF, PDF and gallery, at 390 light

r6-390-light.png

390 dark

r6-390-dark.png

320 light

r6-320-light.png

320 dark

r6-320-dark.png

900 light

r6-900-light.png

900 dark

r6-900-dark.png

1440 light

r6-1440-light.png

1440 dark

r6-1440-dark.png

Before, for comparison (preview before this round, 390 light): the accent border, and the wider PDF card

r6b-390-light.png

WebKit 390: before (left) and after (right); the selected photo is now a lifted sheet

wk-corners.png

Three-print gallery and PDF card: before (left), after (right)

r6-fan-pdf.png

## Round 6 is on preview, for the morning **Review:** https://preview.calternal.cloud/#/note/autumn-trip?list=all and https://preview.calternal.cloud/#/note/lake-weekend?list=all. PR #337. 1. **Square corners:** every layer inside a card now has the card's corners itself: the caption's blur band, photos, video posters, gallery prints and grid cells. WebKit can draw a blurred band or a moving photo square even inside a rounded card, so each layer is rounded on its own. (The headless WebKit here draws no blur at all, so a real iPhone is the place to see this one.) 2. **PDF card:** it hugs the page preview plus title and meta, with no empty slab (440 → 303 px wide at 1440, 366 → 285 px at 390). 3. **Selected, as G6 decided, is a lifted paper sheet instead of an accent border.** The card rises 2 px, grows to 1.012 and casts a deeper, softer shadow; the accent is only a faint edge. It applies to cards, galleries (the print in front, or the grid cell) and the PDF card. It lives in the shared package, ready for the app's blocks (#322). Keyboard focus keeps its ring. 4. **Hunt** (sweep at 320, 390, 900 and 1440, light and dark), fixed: - Captions, code headers and note titles kept room for the toolbar even when it was hidden, so in narrow columns they were cut to a few letters ("Alo… 1 of 5"). They take the room only while the toolbar shows now. - On a phone, the invisible + caught taps meant for the photo. Hidden now also means it can't be tapped. - A gallery with three prints looked lopsided (one far left, two bunched right). Fewer than five prints now use the original's middle places, centred. - Nothing sticks out of the page at any size. **Selected, at rest (left) and selected (right):** photo, GIF, PDF and gallery, at 390 light ![r6-390-light.png](https://git.kayg.org/attachments/cfc245b3-980e-49f9-8a2e-6cd7971d7104) **390 dark** ![r6-390-dark.png](https://git.kayg.org/attachments/f6414a9a-66a6-49b7-b09e-22a9e60b9e35) **320 light** ![r6-320-light.png](https://git.kayg.org/attachments/a1916d40-2f0b-445a-9512-d9c5e2e0c398) **320 dark** ![r6-320-dark.png](https://git.kayg.org/attachments/68ab7f5f-c4b9-42b4-bb19-5259e0fbe8cd) **900 light** ![r6-900-light.png](https://git.kayg.org/attachments/1011b5fd-0054-4e2a-8628-a2286c27d4c5) **900 dark** ![r6-900-dark.png](https://git.kayg.org/attachments/f165087b-c380-4a29-ba2c-3ad6ebdfab8a) **1440 light** ![r6-1440-light.png](https://git.kayg.org/attachments/8f5489b2-ea00-4600-8e8d-5430cafb7094) **1440 dark** ![r6-1440-dark.png](https://git.kayg.org/attachments/2e34f412-f676-4fcd-9e63-1311af1f577b) **Before, for comparison** (preview before this round, 390 light): the accent border, and the wider PDF card ![r6b-390-light.png](https://git.kayg.org/attachments/c5a8c087-4928-46f9-926c-7ce79f3081ec) **WebKit 390:** before (left) and after (right); the selected photo is now a lifted sheet ![wk-corners.png](https://git.kayg.org/attachments/95d5fbf6-9998-4545-ab0b-3ceed9bfbf88) **Three-print gallery and PDF card:** before (left), after (right) ![r6-fan-pdf.png](https://git.kayg.org/attachments/4f765b9e-8280-4b6d-8e34-c8793533ecb6)
Author
Owner

Closing during the 26 Oct handover cleanup: The attachment mockup rounds are merged into dev (PRs #337, #342).

Closing during the 26 Oct handover cleanup: The attachment mockup rounds are merged into dev (PRs #337, #342).
kayg closed this issue 2026-10-26 08:46:01 +00:00
Sign in to join this conversation.
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#245
No description provided.