Skip to content

Difficulty figuring out how to make Knobs plugin work for multiple UIs/stories #91

@derrickbeining

Description

@derrickbeining

The example given for the knob plugin only shows wiring up a single story. I'm trying to figure out how to wire it up for many categories, UIs, and stories so they all have their own knobs and knob state. It's unclear to me how this is intended to be achieved within config.viewEnhancer. Am I supposed to use model.selectedCategory, model.selectedUIId, and model.selectedStoryId to determine which story is currently selected and therefore which arguments to pass to viewKnobsForUI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions