Proposal: a read-only Drawnix Viewer for AI-generated content #472
pubuzhixing8
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
As a focused first step for the Drawnix AI direction discussed in #256, I propose adding a lightweight read-only Drawnix component dedicated to displaying AI-generated content.
The component should render Drawnix data without exposing editing entry points. It would give AI agents a safe and predictable visual output surface before we introduce more complex AI editing workflows.
Motivation
AI integrations need a small component that can:
Drawnix already has useful foundations for this. The Plait board supports read-only mode, and the Mermaid/Markdown preview uses a read-only board today. The main Drawnix component currently fixes
readonlytofalse, so the Viewer should reuse the existing renderer and plugins rather than create a second rendering implementation.Proposed MVP
Introduce a
DrawnixViewercomponent, either exported from@drawnix/drawnixor published as a small dedicated package.The MVP should:
Initial AI use cases
Non-goals for the first version
Acceptance criteria
Open questions
DrawnixViewerin@drawnix/drawnix, or a separate@drawnix/viewerpackage?PlaitElement[], or the complete versioned.drawnixdocument?If the direction is accepted, the implementation can stay intentionally small and become the first stable presentation surface for the broader Drawnix + AI roadmap.
All reactions