* (frontend) add quick access menu in flow editor * (frontend) add quick access menu in flow editor * improve UI * make design prettier * add scroll effects * improve loading preview * change no items found * prevent scroll using menu * change user folder button * set default integration icon * reduce column width * ajust font * add defaults script button * add shadow divider * fix scroll * add chevron * Change toogle bar * Add preprocessor menu * add handler * simplify scroll * fix display * fix minor issues * delete useless log * revert node tree changes * merge main * fix z-index issues * iterate * fix: improve allowed domains setting for sso * chore(main): release 1.402.3 (#4458) * chore(main): release 1.402.3 * Apply automatic changes --------- Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com> * improve allowed domains change handling * send stats when renewing key if last >24h (#4430) * feat: send stats when renewing key if last >24h * nits * fix: sqlx * nit * renewal reason * stats reason * update ee ref * Update ee-repo-ref.txt --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev> * fix: skip one migration to avoid using md5 for azure support * all * all * Apply automatic changes * all * done? * nit * nit * nit * nit * nit noAi if prefilter is not all * fix shadow * fix error handler * fix error handler * Polishing default script settings * all * all * full * all * add deno_core as features * all * remove warnings * all * npm check * npm check * new script script * nits * nits item 0 * nits item 0 --------- Co-authored-by: Guilhem Le Mouel <guilhem.le-mouel.ext@altran.com> Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com> Co-authored-by: HugoCasa <hugo@casademont.ch> Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>
33 lines
908 B
Svelte
33 lines
908 B
Svelte
<script lang="ts">
|
|
import { userStore } from '$lib/stores'
|
|
import { SettingsIcon } from 'lucide-svelte'
|
|
import { Button } from './common'
|
|
import Drawer from './common/drawer/Drawer.svelte'
|
|
import DrawerContent from './common/drawer/DrawerContent.svelte'
|
|
import DefaultScriptsInner from './DefaultScriptsInner.svelte'
|
|
|
|
let drawer: Drawer
|
|
export let placement: 'left' | 'right' = 'left'
|
|
|
|
export let size: 'xs3' | 'xs2' = 'xs2'
|
|
export let noText = false
|
|
</script>
|
|
|
|
{#if $userStore?.is_admin || $userStore?.is_super_admin}
|
|
<Drawer bind:this={drawer} {placement}>
|
|
<DrawerContent title="Edit Default Scripts" on:close={drawer.closeDrawer}>
|
|
<DefaultScriptsInner />
|
|
</DrawerContent>
|
|
</Drawer>
|
|
<Button
|
|
on:click={drawer?.openDrawer}
|
|
startIcon={{ icon: SettingsIcon }}
|
|
color="light"
|
|
{size}
|
|
btnClasses="!text-tertiary"
|
|
variant="contained"
|
|
>
|
|
{noText ? '' : 'defaults'}
|
|
</Button>
|
|
{/if}
|