chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.0 Latest 5 packages
A Covers' bar shows while picking in Panes
MergedThis pull makes the Covers' pick bar stay on screen in a Panes. While a pane is picking, the strip stops being a scroller (overflow: visible) and hides the inert panes. The sticky bar then sticks to the shell's .level instead of the strip's own bottom. When picking ends, an effect scrolls the strip back to the shown pane.
I read the diff and the full Panes.svelte, and found nothing that must change. The held guards in onscroll and measure keep a scroll reset to 0 from moving progress or chosen. The restore effect uses untrack for at, so it only runs when picking stops. The change file, the comment in Stack.svelte, and the new SSR check with its failure case all match what the repo asks for.
One thing to look at by hand. While held, the hidden panes are display: none, so any ResizeObserver-driven heights entries for them may drop to 0 until they come back. The pane shown is unaffected. If the ResizeObserver doesn't remeasure promptly on release, the strip's tall height could be stale for a frame after Cancel. Your hand check of swiping to Favorites and back suggests it is fine.
On the heights note: when picking ends, progress is still the pane shown (the held guards kept it), so between.f is 0 and tall is heights[at] alone. The hidden panes' zeros are weighted out until they're measured again. The ResizeObserver watches every box, so each one that comes back from display: none is measured again as soon as it shows. Leaving it as is.
9 passed
On a phone-sized web profile, tapping Select showed the pick circles, but no Cancel, "N selected" or Delete bar on screen. The bar now stays at the bottom of the screen, above the tabs, at every width. Grain gets it through a HUD release and
just hud-version.Claude Opus 5.5 · high
What changes
Covers in Panes. While you pick covers in a
Panes(Select in its row, as on Grain's profile), the bar with Cancel, how many are selected and the action stays at the bottom of the screen as it scrolls. On a phone it sits above the shell's floating tabs; at 1440 it sits at the bottom of the column. While picking, the strip of panes shows only the pane in use and doesn't scroll. When picking ends, the strip scrolls back to that pane.Why
The bar is
position: sticky; bottom, so it sticks within its nearest scroll container. Inside aPanes, that container was the strip of panes (overflow-x: auto, which makesoverflow-yhidden), not the screen. The strip doesn't scroll vertically, so the bar never stuck. It sat at its natural place after the last cover in the strip, often off screen: y=1436 in an 844-tall window at 390, and y=2579 in a 900-tall window at 1440. Nothing covered it.While picking, the strip can't change panes anyway (it holds still for that already), so it stops being a scroller and drops the other panes. The bar then sticks to the shell's screen (
.level). Sticky stays inside the scroller's padding, and.level's bottom padding is already the room the floating tabs take. So the bar sits above the tabs without a new inset variable. I tried adding one,--hud-inset-bottomon.levelfor the bar'sbottom, but it lifted the bar a second tab-bar's height, because sticky already stays clear of that padding. Stack.svelte now has a comment saying its padding is what keeps sticky content clear of the tabs.HUDKit and hudkit (Android) draw Cancel, the count and the action as a line over the grid (
ResolvedMedia.swifthead,Media.ktCoversHead). It takes the place of the row's Select, so it's on screen when it appears and isn't sticky. This pull doesn't touch them.How it was checked
npm run check: 0 errors, 0 warnings.npm run ssr: passes, including server-drawn equals hydrated.npm run unit: 45 passed.node harness/layers.mjsandnode harness/docs.mjs: pass.Panesat 390 with the build's stylesheet. It taps Select, picks two covers and checks:Panes.sveltereverted, the check fails with "the bar is in a box that scrolls or hides it (strip …: overflow hidden hidden …)".next/(feature/hud) was built with this branch's packages, on a release HUD withHUD_WORKSPACE=off, grain-serve and grain's harness PDS, as alice.test with 33 galleries.Before (390, two picked, no bar) and after (390 and 1440) are attached.