mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 08:07:03 +00:00
feat: store failed_retries per module state and display failed retries in flow status viewer
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
export let modType: string | undefined = undefined
|
||||
export let bgColor: string = ''
|
||||
export let concurrency: boolean = false
|
||||
export let retries: number | undefined = undefined
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
@@ -57,11 +58,13 @@
|
||||
transition:fade|local={{ duration: 200 }}
|
||||
class="center-center rounded border bg-surface border-gray-400 text-secondary px-1 py-0.5"
|
||||
>
|
||||
{#if retries}<span class="text-red-400 mr-2">{retries}</span>{/if}
|
||||
<Repeat size={14} />
|
||||
</div>
|
||||
<svelte:fragment slot="text">Retries</svelte:fragment>
|
||||
</Popover>
|
||||
{/if}
|
||||
|
||||
{#if concurrency}
|
||||
<Popover notClickable>
|
||||
<div
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
export let duration_ms: number | undefined = undefined
|
||||
export let disableAi: boolean = false
|
||||
export let wrapperId: string | undefined = undefined
|
||||
export let retries: number | undefined = undefined
|
||||
|
||||
$: idx = modules.findIndex((m) => m.id === mod.id)
|
||||
|
||||
@@ -174,6 +175,7 @@
|
||||
</FlowModuleSchemaItem>
|
||||
{:else}
|
||||
<FlowModuleSchemaItem
|
||||
{retries}
|
||||
on:click={() => dispatch('select', mod.id)}
|
||||
on:delete={onDelete}
|
||||
on:move={() => dispatch('move')}
|
||||
|
||||
Reference in New Issue
Block a user