New package: @remotion/rough-notation - #9018
Conversation
There was a problem hiding this comment.
Important
One correctness issue to address before merging: the annotation renderer can produce duplicate React keys whenever iterations draws the same path, so React drops the duplicates and only one iteration renders.
Reviewed changes — This PR adds a new @remotion/rough-notation package with rough annotation components, docs, and example compositions to Remotion.
- Add
@remotion/rough-notationpackage withcreateAnnotation(),<AnnotationBehind>,<AnnotationOnTop>, andannotationConfig. - Add documentation pages for the new APIs under
docs/docs/rough-notation/. - Register six example compositions in
packages/example/src/RoughNotation. - Wire the package into the monorepo via
package.json,bun.lock,tsconfig.json,sidebars.ts, and package lists.
Kimi K2 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
Incremental review of the latest commits. The Interactive/Sequence integration and the split examples are nice improvements. However, the duplicate React key issue in packages/rough-notation/src/render-annotation.tsx still needs a fix; the new Box.tsx example now directly demonstrates the problem with iterations={2}. I’m also withdrawing my earlier AvailableFrom version comment — pointing new docs to the next patch version (4.0.489) matches Remotion’s convention.
Kimi K2 (free via Pullfrog for OSS) | 𝕏

TODO:
/docs/text-highlights