Skip to content

Add ActionForm and BaseForm storybook stories#2962

Draft
nfdiop wants to merge 2 commits intomainfrom
nfdiop/add-actionform-storybook
Draft

Add ActionForm and BaseForm storybook stories#2962
nfdiop wants to merge 2 commits intomainfrom
nfdiop/add-actionform-storybook

Conversation

@nfdiop
Copy link
Copy Markdown
Contributor

@nfdiop nfdiop commented Apr 8, 2026

Summary

  • Add Storybook stories for ActionForm (OSDK-connected) and BaseForm (OSDK-agnostic) components
  • Register a SubmitOrder action type in fauxFoundry with 6 parameter types (string, integer, double, boolean, timestamp, attachment)
  • Follow the existing ObjectTable/BaseTable story pattern

BaseForm stories (6)

Default (8 field types), Controlled, WithCustomTitle, Loading, SubmitDisabled, Pending

ActionForm stories (5)

Default, WithCustomTitle, WithCustomFieldDefinitions, Controlled, WithSubmitHandler

Test plan

  • Run pnpm turbo typecheck --filter=@osdk/react-components-storybook — types compile
  • Run pnpm --dir packages/react-components-storybook storybook dev -p 6006 — all 11 stories render
  • Verify ActionForm Default auto-generates fields from metadata
  • Verify controlled stories display external state

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

size-limit report 📦

Path Size Change
@osdk/api 432 B 0%
@osdk/client 24.11 kB 0%
@osdk/oauth 6.52 kB 0%
@osdk/react 513 B 0%
@osdk/react/experimental 50.07 kB 0%
@osdk/react/experimental/admin 2.43 kB 0%
@osdk/react-components 10 B 0%
@osdk/react-components/experimental 319.74 kB 0%
@osdk/react-components/primitives 40.33 kB 0%
@osdk/widget.client-react 10.56 kB 0%

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