mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-29 00:03:09 +00:00
* feat(frontend): Set tab * feat(frontend): Set tab * feat(frontend): fix styling * feat(frontend): update how set Tab is stored * feat(frontend): clean up * feat(frontend): update setTab to an array structure * feat(frontend): revert * feat(frontend): support all components * feat(frontend): fix typing * feat(frontend): group success side effects * feat(frontend): add missing tooltip + remove duplicate code
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