Files
windmill/frontend/src/lib/components/flows/content/FlowInput.svelte
T
Faton RamadaniandRuben Fiszel c9ae5905a8 feat(frontend): Flow UX entire rework (#552)
* feature(frontend): Flow rework WIP

* feature(frontend): Right panel behavior done

* feature(frontend): Split panel working

* feature(frontend): Flows working

* feature(frontend): Add inputs + adapt style + remove duplicate library

* feature(frontend): remove old implementation

* feature(frontend): revert package-lock

* feature(frontend): revert old FlowBuilder component

* feature(frontend): Fix margins + add remove button on the minimap

* feature(frontend): Fix wording

* feature(frontend): add PR UI comments

* feature(frontend): Display the module title

* feature(frontend): Previews working

* feature(frontend): Fix schedule load + update

* feature(frontend): fix build

* feature(frontend): UI fix

* fix just this step

* feature(frontend): for loop iterator and skip failures

* just this step

* script helpers

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-09-14 12:34:51 +02:00

25 lines
585 B
Svelte

<script lang="ts">
import { flowStore } from '$lib/components/flows/flowStore'
import SchemaEditor from '$lib/components/SchemaEditor.svelte'
import { emptySchema } from '$lib/utils'
import FlowCard from '../common/FlowCard.svelte'
import CopyFirstStepSchema from './CopyFirstStepSchema.svelte'
</script>
<FlowCard title="Flow Inputs">
<div slot="header">
<CopyFirstStepSchema />
</div>
<div>
<div class="p-6">
<SchemaEditor
on:change={() => {
$flowStore = $flowStore
}}
schema={$flowStore?.schema ?? emptySchema()}
/>
</div>
</div>
</FlowCard>