diff --git a/package-lock.json b/package-lock.json index 7ecbed8684..e7e847b45b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "temporal-ui", "version": "0.0.1", "dependencies": { + "@sveltejs/svelte-virtual-list": "^3.0.1", "@fortawesome/free-solid-svg-icons": "^5.15.4", "date-fns": "^2.23.0", "json-beautify": "^1.1.1", @@ -1294,6 +1295,11 @@ "svelte": "^3.44.0" } }, + "node_modules/@sveltejs/svelte-virtual-list": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sveltejs/svelte-virtual-list/-/svelte-virtual-list-3.0.1.tgz", + "integrity": "sha512-aF9TptS7NKKS7/TqpsxQBSDJ9Q0XBYzBehCeIC5DzdMEgrJZpIYao9LRLnyyo6SVodpapm2B7FE/Lj+FSA5/SQ==" + }, "node_modules/@sveltejs/vite-plugin-svelte": { "version": "1.0.0-next.30", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.0-next.30.tgz", @@ -10649,6 +10655,11 @@ "vite": "^2.6.10" } }, + "@sveltejs/svelte-virtual-list": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sveltejs/svelte-virtual-list/-/svelte-virtual-list-3.0.1.tgz", + "integrity": "sha512-aF9TptS7NKKS7/TqpsxQBSDJ9Q0XBYzBehCeIC5DzdMEgrJZpIYao9LRLnyyo6SVodpapm2B7FE/Lj+FSA5/SQ==" + }, "@sveltejs/vite-plugin-svelte": { "version": "1.0.0-next.30", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.0-next.30.tgz", diff --git a/package.json b/package.json index cf0cfd8c9f..d8dbc15fe3 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "cypress:open": "TEMPORAL_API_HOST=http://localhost:3000 cypress open" }, "dependencies": { + "@sveltejs/svelte-virtual-list": "^3.0.1", "@fortawesome/free-solid-svg-icons": "^5.15.4", "date-fns": "^2.23.0", "json-beautify": "^1.1.1", diff --git a/src/routes/namespaces/[namespace]/workflows/_workflows-summary-row.svelte b/src/routes/namespaces/[namespace]/workflows/_workflows-summary-row.svelte index 0484b08b2c..b4a694850c 100644 --- a/src/routes/namespaces/[namespace]/workflows/_workflows-summary-row.svelte +++ b/src/routes/namespaces/[namespace]/workflows/_workflows-summary-row.svelte @@ -2,9 +2,7 @@ import type { WorkflowExecution } from '$lib/models/workflow-execution'; import { namespace } from '$lib/stores/namespace'; - import { page } from '$app/stores'; import { getWorkflowExecutionUrl } from '$lib/utilities/get-workflow-execution-url'; - import { pathMatches } from '$lib/utilities/path-matches'; import Time from '$lib/components/workflow-time.svelte'; import WorkflowStatus from '$lib/components/workflow-status.svelte'; @@ -12,73 +10,42 @@ export let timeFormat: string; $: href = getWorkflowExecutionUrl($namespace, workflow); - $: isActive = pathMatches(href, $page.path); -
- {workflow.id} - -
-| Workflow Name | -Workflow ID | -Status | -Started | -Ended | -
|---|