Skip to content

Include sample Storybook in template #27

@jessicaaustin

Description

@jessicaaustin

The Studio project makes use of Storybooks to help develop panels, which is great. It would be useful to have the Storybook infrastructure set up for the extension template created here as well, so we can have a place to start without setting that up ourselves.

In particular, this would be useful to have code to help set up a PanelExtensionContext for use in a storybook (or unit tests for that matter). For example, I'm looking at the Map and Teleop panels, and they both make use of studio-base/components/PanelExtensionAdapter and studio-base/stories/PanelSetup. I've spent some time trying to either import those or build something similar so I can get my custom panel loaded in a storybook, and keep running into issues.

(For context, I'm a React beginner and in general not a frontend expert, so I may be missing something obvious here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions