mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-04 00:03:02 +00:00
d604a273ee
* feat(frontend): add copy, paste and cut * feat(frontend): simplify code * feat(frontend): add apple modifiers --------- Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
How to add new components
components.ts:- Create a type for the new component and add it to the
AppComponentunion type - Add the component to the
componentsrecord
- Create a type for the new component and add it to the
sets.ts:- Add the component to one of the component sets:
layout,buttons,inputsordisplay(this controls which group the component will be placed in in the Insert menu)
- Add the component to one of the component sets:
Component.svelte:- Add the new component in the Svelte
ifstatement
- Add the new component in the Svelte
default-codes.ts:- (optional) Add the default code associated with the new component to the
DEFAULT_CODESrecord
- (optional) Add the default code associated with the new component to the