mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 08:03:50 +00:00
* feat(frontend): Add app map component (wip) * fix(frontend): Revert * feat(frontend): sync map configuration (#1252) * fix(frontend): Map markers * fix(frontend): Switching between input types * fix(frontend): Customize map controls * feat(frontend): Fix output + add set region button * feat(frontend): Fix output + add set region button * feat(frontend): Fix output + add set region button * feat(frontend): Only display set region button on edit mode --------- Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.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