chore: document GenUI for React developers#2702
Conversation
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThis PR adds comprehensive GenUI documentation (English and Chinese), introduces documentation instructions for GenUI workflows and transports, and standardizes CLI usage by making ChangesGenUI Documentation and CLI Realignment
🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers:
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
3394819 to
67e6a49
Compare
d2f91e0 to
40123ef
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will not alter performance
Comparing Footnotes
|
React External#1791 Bundle Size — 699.5KiB (0%).d881a8a(current) vs 7468b47 main#1787(baseline) Bundle metrics
|
| Current #1791 |
Baseline #1787 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
3 |
3 |
|
17 |
17 |
|
5 |
5 |
|
7.13% |
7.13% |
|
0 |
0 |
|
0 |
0 |
Bundle analysis report Branch hw/codex/genui-readme-docs Project dashboard
Generated by RelativeCI Documentation Report issue
React Example#8675 Bundle Size — 238KiB (0%).d881a8a(current) vs 7468b47 main#8671(baseline) Bundle metrics
|
| Current #8675 |
Baseline #8671 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
4 |
4 |
|
204 |
204 |
|
81 |
81 |
|
44.59% |
44.59% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #8675 |
Baseline #8671 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
92.24KiB |
92.24KiB |
Bundle analysis report Branch hw/codex/genui-readme-docs Project dashboard
Generated by RelativeCI Documentation Report issue
Web Explorer#10252 Bundle Size — 903.53KiB (0%).d881a8a(current) vs 7468b47 main#10248(baseline) Bundle metrics
|
| Current #10252 |
Baseline #10248 |
|
|---|---|---|
45.06KiB |
45.06KiB |
|
2.22KiB |
2.22KiB |
|
0% |
0% |
|
9 |
9 |
|
11 |
11 |
|
231 |
231 |
|
11 |
11 |
|
27.12% |
27.12% |
|
10 |
10 |
|
0 |
0 |
Bundle size by type no changes
| Current #10252 |
Baseline #10248 |
|
|---|---|---|
499.15KiB |
499.15KiB |
|
402.16KiB |
402.16KiB |
|
2.22KiB |
2.22KiB |
Bundle analysis report Branch hw/codex/genui-readme-docs Project dashboard
Generated by RelativeCI Documentation Report issue
React Example with Element Template#944 Bundle Size — 204.36KiB (0%).d881a8a(current) vs 7468b47 main#940(baseline) Bundle metrics
|
| Current #944 |
Baseline #940 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
4 |
4 |
|
124 |
124 |
|
50 |
50 |
|
45.19% |
45.19% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #944 |
Baseline #940 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
58.61KiB |
58.61KiB |
Bundle analysis report Branch hw/codex/genui-readme-docs Project dashboard
Generated by RelativeCI Documentation Report issue
React MTF Example#1809 Bundle Size — 208.94KiB (0%).d881a8a(current) vs 7468b47 main#1805(baseline) Bundle metrics
|
| Current #1809 |
Baseline #1805 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
3 |
3 |
|
199 |
199 |
|
78 |
78 |
|
44.08% |
44.08% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #1809 |
Baseline #1805 |
|
|---|---|---|
111.23KiB |
111.23KiB |
|
97.71KiB |
97.71KiB |
Bundle analysis report Branch hw/codex/genui-readme-docs Project dashboard
Generated by RelativeCI Documentation Report issue
UI JudgeGEQI weighted score: 64.1 / 100 across 8 examples.
DetailsResult 1
Result 2
Result 3
Result 4
Result 5
Result 6
Result 7
Result 8
|
Summary
origin/main(7468b479).packages/genui/a2ui/asREADME.mdandREADME_zh.md.@a2uiCatalog, TypeDoc metadata mapping, supported/unsupported prop types, scanner behavior, and CLI options.A2UI Catalog Extractorguide entry and cleanup stale generated extractor docs from the sidebar sync helper.@lynx-js/a2ui-cliand@lynx-js/a2ui-reactlynx, with the lockfile updated.npx @lynx-js/a2ui-cli, the playground points only tohttps://lynx-stack.dev/a2ui/, and local/internal playground usage stays out of the docs.Validation
./node_modules/.bin/dprint check .github/genui-website.instructions.md packages/genui/a2ui/README.md packages/genui/a2ui/README_zh.md website/sidebars/genui.tsgit diff --checkgit diff --cached --checkjitiand confirmed it returns only/guide/genui/a2uiand/zh/guide/genui/a2uientries.website/docs/**/guide/genui/a2ui-catalog-extractor.mdfiles are removed after sync../node_modules/.bin/rspress buildstill stops before site build because the existing API sidebar expectswebsite/temp/react.api.json, which is not present in this checkout.