diff --git a/server/go.sum b/server/go.sum
index 4d644ed0fc..30e0b1f093 100644
--- a/server/go.sum
+++ b/server/go.sum
@@ -18,8 +18,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
-github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA=
-github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
github.com/go-jose/go-jose/v4 v4.1.6 h1:sNRkftxFJxwsILiQukqp5z83QBSmntVwmgRY7AqBDO4=
github.com/go-jose/go-jose/v4 v4.1.6/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8=
diff --git a/src/lib/components/batch-operations/empty-state.svelte b/src/lib/components/batch-operations/empty-state.svelte
new file mode 100644
index 0000000000..55b42b4df4
--- /dev/null
+++ b/src/lib/components/batch-operations/empty-state.svelte
@@ -0,0 +1,24 @@
+
+
+ {translate('batch.empty-state-description')}
+ {translate('batch.empty-state-read-docs-prefix')}
+
+ {translate('batch.empty-state-docs-link')}
+
+ {translate('batch.empty-state-read-docs-suffix')}
+
-
-
- {translate('deployments.empty-state-title')} -
-- {translate('deployments.empty-state-description')} -
-{content}
+ {/if} ++ {label} +
+ {/if} +{translate('schedules.no-schedules-description')}
++ {translate('schedules.getting-started-docs-link-preface')} + {translate('schedules.getting-started-docs-link')} + {translate('schedules.getting-started-cli-link-preface')} + Temporal CLI. +
+ {/snippet} + {#snippet resources()} +- {#if $activityError} - {$activityError} - {:else} - {translate('standalone-activities.empty-state-description')} - {/if} -
-+ {translate('standalone-activities.empty-state-read-docs-prefix')} + + {translate('standalone-activities.empty-state-activity-docs-link')} + + {translate('standalone-activities.empty-state-read-docs-middle')} + - {$activityError} -
- {translate('standalone-activities.standalone-activities')}{translate( - 'standalone-activities.no-activities-description-part-1-preface', - )}{translate('standalone-activities.job-queue-link')}{translate( - 'standalone-activities.no-activities-description-part-1-postface', - )} -
-- {translate('standalone-activities.no-activities-description-part-2')} -
-- {translate('standalone-activities.no-activities-description-part-3')} -
-+ {translate('standalone-nexus-operations.empty-state-value-proposition')} +
++ {translate('standalone-nexus-operations.empty-state-read-docs-prefix')} + + {translate('standalone-nexus-operations.empty-state-nexus-docs-link')} + + {translate('standalone-nexus-operations.empty-state-read-docs-middle')} + {translate( - 'standalone-nexus-operations.nexus-operation-query-error-state', + 'standalone-nexus-operations.empty-state-nexus-eval-guide-link', )} - {:else} - {translate('standalone-nexus-operations.empty-state-title')} - {/if} -
- {#if $nexusOperationError} - {$nexusOperationError} - {:else} - {translate('standalone-nexus-operations.empty-state-description')} - {/if} + + {translate('standalone-nexus-operations.empty-state-read-docs-suffix')}
-- {translate( - 'standalone-nexus-operations.empty-state-value-proposition', - )} -
-- {translate( - 'standalone-nexus-operations.empty-state-read-docs-prefix', - )} - - {translate( - 'standalone-nexus-operations.empty-state-nexus-docs-link', - )} - - {translate( - 'standalone-nexus-operations.empty-state-read-docs-middle', - )} - - {translate( - 'standalone-nexus-operations.empty-state-nexus-eval-guide-link', - )} - - {translate( - 'standalone-nexus-operations.empty-state-read-docs-suffix', - )} -
-
- {translate('workers.worker-heartbeats-sdk-link-preface')}
-
-
- {translate('workers.worker-heartbeats-sdk-list-preface')} -
-- {#if $workflowError} - {$workflowError} - {:else} - {hasTaskFailuresQuery - ? translate( - 'workflows.workflow-task-failures-query-empty-state-description', - ) - : translate('workflows.workflow-query-empty-state-description')} - {/if} -
+ {#snippet illustration()} {#if hasTaskFailuresQuery} -- {translate('workflows.workflow-empty-state-description')} - github.com/temporalio. -
-+ {translate('workflows.workflow-empty-state-value-proposition')} +
++ {translate('workflows.workflow-empty-state-read-docs-prefix')} + + {translate('workflows.workflow-empty-state-docs-link')} + + {translate('workflows.workflow-empty-state-read-docs-suffix')} +
+ {/snippet} + {#snippet resources()} +{translate('nexus.registry-empty-state-nexus-link')} @@ -70,9 +64,3 @@ {translate('nexus.registry-empty-state-proxy-postface')}
{/snippet} - - diff --git a/src/lib/pages/schedules.svelte b/src/lib/pages/schedules.svelte index ddd5dda1dc..e5fe1aa07a 100644 --- a/src/lib/pages/schedules.svelte +++ b/src/lib/pages/schedules.svelte @@ -4,25 +4,24 @@ import { page } from '$app/state'; import CountRefreshButton from '$lib/components/count-refresh-button.svelte'; + import EmptyStateTransition from '$lib/components/empty-states/empty-state-transition.svelte'; import SavedQueryViews from '$lib/components/saved-query-views/saved-views.svelte'; import { scheduledActionPresentations } from '$lib/components/schedule/scheduled-action-types/presentation-registry'; import { resolveScheduledActionListEntry } from '$lib/components/schedule/scheduled-action-types/resolve-scheduled-action-list-entry'; + import SchedulesEmptyState from '$lib/components/schedule/schedules-list/schedules-empty-state.svelte'; import SchedulesTableRow from '$lib/components/schedule/schedules-list/schedules-table-row.svelte'; import FilterBar from '$lib/components/search-attribute-filter/filter-bar.svelte'; import ConfigurableTableHeadersDrawer from '$lib/components/table/configurable-table-headers-drawer.svelte'; import ResetColumnWidthsButton from '$lib/components/table/reset-column-widths-button.svelte'; import { timestamp } from '$lib/components/timestamp.svelte'; - import Alert from '$lib/holocene/alert.svelte'; import Button from '$lib/holocene/button.svelte'; - import EmptyState from '$lib/holocene/empty-state.svelte'; - import Link from '$lib/holocene/link.svelte'; import ColumnResizeHandle from '$lib/holocene/table/column-resize-handle.svelte'; import PaginatedTable from '$lib/holocene/table/paginated-table/api-paginated.svelte'; import MaximizableTableView from '$lib/holocene/table/paginated-table/maximizable-view.svelte'; import SortableTableHeader from '$lib/holocene/table/sortable-table-header.svelte'; import Tooltip from '$lib/holocene/tooltip.svelte'; import { translate } from '$lib/i18n/translate'; - import { IconTemporalSettings, IconWarning } from '$lib/io/icon'; + import { IconTemporalSettings } from '$lib/io/icon'; import { createCountPoller } from '$lib/runes/count-poller.svelte'; import { createTableSort } from '$lib/runes/table-sort-state.svelte'; import { fetchPaginatedSchedules } from '$lib/services/schedule-service'; @@ -213,118 +212,105 @@- {translate('schedules.getting-started-docs-link-preface')} - {translate('schedules.getting-started-docs-link')} - {translate('schedules.getting-started-cli-link-preface')} - Temporal CLI. -
-