docs: document the AiInsertReveal streaming reveal extension - #916
docs: document the AiInsertReveal streaming reveal extension#916ozdemircibaris wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary
WalkthroughAdds installation and usage documentation for the optional ChangesStreaming reveal documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/content/ai/ai-toolkit/agents/streaming.mdx`:
- Around line 283-287: Align the AiInsertReveal.configure custom class example
with the accompanying CSS by either adding a matching .my-reveal selector or
explicitly instructing readers to change the CSS selector from
.ai-insert-reveal. Ensure copying the documented snippets results in the
animation applying to the configured class.
- Line 237: Update the AiInsertReveal setup example to include `@tiptap/y-tiptap`
in its install command, and make the className value consistent with the CSS
shown above by using the default class or adding matching my-reveal CSS.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: d28a549b-39a8-454b-8258-aaa25996d7ac
📒 Files selected for processing (1)
src/content/ai/ai-toolkit/agents/streaming.mdx
Documents the new
AiInsertRevealextension in the streaming guide: what it does, how to add it, the CSS to define the fade, and its two options (className,durationMs).It covers the
@tiptap/ai-toolkit/streaming-revealsubpath added in ueberdosis/tiptap#8109, so it should ship with that release.