Hello Community,

I've posted the detailed research findings and technical comparison on
GitHub Issue #2986 ( Supports JSON Schema to form UI ) in apisix dashboard
as you asked.

Comment
<https://github.com/apache/apisix-dashboard/issues/2986#issuecomment-3656971549>

I strongly recommend the "Custom Adapter" approach (Option C) because it
leverages the existing React Hook Form + Mantine stack, keeping the bundle
size impact near zero.

Regarding next steps:
If the team agrees with this technical direction, I would love to build a
Proof of Concept (POC) demonstrating how this adapter handles a complex
plugin (like `limit-count`).

Please let me know if you’d like me to proceed with the POC!

Best regards,

Deep Shekhar Singh
@DSingh0304

On Sun, Dec 14, 2025 at 8:36 PM DEEP SHEKHAR SINGH / <[email protected]>
wrote:

> Hi Baoyuan,
>
> Thank you for the detailed context! It's great to know that React Hook
> Form and Mantine/AntD are the current standards in the codebase that helps
> narrow down the evaluation criteria significantly.
>
> I will proceed with the research phase immediately, focusing on:
> 1. Bundle size impact (keeping it lightweight).
> 2. Integration with React Hook Form (to avoid duplicate state management
> libs).
> 3. Adaptation strategies for APISIX's specific JSON Schema drafts.
>
> I will compile my findings and post a detailed comparison proposal
> directly on GitHub Issue #2986 within the next few days.
>
> Best regards,
>
> Deep Shekhar Singh
> @DSingh0304
>
> On Mon, Dec 8, 2025 at 9:22 AM Baoyuan <[email protected]> wrote:
>
>> Hi Deep,
>>
>> Thank you for reaching out and for your continued interest in contributing
>> to the APISIX Dashboard! We really appreciate your initiative.
>>
>> Regarding Issue #2986, we agree that supporting a Form UI based on JSON
>> Schema would be a significant improvement for user experience, moving
>> beyond the current implementation which relies on the Monaco Editor with
>> schema validation.
>>
>> To answer your questions:
>>
>> Is this still under consideration for v3.x?
>> Yes, improving the plugin configuration experience is always a priority.
>> While we haven't set a strict timeline, finding a viable solution for this
>> would make it a strong candidate for upcoming releases.
>>
>> Has there been any progress on evaluating potential libraries?
>> There hasn't been significant progress recently on the technical
>> evaluation. The team has been focused on other areas, so the "Library
>> selection" and "Schema compatibility" challenges remain open questions.
>>
>> Would it be helpful if I researched and compared viable options?
>> Absolutely. This would be incredibly helpful. Since we are currently using
>> a mix of Mantine and Ant Design components with React Hook Form, finding a
>> library that integrates well without bloating the bundle size is key.
>>
>> If you have time, please feel free to conduct this research. We are
>> particularly interested in:
>>
>> Bundle Size: Keeping the dashboard lightweight.
>> Compatibility: Handling the specific JSON Schema drafts used by APISIX
>> plugins.
>> UI Customization: How easily we can style the form to match our existing
>> UI
>> (Mantine/AntD).
>> Please share your findings or a comparison proposal directly on Issue
>> #2986. This will allow other maintainers to weigh in on the decision.
>>
>> Thanks again for stepping up!
>>
>>
>> DEEP SHEKHAR SINGH / <[email protected]> 于2025年12月6日周六 04:24写道:
>>
>> > Hi team,
>> >
>> > I've been contributing to the APISIX Dashboard and came across issue
>> #2986
>> > about auto-generating plugin configuration forms from JSON Schema.
>> >
>> > This could significantly reduce the maintenance burden, especially as
>> new
>> > plugins are added. However, I see some valid concerns were raised about:
>> >
>> > - JSON Schema version compatibility across plugins
>> >
>> > - Library selection and bundle size impact
>> >
>> > - Testing requirements
>> >
>> > Questions:
>> >
>> > 1. Is this still under consideration for v3.x?
>> >
>> > 2. Has there been any progress on evaluating potential libraries?
>> >
>> > 3. Would it be helpful if I researched and compared viable options?
>> >
>> > Happy to dig into this if it's a priority for the project.
>> >
>> > Thanks!
>> >
>> > Deep Shekhar Singh
>> >
>> > GitHub: @DSingh0304 <https://github.com/DSingh0304>
>> >
>>
>

Reply via email to