Add interactive previews and GIF assets for component docs#30
Open
Add interactive previews and GIF assets for component docs#30
Conversation
- Add live demo previews (Preview/Code tabs) to 9 component pages that were missing them: Moment, VoteThreshold, KeyValue, VectorFixed, BTreeMap, Struct, Tuple, Vote, and Call - Create advanced-demos.tsx with demo components for VectorFixed, BTreeMap, Struct, Tuple, Vote, and Call inputs - Extend simple-demos.tsx with Moment, VoteThreshold, and KeyValue demos - Register all new demo components in page.tsx and mdx-components.tsx - Add GIF assets to public/docs/ for component and feature illustrations - Add cross-reference links in input-map.mdx priority table and type reference table, linking each component to its docs page - Streamline components/index.mdx by removing duplicated priority table and type resolution code block in favor of links to the API reference - Condense getting-started.mdx input types section to point readers to the component library instead of duplicating per-component descriptions - Replace ASCII art builder diagram with bidirectional-editing GIF - Add external links and inline references throughout architecture guide
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #30 +/- ##
==========================================
- Coverage 64.67% 63.74% -0.93%
==========================================
Files 139 140 +1
Lines 16250 16485 +235
Branches 1158 1158
==========================================
Hits 10509 10509
- Misses 5695 5930 +235
Partials 46 46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
advanced-demos.tsxfor complex components (VectorFixed, BTreeMap, Struct, Tuple, Vote, Call) and extensions tosimple-demos.tsxfor Moment, VoteThreshold, and KeyValue.public/docs/for component illustrations and feature walkthroughs (account input, balance input, bidirectional editing, batch calls, selectors, etc.).components/index.mdx— removed duplicated priority table and code block, replaced with links to the API reference.getting-started.mdx— condensed the per-component descriptions into a summary paragraph pointing to the component library; replaced ASCII diagram with the bidirectional-editing GIF.guide/architecture.mdx— added external links to Dedot, LunoKit, shadcn/ui; added bidirectional-editing GIF; added cross-links to component library and API reference.Test plan
yarn devand verify all 9 updated component doc pages render Preview/Code tabs correctlyyarn build