Open Bug 1803677 Opened 2 years ago Updated 3 months ago

Expand options for using the `./mach addwidget` scaffold command

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement

Tracking

()

People

(Reporter: hjones, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-reusable-components-ms2] )

Currently the ./mach addwidget command assumes we want to create our reusable components using Lit and that we want to add them to toolkit/widgets. Already we've run into a couple of cases where people want to create vanilla custom elements and/or create reusable components that live in a different directory. We could make the scaffold command more flexible by having it accept args like --path and --no-lit. This will help make it easier to create more different kinds of components while ensuring they still get documented in Storybook.

Depends on: 1803678
Whiteboard: [fidefe-reusable-components-ms1] → [fidefe-reusable-components-ms2]
See Also: → 1828181
See Also: → 1844170
No longer depends on: 1803678
See Also: → 1896137
You need to log in before you can comment on or make changes to this bug.