Skip to content

Add native Roam renderer for presentations#15

Draft
mdroidian wants to merge 1 commit into
mainfrom
codex/issue-6-native-renderer
Draft

Add native Roam renderer for presentations#15
mdroidian wants to merge 1 commit into
mainfrom
codex/issue-6-native-renderer

Conversation

@mdroidian

Copy link
Copy Markdown
Contributor

Summary

  • add a parallel native renderer under presentation2 / slides2 while leaving the existing presentation / slides path available
  • delegate slide trees, layout source blocks, notes, and collapsible nodes to ui.react.Block, and formatted titles to ui.react.BlockString
  • preserve presentation orchestration including Reveal layouts, themes, notes, transitions, hiding, auto-animate, focus restoration, and progressive collapsibles
  • restore native bullets, suppress Roam indentation multibars, normalize title typography/alignment, and contain iframe/video media inside their configured layouts
  • add architecture notes, reproducible baseline/coverage fixtures, side-by-side screenshots, native-feature proof, and walkthrough videos

Why

The current renderer reconstructs Roam blocks as custom HTML. That loses native component behavior and lifecycle for code blocks, queries, search results, embeds, block view types, Excalidraw, Mermaid, tables, and other extension-owned renderers. The new path keeps Presentation-specific orchestration but lets Roam render the content itself.

Validation

  • npm run build:roam — source built with 0 errors
  • authenticated Roam baseline: 17 slides from each renderer, no page errors
  • post-fix comparison: native bullets present and zero visible .rm-multibar guides across all 17 slides
  • native feature deck: 2 code editors, 2 KaTeX renders, live query/search, page and block embeds, Document and Numbered views, Excalidraw rectangle drawing, Mermaid SVG, and native table
  • checked-in full-resolution comparisons, contact sheets, capture metrics, and both renderer walkthrough videos

Closes #6

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ea895344-16b6-45f4-8c4a-53bc1f564844

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace Custom Presentation Renderer with new Roam API for Render Block

1 participant