add customUi props for History and Save to workspace editor bar buttons (#8336)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-03-12 12:28:17 +00:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 7fb729cc84
commit f3e9a29c13
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1096,7 +1096,7 @@ JsonNode ${windmillPathToCamelCaseName(path)} = JsonNode.Parse(await client.GetS
<div class="flex flex-row items-center gap-2 whitespace-nowrap">
{@render right?.()}
{#if scriptPath && !noHistory}
{#if scriptPath && !noHistory && customUi?.history != false}
<Button
unifiedSize="sm"
variant="subtle"
@@ -1120,7 +1120,7 @@ JsonNode ${windmillPathToCamelCaseName(path)} = JsonNode.Parse(await client.GetS
Library
</Button>
{/if}
{#if saveToWorkspace}
{#if saveToWorkspace && customUi?.saveToWorkspace != false}
<Button
unifiedSize="sm"
variant="subtle"
+2
View File
@@ -81,6 +81,8 @@ export type EditorBarUi = {
ducklake?: boolean
dataTable?: boolean
debug?: boolean
history?: boolean
saveToWorkspace?: boolean
}
export type EditableSchemaFormUi = {