From 87f43e931b48ac515ba2b797ce3348af1c643bfe Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Thu, 5 Dec 2024 14:10:25 -0700 Subject: [PATCH 1/6] Move Start a Workflow form to Card --- src/lib/pages/start-workflow.svelte | 34 +++++++++++++---------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/src/lib/pages/start-workflow.svelte b/src/lib/pages/start-workflow.svelte index 10b20c5f8..c527a83b4 100644 --- a/src/lib/pages/start-workflow.svelte +++ b/src/lib/pages/start-workflow.svelte @@ -193,24 +193,20 @@ $: checkTaskQueue(taskQueueParam); -
-
- - {translate('workflows.back-to-workflows')} - -
-
-

- Start a Workflow -

+
+ + {translate('workflows.back-to-workflows')} + +

Start a Workflow

+
-
+

{translate('workflows.user-metadata')}

{translate('workflows.markdown-supported')} @@ -312,5 +308,5 @@ {#if error} {/if} -

+
From 3277593f96e1b29e406e5d76b38c2b1ab61c86f1 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Thu, 5 Dec 2024 14:21:26 -0700 Subject: [PATCH 2/6] Move schedule form to Card --- .../schedule/schedule-form-view.svelte | 179 +++++++++--------- 1 file changed, 90 insertions(+), 89 deletions(-) diff --git a/src/lib/components/schedule/schedule-form-view.svelte b/src/lib/components/schedule/schedule-form-view.svelte index baf3dbda5..c7ac1d2fa 100644 --- a/src/lib/components/schedule/schedule-form-view.svelte +++ b/src/lib/components/schedule/schedule-form-view.svelte @@ -8,6 +8,7 @@ import SchedulesCalendarView from '$lib/components/schedule/schedules-calendar-view.svelte'; import Alert from '$lib/holocene/alert.svelte'; import Button from '$lib/holocene/button.svelte'; + import Card from '$lib/holocene/card.svelte'; import Input from '$lib/holocene/input/input.svelte'; import Link from '$lib/holocene/link.svelte'; import Loading from '$lib/holocene/loading.svelte'; @@ -165,99 +166,99 @@ onDestroy(() => ($error = '')); -
+
{#if $loading} {:else} -
- - {backTitle} - -

{title}

-
-
-
- -
-
- -
-
- + {backTitle} + +

{title}

+ + +
+ +
+
+ +
+
+ +
+
+ +
+ -
-
- -
- - - -
- - -
-
-
From 26c24ac0fa46f38ca851907f261ebb04c5cbedc0 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Thu, 5 Dec 2024 14:22:32 -0700 Subject: [PATCH 3/6] Update custom search attribute form for responsiveness --- .../workflow/add-search-attributes.svelte | 3 +- .../search-attribute-input/index.svelte | 43 +++++++++++-------- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/lib/components/workflow/add-search-attributes.svelte b/src/lib/components/workflow/add-search-attributes.svelte index da270491d..49d51d2b3 100644 --- a/src/lib/components/workflow/add-search-attributes.svelte +++ b/src/lib/components/workflow/add-search-attributes.svelte @@ -27,13 +27,14 @@ }; -
+
{#each attributesToAdd as attribute} {/each}
{#if attribute.type === SEARCH_ATTRIBUTE_TYPE.BOOL} - + - + - + -
-
- {#each daysInMonth as day} - {@const active = daysOfMonth.includes(day)} - - {/each} -
+
+ {#each daysInMonth as day} + {@const active = daysOfMonth.includes(day)} + + {/each}
diff --git a/src/lib/holocene/day-of-week-picker.svelte b/src/lib/holocene/day-of-week-picker.svelte index be5e49445..ba2a7d8a2 100644 --- a/src/lib/holocene/day-of-week-picker.svelte +++ b/src/lib/holocene/day-of-week-picker.svelte @@ -28,7 +28,7 @@
-
+
{#each genericWeekDays as { label, value }} {@const active = daysOfWeek.includes(value)}