Skip to content

Improve resource UX with collapsible optional params#643

Open
285729101 wants to merge 1 commit intoMerit-Systems:mainfrom
285729101:improve/resource-ux
Open

Improve resource UX with collapsible optional params#643
285729101 wants to merge 1 commit intoMerit-Systems:mainfrom
285729101:improve/resource-ux

Conversation

@285729101
Copy link

Fixes #107

The resource parameter forms were showing all fields in a flat list which made it hard to see what's actually required vs optional. This was especially noisy for resources with many optional params.

Changes:

  • Required fields are now shown at the top of each section, always visible
  • Optional fields are collapsed by default behind a clickable "N optional parameters" toggle
  • Added a small summary at the top of the form showing the count of required vs optional params
  • Query parameters section now has a proper title (was missing before)
  • Added "optional" label next to non-required field names for clarity

Used the existing Collapsible component from radix so no new dependencies needed.

@vercel
Copy link
Contributor

vercel bot commented Feb 18, 2026

@285729101 is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

@285729101
Copy link
Author

@jasonhedman @shafu0x cleaned up the resource registration form — required fields are always visible, optional ones are in a collapsible section. Reduces visual noise for simple resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Resource UX

1 participant

Comments