Repository navigation
feat(content): a short video with its words on screen, and fixes from review - #666
Merged
Merged
Conversation
… review
The captioned-short template draws a video's words over its clip: the hook
at the top for its first seconds, then each caption low in the frame, all
inside the margins TikTok, Reels and Shorts draw over. Its stage runs along
time: the host plays the clip under the template's clear page and sends it
each moment (TimeStage). "Save with the words on it" records the clip and
the words together in the browser, as an MP4 of the clip's length, and
keeps it as a new take that becomes the post's cut.
Fixes from the review of this stack:
- A still holding a shadow root is refused before it is parsed: a walk of
the document never enters one, so what it named loaded unchecked in the
app's own document. The browser still check now tries three such stills.
- The agent's draft names its template, so its preview is the template's.
- A slide render against a backend older than templates falls back to the
old engine, and sends other frames only when there are some.
- A slide's 4:5 render goes to Instagram only from the same drawing as its
9:16 one; a slide redrawn at 9:16 alone sends the 9:16 set.
- The preview asks for pictures a slide's worth at a time, the route's cap,
and asks again for any that did not come back.
- A render with a picture the server could not read fails, rather than
saving and publishing the placeholder.
- A post keeps the brand look of the day it was made (carousel_look, new
column), so "posts already made keep their look" is true.
- Collage labels stay white on their dark strip whatever the brand's ink.
- A failed video save closes its audio graph and raises one error, not two.
- "Recording… {percent}%" names its value for translators.
Refs #657
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The catalogues hold both new strings, the video player's "Position in the video" and the search report's "Position", in the order extract writes them. The backend's artifact bundle is rebuilt with the captioned short. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Phase 3 of #657: a short video with its words on screen, saved as a new take.
Fixes from review of the stack
<template shadowrootmode>passed the still rules and loaded outside URLs in the app's documentsizessent only when presentrender_id; only matching sets gocarousel_look, new column + migration){0}{percent}Refs #657
Area
backend/— FastAPI / Pythonapp/— Next.jsdesktop/— Tauri shell / sidecarsite/— static marketing siteLaunch: changelog entry. Migration
7c41e2b9a5d3adds a nullable JSON column; existing posts read NULL (the template's own look).Verification
Exports in WebKit and Chrome produced 1080×1920 H.264 + AAC MP4s with the words baked in. Not yet checked: fixes 5 and 8 in a rendered preview, and a real post on a phone.
AGENTS.mdfor each directory I editedagainst the code around it (STYLE.md)
on the whole screen (not just the part I touched), and attached
before and after shots at 390, 1100 and 1440
🤖 Generated with Claude Code