Closed Bug 1818007 Opened 3 years ago Closed 2 years ago

Create a single command to start and launch Storybook

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: hjones, Assigned: hjones)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 files)

Currently you need to run two separate commands to get Storybook running locally - ./mach storybook to install dependencies + start the Storybook server, then ./mach storybook launch in a separate terminal window to open localhost:5703 with the pref svg.context-properties.content.enabled=true. This can be non-obvious for users trying to start Storybook. Ideally we would have a single command to handle both starting then launching Storybook.

On pine we did this via the concurrently npm package, but there may be a better solution that involves modifying or expanding our Storybook specific mach commands.

Whiteboard: [fidefe-reusable-components] → [fi
Whiteboard: [fi → [fidefe-reusable-components-ms2]
Whiteboard: [fidefe-reusable-components-ms2] → [fidefe-reusable-components]
Assignee: nobody → hjones
Attachment #9353481 - Attachment description: WIP: Bug 1818007 - Modify the storybook command to launch a local build of Firefox → Bug 1818007 - Modify the storybook command to launch a local build of Firefox r=mstriemer,#mach-reviewers
Attachment #9353482 - Attachment description: WIP: Bug 1818007 - Update storybook command documentation r=#recomp-reviewers → Bug 1818007 - Update storybook command documentation r=#recomp-reviewers
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67ba8ccc77d5 Modify the storybook command to launch a local build of Firefox r=mstriemer,mach-reviewers,ahal https://hg.mozilla.org/integration/autoland/rev/5aba2d21e261 Update storybook command documentation r=reusable-components-reviewers,tgiles,mstriemer
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: