website: Add new Blog Post #5 - #164
Conversation
Signed-off-by: ysknsid25 <kengo071225@gmail.com>
|
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:
WalkthroughAdds a blog post that documents a configuration generator built from CodeRabbit JSON Schema. The post covers Valibot schema conversion, Formisch form state, widget metadata generation, and recursive Possibly related PRs
🚥 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.
Pull request overview
Adds a new blog post to the Formisch website describing a practical Valibot + Formisch example: a web app that turns CodeRabbit’s JSON Schema into a validated GUI for generating .coderabbit.yaml.
Changes:
- Introduces a new MDX blog post covering the problem space (
.coderabbit.yamlcomplexity) and the generator app. - Explains the approach of converting JSON Schema → Valibot schema → Formisch form state and recursive rendering.
Comments suppressed due to low confidence (1)
website/src/routes/blog/(posts)/coderabbit-config-generator/index.mdx:161
- Using raw HTML underline (
<u>...</u>) for emphasis can be confusing for users (underline is typically reserved for links) and may not match the site’s styling. Prefer Markdown emphasis instead.
In other words, <u>simply by defining the specification of the input fields in JSON, you can convert them into GUI input fields using Valibot and Formisch, and simply by editing the JSON, that specification is reflected in Valibot and Formisch as well.</u> This is an extremely powerful, consistent, and attractive property.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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 `@website/src/routes/blog/`(posts)/coderabbit-config-generator/index.mdx:
- Line 157: Update the schema-generation explanation around the `properties`
entries to document that parent-level `required` fields must be preserved: wrap
properties not listed in the parent `required` array as optional before
constructing the object schema, while leaving listed properties required. Ensure
the generated schema accepts valid partial `.coderabbit.yaml` files.
- Around line 62-64: Update the JSON Schema-to-Formisch explanation around
LoginSchema to document how JSON Schema default values become initial form
input. Either describe converting defaults into Valibot and Formisch’s
schema-based initialization, or show the generated initialInput passed alongside
schema, while preserving the existing runtime conversion example.
- Around line 169-176: Update the conversion table to split the combined
`number` / `integer` row: document `v.number()` for `number`, and document
`v.pipe(v.number(), v.integer())` for `integer`, while preserving the existing
minimum/maximum guidance for numeric schemas.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 73e17555-9b31-451e-8d0d-04047dedf412
📒 Files selected for processing (1)
website/src/routes/blog/(posts)/coderabbit-config-generator/index.mdx
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
format Signed-off-by: ysknsid25 <kengo071225@gmail.com>
|
Hi! @ysknsid25 this is really cool, I'm glad you wrote it up. One thought on structure. The Valibot and Formisch intros run 45-131, which is a lot of lines before the JSON Schema part starts, and a lot of it is ground the README and intro guides already cover. Most readers here have that already, so I think getting them to your material faster would help. Whatever you want to keep is up to you, but a few sentences on each plus links to the intro guides would do it. Line 68 describes Formisch as a React library that also supports Vue and Svelte. Preact, Qwik and Solid are in there too and they're all on equal footing. I recommend that the wording reflect that. On the title, the front half describes the genre more than what you did. The parts that grabbed me were the 400 fields that didn't need typing out, and I think it can be a shorter title, with Valibot and Formisch in the description. Something like "Generating a 400-field |
format reflect feedback Signed-off-by: ysknsid25 <kengo071225@gmail.com>
|
@flySewa |
Looks good. The Formisch intro says it's built on Valibot and other Standard Schema libraries. Only Valibot works right now, the rest is planned. Could we say something like "built on Valibot, with plans to support other Standard Schema libraries like Zod and ArkType"? |
Signed-off-by: ysknsid25 <kengo071225@gmail.com>
|
@flySewa
How do you feel? |
|
Thanks for reworking it. @fabian-hiller this is ready for your review whenever you have time. |
format reflect feedback Signed-off-by: ysknsid25 <kengo071225@gmail.com>
format reflect feedback Signed-off-by: ysknsid25 <kengo071225@gmail.com>
Talked on X (post). This is new blog post about practical example of using Valibot and Formish.
Summary by CodeRabbit
.coderabbit.yamlconfiguration forms.