Skip to content

Let the gallery fill itself while people are looking at it - #12

Merged
DomDom3333 merged 1 commit into
mainfrom
claude/live-image-refresh-upload-ahuc3w
Aug 19, 2026
Merged

DomDom3333 merged 1 commit into
mainfrom
claude/live-image-refresh-upload-ahuc3w

Conversation

@DomDom3333

Copy link
Copy Markdown
Owner

Uploading reloaded the whole page, and other visitors only ever saw what
was in the box when they opened it. The gallery now asks every ten seconds
for the prints that landed since the ones it drew and slots them into
place, keeping the visitor's spot in the grid. Polling rather than a
socket per viewer: a box is a handful of people for an afternoon, and a
backgrounded tab asks for nothing at all.

The tile markup moved into a partial so the live feed and the first render
draw a print the same way. The upload stamp moved to the moment the file
lands, so a slow render can't leave a photo behind the cursor.

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

Uploading reloaded the whole page, and other visitors only ever saw what
was in the box when they opened it. The gallery now asks every ten seconds
for the prints that landed since the ones it drew and slots them into
place, keeping the visitor's spot in the grid. Polling rather than a
socket per viewer: a box is a handful of people for an afternoon, and a
backgrounded tab asks for nothing at all.

The tile markup moved into a partial so the live feed and the first render
draw a print the same way. The upload stamp moved to the moment the file
lands, so a slow render can't leave a photo behind the cursor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V8LQ8sgeibd9RjKZoxQ3jo
@DomDom3333
DomDom3333 merged commit 62971c4 into main Aug 19, 2026
1 check passed
@DomDom3333
DomDom3333 deleted the claude/live-image-refresh-upload-ahuc3w branch August 19, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants