Skip to content

Ezhuthachan: frame deck videos on the slide's grey, and cut loading skeletons - #110

Closed
billjohnc wants to merge 3 commits into
mainfrom
claude/deck-video-borders-cf096a
Closed

billjohnc wants to merge 3 commits into
mainfrom
claude/deck-video-borders-cf096a

Conversation

@billjohnc

Copy link
Copy Markdown
Contributor

The deck videos were remade on 27 November after the product team reviewed them in the Canva deck. This teaches the skill the new look and one finishing step, so the next deck session makes them this way from the start.

The new look for deck videos

The 25 November videos sat on a bright blue-to-mint wallpaper with a wide border. The team asked for something subtler. They compared a muted blue and three Care UI emerald versions in slide mock-ups and chose none of them: the video now sits on the slide's own grey (#f2f2f2). On the slide you see only the app window and a light shadow, as if the window were placed on the slide.

assets/finishing/zoom.py:

  • The background is the slide grey by default. --theme white is for a white slide. The tried wallpapers stay available as care (emerald) and blue.
  • The window is scaled up to leave 48 px of background around it: a 1600 by 1000 recording shows at 1822 by 1140 in the 1920 by 1304 frame, up from 1600 by 1000. The corners are 28 px (the team's choice after comparing 16 to 28 px).
  • The shadow is lighter and tighter, and fades out well inside the frame. On a flat background a shadow cut off at the edge would show the video's rectangle on the slide.
  • The output is converted and tagged as BT.709, so the background plays back as exactly #f2f2f2. This was checked by pixel on all 22 videos.

assets/finishing/frame.py, for 1x recordings, takes the same look from zoom.py instead of keeping its own copy.

Cutting loading skeletons

Encounter and Clinical History tabs show a skeleton for a fraction of a second as they open, even after every screen was visited off camera, because the app refetches its data. assets/finishing/cut_blank.sh finds the frames whose content area has almost no detail and cuts them from the finished plain video. It keeps the uncut file and prints the frames it cut. Run on the two new Clinical History videos, it cut exactly the frames that had been found and removed by hand (27 and 47), with the same frame counts.

The deck rules, as set on 27 November

references/media.md, "Videos for the deck":

  • On the slide's grey: no coloured border or wallpaper. Check the slide's colour in Canva before rendering.
  • Plain only: no zoom version unless asked again. Render with MODE=plain.
  • Show one first: when the look changes, render one video and show it in a mock-up of its slide before rendering the rest. A re-render reuses the approved timing (RETIME=0), and the previous files are kept in a dated folder.
  • Clean frames: run cut_blank.sh after the plain render. A file preview's loading spinner isn't caught by it and has to be cut by frame number.

For the reviewer

  • Only skill files change: no docs pages.
  • The videos themselves are delivered from the session folder, not committed.

🤖 Generated with Claude Code

billjohnc and others added 2 commits November 27, 2026 16:46
Deck videos now sit in the slide instead of on a coloured wallpaper:
zoom.py puts the app over the slide's grey (#f2f2f2) by default, scaled
to leave 48 px around it, with 28 px corners and a lighter shadow that
fades out inside the frame, so the video's edge never shows on the
slide. Output is tagged BT.709 so the grey plays back exactly. --theme
picks white for a white slide, or the emerald and blue wallpapers that
were tried. frame.py takes the same look from zoom.py.

media.md records the deck rules the user set on 27 November: slide grey,
plain versions only, and one video shown in a slide mock-up before the
rest are rendered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Encounter and history tabs show a skeleton for a fraction of a second as
they open, even after every screen was visited off camera, because the
app refetches. cut_blank.sh finds the frames whose content area has
almost no detail and cuts them from the plain video, keeping the uncut
file in out/fast/. media.md lists it with the finishing scripts and adds
it to the clean-frames rule, with the file-preview spinner it does not
catch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Deploying coredocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1ced82a
Status: ✅  Deploy successful!
Preview URL: https://e7ffcea9.coredocs.pages.dev
Branch Preview URL: https://claude-deck-video-borders-cf.coredocs.pages.dev

View logs

main's skill update already carries this branch's changes (slide-grey framing, 28 px corners,
cut_blank.sh, deck rules); the one conflict in references/media.md resolves to main's text, which
is this branch's text plus a line about withlock.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@billjohnc

Copy link
Copy Markdown
Contributor Author

The deck video look from this PR is now in the consolidated Ezhuthachan skill update, #141, which is merged: framing on the slide's own grey, plain videos only, cutting loading skeletons with cut_blank.sh, BT.709 tags, and showing one video in its slide before rendering the rest. Closing this one in favour of #141.

@billjohnc billjohnc closed this Nov 30, 2026
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.

1 participant