Skip to content

Conversation

@heath-freenome
Copy link
Member

@heath-freenome heath-freenome commented Oct 21, 2025

Reasons for making this change

Modernized the playground UI to allow for more real-estate for the actual form

  • Updated the SampleSelector to render the samples inside of a Drawer on the left side of the screen, that when closed just shows the selected sample name
  • Refactored the theme and subtheme selector from Headers into the Editors component, moving that and the existing content into an Accordion
  • Renamed the Headers component to OptionsDrawer moving all of the remaining content into a permanent right-side drawer
    • Also consolidated the two live settings schemas and uiSchemas into a single schema and uiSchema
    • Also moved the buttons above the live settings schema form
    • Updated Playground and Sample.ts to fix the imports due to the file rename
  • Updated the ThemeSelector and SubthemeSelectors to add click handlers to stop the click propagation
  • Updated CopyLink to make it wider and change the title to Share Playground
  • Updated Playground to change the fragment into a Box flexed, with 100%, adding the SampleSelector directly
    • Also added a second Box width 100% around the Editors, Divider, and DemoFrame
    • Moved the renamed OptionsDrawer below the second Box
  • Updated Footer to absolutely position the Netlify badge to the left of the Options Drawer
  • Updated the README.md files in all the themes to show the snapshot with the latest theme UI from the playground, making it a link to the theme on GitHub
  • Updated the documentation to switch to using an animated gif based on the latest modernized playground UI
  • Updated the CHANGELOG.md accordingly

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npx nx run-many --target=build --exclude=@rjsf/docs && npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@heath-freenome heath-freenome self-assigned this Oct 21, 2025
@heath-freenome heath-freenome marked this pull request as draft October 21, 2025 18:19
Modernized the playground UI to allow for more real-estate for the actual form
- Updated the `SampleSelector` to render the samples inside of a `Drawer` on the left side of the screen, that when closed just shows the selected sample name
- Refactored the theme and subtheme selector from `Headers` into the `Editors` component, moving that and the existing content into an `Accordion`
- Renamed the `Headers` component to `OptionsDrawer` moving all of the remaining content into a permanent right-side drawer
  - Also consolidated the two live settings schemas and uiSchemas into a single schema and uiSchema
  - Also moved the buttons above the live settings schema form
  - Updated `Playground` and `Sample.ts` to fix the imports due to the file rename
- Updated the `ThemeSelector` and `SubthemeSelectors` to add click handlers to stop the click propagation
- Updated `CopyLink` to make it wider and change the title to `Share Playground`
- Updated `Playground` to change the fragment into a `Box` flexed, with 100%, adding the `SampleSelector` directly
  - Also added a second `Box` width 100% around the `Editors`, `Divider`, and `DemoFrame`
  - Moved the renamed `OptionsDrawer` below the second `Box`
- Updated `Footer` to absolutely position the Netlify badge to the left of the Options Drawer

# Conflicts:
#	packages/playground/src/components/OptionsDrawer.tsx
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.

1 participant