Skip to content

Docs: Add CSF Next .type FAQ#34813

Merged
kylegach merged 1 commit into
nextfrom
docs-csf-next-types
May 18, 2026
Merged

Docs: Add CSF Next .type FAQ#34813
kylegach merged 1 commit into
nextfrom
docs-csf-next-types

Conversation

@kylegach
Copy link
Copy Markdown
Contributor

@kylegach kylegach commented May 15, 2026

What I did

See title

Checklist for Contributors

Testing

Manual testing

N/A - docs-only change

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

Summary by CodeRabbit

  • Documentation
    • Added FAQ entry explaining how to use custom arg types with type-safe definitions.

Review Change Stack

@kylegach kylegach self-assigned this May 15, 2026
@kylegach kylegach requested a review from jonniebigodes as a code owner May 15, 2026 22:00
@kylegach kylegach added patch:yes Bugfix & documentation PR that need to be picked to main branch ci:docs Run the CI jobs for documentation checks only. labels May 15, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ae818e01-2fbb-478d-bd2a-0a9b5024d6a3

📥 Commits

Reviewing files that changed from the base of the PR and between 7c9e284 and 16baa25.

📒 Files selected for processing (1)
  • docs/api/csf/csf-next.mdx

📝 Walkthrough

Walkthrough

This PR adds a new FAQ entry to the CSF documentation explaining how preview.type can be used to specify custom argument types for stories, enabling type-safe custom arg definitions in Storybook.

Changes

Custom Arg Types Documentation

Layer / File(s) Summary
Custom arg types FAQ entry
docs/api/csf/csf-next.mdx
New FAQ subsection documents that preview.type enables specifying custom arg types for stories to provide type safety for customized args.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Comment @coderabbitai help to get the list of available commands and usage tips.

@kylegach kylegach merged commit aba75f8 into next May 18, 2026
16 of 20 checks passed
@kylegach kylegach deleted the docs-csf-next-types branch May 18, 2026 15:28
@github-actions github-actions Bot added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 22, 2026
RuBrock pushed a commit to RuBrock/storybook that referenced this pull request May 23, 2026
…ypes

Docs: Add CSF Next `.type` FAQ
(cherry picked from commit aba75f8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:docs Run the CI jobs for documentation checks only. documentation patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants