From c32b94c709e4635d2b4af09c2fc463372141eb04 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Wed, 4 Dec 2024 14:25:31 -0700 Subject: [PATCH 1/4] Merge className prop in href in Button component --- src/lib/holocene/button.svelte | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/lib/holocene/button.svelte b/src/lib/holocene/button.svelte index ced4059a1..e3da3c633 100644 --- a/src/lib/holocene/button.svelte +++ b/src/lib/holocene/button.svelte @@ -126,11 +126,14 @@ type="button" target={target ? '_blank' : null} rel={target ? 'noreferrer' : null} - class={buttonStyles({ - variant, - size, - borderRadiusModifier, - })} + class={merge( + buttonStyles({ + variant, + size, + borderRadiusModifier, + }), + className, + )} on:click|stopPropagation={onLinkClick} tabindex={href ? null : 0} {...$$restProps} From b5347462d3ebd96a6f25572aeb0163f03f839507 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Wed, 4 Dec 2024 14:27:12 -0700 Subject: [PATCH 2/4] Update action buttons on schedule form --- src/lib/components/schedule/schedule-form-view.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/components/schedule/schedule-form-view.svelte b/src/lib/components/schedule/schedule-form-view.svelte index baf3dbda5..1e3045e8f 100644 --- a/src/lib/components/schedule/schedule-form-view.svelte +++ b/src/lib/components/schedule/schedule-form-view.svelte @@ -165,7 +165,7 @@ onDestroy(() => ($error = '')); -
+
{#if $loading} {:else} @@ -246,13 +246,13 @@ bind:phase bind:cronString > -
+
{confirmText} -
From b1cb8f3f23fa4a3c0aecc655bc218a1a858089d4 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Wed, 4 Dec 2024 14:27:43 -0700 Subject: [PATCH 3/4] Update action buttons on nexus forms --- src/lib/pages/nexus-create-endpoint.svelte | 8 +++-- src/lib/pages/nexus-edit-endpoint.svelte | 42 +++++++++++++--------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/src/lib/pages/nexus-create-endpoint.svelte b/src/lib/pages/nexus-create-endpoint.svelte index c75a37eca..2dd904dfb 100644 --- a/src/lib/pages/nexus-create-endpoint.svelte +++ b/src/lib/pages/nexus-create-endpoint.svelte @@ -40,14 +40,18 @@ {callerNamespaceList} {isCloud} /> -
+
-
diff --git a/src/lib/pages/nexus-edit-endpoint.svelte b/src/lib/pages/nexus-edit-endpoint.svelte index fd4a20c53..5ae498ce1 100644 --- a/src/lib/pages/nexus-edit-endpoint.svelte +++ b/src/lib/pages/nexus-edit-endpoint.svelte @@ -34,20 +34,9 @@
-
-

- {endpoint.spec.name} -

-
- - -
-
+

+ {endpoint.spec.name} +

-
- +
+
+ + +
+ Date: Wed, 4 Dec 2024 14:30:39 -0700 Subject: [PATCH 4/4] Update action buttons on start workflow form --- src/lib/pages/start-workflow.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/pages/start-workflow.svelte b/src/lib/pages/start-workflow.svelte index 10b20c5f8..8d141ce8c 100644 --- a/src/lib/pages/start-workflow.svelte +++ b/src/lib/pages/start-workflow.svelte @@ -193,7 +193,7 @@ $: checkTaskQueue(taskQueueParam); -
+
{/if} -
+
{translate('workflows.start-workflow')}{translate('workflows.start-workflow')}
{#if error}