Files
windmill/frontend/src/lib/components/apps/editor/component
Faton Ramadani 43cb5a985e feat(frontend): App carousel (#1956)
* feat(frontend): app carousel

* carousel wip

* feat(frontend): add carousel component

* feat(frontend): add slide handler

* feat(frontend): Fix styling issues

* feat(frontend): Update subgrid focus on page change

* feat(frontend): fix subgrid issues + add carousel list

* feat(frontend): fix carousel width issues

* feat(frontend): fix build

* feat(frontend): fix build

* feat(frontend): revert changes

* feat(frontend): add missing tooltips

* feat(frontend): remove autoplay

* feat(frontend): add missing tooltip + add select for timings

* feat(frontend): simplify carousel

* feat(frontend): fix render when data changes

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-07-31 17:56:38 +02:00
..
2023-07-31 17:56:38 +02:00

How to add new components

  1. components.ts:
    1. Create a type for the new component and add it to the AppComponent union type
    2. Add the component to the components record
  2. sets.ts:
    1. Add the component to one of the component sets: layout, buttons, inputs or display (this controls which group the component will be placed in in the Insert menu)
  3. quickStyleProperties.ts:
    1. Add the component to the quickStyleProperties record
    2. (optional) Add the CSS properties that could be applied to the component parts
  4. Component.svelte:
    1. Add the new component in the Svelte if statement
  5. default-codes.ts:
    1. (optional) Add the default code associated with the new component to the DEFAULT_CODES record