docs(examples): add the Effect product video, and untrack what was committed by accident - #139
Open
LeadcodeDev wants to merge 2 commits into
Open
docs(examples): add the Effect product video, and untrack what was committed by accident#139LeadcodeDev wants to merge 2 commits into
LeadcodeDev wants to merge 2 commits into
Conversation
…verflowed
Adds examples/effect-ts.json — a 13-beat, 18s product video for Effect
(effect.website) in the dark-premium register. Copy is verbatim from the site:
the tagline, the six pillar names, the production references, the 4.0 beta and
the install command. Nothing about the product is invented; the "six concerns"
comparison counts the pillars the site itself lists as built in.
It exercises what the chantier landed. Every graphic sits on a card, which was
impossible before the 23 unsized components got a size source. Three beats show
code on three distinct pillars, and a fourth puts native TypeScript beside
Effect on the same job. Backgrounds travel with their scene and dissolve into
each other. Measured against the reference film it now sits above rather than
below: median frame-to-frame change 1.64 against Machina's 1.34, peak 42.5
against 23.1 — the previous template measured 0.84 and 15.0.
Two things this surfaced, both worth knowing.
Codeblocks declare `language: "javascript"`, not `"typescript"`. syntect ships
no TypeScript syntax, so `find_syntax_by_token("typescript")` misses and falls
back to plain text — the block renders with no highlighting at all and nothing
warns. JavaScript covers the superset apart from type annotations.
`examples/ferriskey-presentation.json` also gains 30px on three gradient_text
boxes. Their "~10MB" content measures 404px natural inside a 400px box, which
the card-relative check added in #128 now reports. Running --fix strips the
nowrap and the content still does not fit, since the token has no break point —
so the box was genuinely 4px short, invisible until that check existed.
That file was committed to main by accident during this chantier: the
branch-splitting script used `git add -A`, which swept up an untracked file
that was work in progress rather than a repo example. It is fixed here rather
than left failing; say the word and it can be removed from tracking instead.
…mmitted by accident
Adds examples/effect-ts.json — a 13-beat, 18s product video for Effect
(effect.website) in the dark-premium register. Copy is verbatim from the site:
the tagline, the six pillar names, the production references, the 4.0 beta and
the install command. Nothing about the product is invented; the "six concerns"
comparison counts the pillars the site itself lists as built in.
It exercises what the chantier landed. Every graphic sits on a card, which was
impossible before the 23 unsized components got a size source. Three beats show
code on three distinct pillars, and a fourth puts native TypeScript beside
Effect on the same job. Backgrounds travel with their scene and dissolve into
each other. Measured against the reference film it now sits above rather than
below: median frame-to-frame change 1.64 against Machina's 1.34, peak 42.5
against 23.1 — the previous template measured 0.84 and 15.0.
Codeblocks declare `language: "javascript"`, not `"typescript"`. syntect ships
no TypeScript syntax, so `find_syntax_by_token("typescript")` misses and falls
back to plain text: the block renders with no highlighting at all and nothing
warns. JavaScript covers the superset apart from type annotations.
Also removes four files from the repo that were never meant to be in it:
ferriskey-presentation.json, a work-in-progress scenario, and three rendered
.mp4 files totalling 7.1MB. All four were swept in during the chantier by a
branch-splitting script that used `git add -A` on a tree holding untracked
work. They are untracked here, not deleted — the files stay on disk — and
.gitignore now covers rendered output and that scenario so it cannot recur.
This also removes the only example failing validation on main: the scenario's
"~10MB" gradient_text measures 404px inside a 400px box, which the card-relative
check added in #128 correctly reports.
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
examples/effect-ts.json(13 beats, 18s) and cleans up four files that were committed tomainby mistake.The cleanup is my error to undo. The branch-splitting script for chantier #123 used
git add -Aon a working tree that held untracked work, sweeping inferriskey-presentation.json— a work-in-progress scenario, not a repo example — along with three rendered.mp4files totalling 7.1MB. All four are untracked here, not deleted: the files stay on disk exactly as they were..gitignorenow covers rendered output and that scenario.That also clears the only example failing validation on
main. The failure was genuine — its~10MBgradient_text measures 404px inside a 400px box, caught by the card-relative check from #128 — but it belonged to a file that should never have been in the repo.The new example exercises the whole chantier: every graphic on a card (impossible before #133), travelling backgrounds (#131), and card-aware validation catching a 4px overflow in my own pillar cards while authoring (#135). Measured dynamism sits above the reference film — median 1.64 vs Machina's 1.34, peak 42.5 vs 23.1.
Documents one finding worth its own fix:
language: "typescript"renders unhighlighted, because syntect ships no TypeScript syntax and the lookup silently falls back to plain text. All blocks here declarejavascript.Chart work is tracked separately in #138.