Repository navigation
feat(promo): add the promo film project and a test clock for UI recordings - #569
Merged
Merged
Conversation
…dings The Remotion project in art/promo renders the promo film in English and Simplified Chinese, dark and light, at 1080p30 or 4K60, from real app UI recorded by the snapshot harness (PromoSnapshots) on virtual time.
# Conflicts: # AGENTS.md # app/shared/src/commonMain/kotlin/com/linroid/ketch/app/ui/settings/AiDiscoverySettings.kt # docs/development/testing.md
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
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.
Adds
art/promo, the project that renders Ketch's promo film, and a small test clock in the app so the film can record the real UI deterministically.The film
PromoSnapshots), not a mock-up.src/facts.json, refreshed from the GitHub release bynpm run facts.art/promo/README.mdis the maintainer's guide: changing copy, updating numbers after a release, re-recording after UI changes, retiming a scene, adding a language or theme, and rendering.Only sources are committed (about 1.9 MB). Recorded clips, stills, music and rendered films are generated and gitignored;
npm run assets,npm run musicandnpm run filmrebuild them.App change: an injectable time source for composables
LocalTimeSource(next toLocalClock) gives composables the controller'sTimeSource, andAppControllernow buildsMessageCenterwith its clock. The toast countdown, focus visibility and the AI connection test read it instead ofTimeSource.Monotonic. Production behaviour is unchanged (every default is the wall clock); snapshot tests and the promo recorder can now run the whole UI on virtual time.AppControllerTestdrives the controller in 1/60 s frames to cover the wiring.Testing
./gradlew :app:shared:jvmTest: 2,392 tests, 0 failures (snapshot scenarios skipped without-Psnapshots)../gradlew :app:desktop:compileKotlinand:app:shared:compileTestKotlinJvm.npm run checkinart/promo: types, formatting, music ties and film scans pass.factsreports thatmainhas moved past the numbers the current recordings show (14 MCP tools, 6,000+ tests, release v0.9.1), and the accent beat still shows the four accents of v0.2.1; bringing the film up to the current app is a re-record, left for a follow-up.