improve flow graph rendering behavior

This commit is contained in:
Ruben Fiszel
2022-12-24 19:29:50 +01:00
parent 0e585a81a5
commit 037de7ec95
3 changed files with 18 additions and 16 deletions
+7 -7
View File
@@ -40,7 +40,7 @@
"@types/vscode": "~1.68.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@windmill-labs/svelvet": "^4.0.6",
"@windmill-labs/svelvet": "^4.0.20",
"@zerodevx/svelte-toast": "^0.8.1",
"autoprefixer": "^10.4.13",
"cssnano": "^5.1.14",
@@ -835,9 +835,9 @@
}
},
"node_modules/@windmill-labs/svelvet": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/@windmill-labs/svelvet/-/svelvet-4.0.6.tgz",
"integrity": "sha512-EGD0LH/0BGMy9bkGOlVywHMhniG74RKn1w/ue4ybCj5c+exsg0sTdgxDvuVcAHXuCbn7Iv+KrLQzeZVZecKHvw==",
"version": "4.0.20",
"resolved": "https://registry.npmjs.org/@windmill-labs/svelvet/-/svelvet-4.0.20.tgz",
"integrity": "sha512-pbYoqYgLPNlNaLYiBQE5ealVLEXBrlAmzlSIeQYGnXIAEYpfkBxNyYmZo7Gek7ankn9WIHB0W4HHZKeCIo2v3A==",
"dev": true,
"dependencies": {
"d3-zoom": "^3.0.0"
@@ -7497,9 +7497,9 @@
}
},
"@windmill-labs/svelvet": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/@windmill-labs/svelvet/-/svelvet-4.0.6.tgz",
"integrity": "sha512-EGD0LH/0BGMy9bkGOlVywHMhniG74RKn1w/ue4ybCj5c+exsg0sTdgxDvuVcAHXuCbn7Iv+KrLQzeZVZecKHvw==",
"version": "4.0.20",
"resolved": "https://registry.npmjs.org/@windmill-labs/svelvet/-/svelvet-4.0.20.tgz",
"integrity": "sha512-pbYoqYgLPNlNaLYiBQE5ealVLEXBrlAmzlSIeQYGnXIAEYpfkBxNyYmZo7Gek7ankn9WIHB0W4HHZKeCIo2v3A==",
"dev": true,
"requires": {
"d3-zoom": "^3.0.0"
+1 -1
View File
@@ -23,7 +23,7 @@
"@types/vscode": "~1.68.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@windmill-labs/svelvet": "^4.0.6",
"@windmill-labs/svelvet": "^4.0.20",
"@zerodevx/svelte-toast": "^0.8.1",
"autoprefixer": "^10.4.13",
"cssnano": "^5.1.14",
+10 -8
View File
@@ -153,7 +153,7 @@
</div>
{/if}
{#if schedulable}
<div class="flex justify-between mt-2 md:mt-6 mb-6">
<div class="flex gap-2 items-center flex-wrap justify-between mt-2 md:mt-6 mb-6">
<Button
color="light"
size="sm"
@@ -175,13 +175,15 @@
>
</div>
{/if}
<Button
btnClasses="!px-6 !py-1"
disabled={!isValid}
on:click={() => runAction(scheduledForStr, args, invisible_to_owner)}
>
{scheduledForStr ? 'Schedule run to a later time' : buttonText}
</Button>
<div class="flex-row-reverse flex grow">
<Button
btnClasses="!px-6 !py-1"
disabled={!isValid}
on:click={() => runAction(scheduledForStr, args, invisible_to_owner)}
>
{scheduledForStr ? 'Schedule run to a later time' : buttonText}
</Button>
</div>
</div>
{:else if !topButton}
<Button