From 173975aadd059e23221e79f6243f6e2766e04fa3 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Tue, 28 Nov 2023 09:58:36 +0100 Subject: [PATCH] Add footprint select to user jobList --- web/frontend/src/Jobs.root.svelte | 3 ++- web/frontend/src/MetricSelection.svelte | 3 +++ web/frontend/src/User.root.svelte | 10 ++++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/web/frontend/src/Jobs.root.svelte b/web/frontend/src/Jobs.root.svelte index 2f2f9dc..d7cbf37 100644 --- a/web/frontend/src/Jobs.root.svelte +++ b/web/frontend/src/Jobs.root.svelte @@ -98,4 +98,5 @@ configName="plot_list_selectedMetrics" bind:metrics={metrics} bind:isOpen={isMetricsSelectionOpen} - bind:showFootprint={showFootprint}/> + bind:showFootprint={showFootprint} + view='list'/> diff --git a/web/frontend/src/MetricSelection.svelte b/web/frontend/src/MetricSelection.svelte index 5b54ba8..5f55cb7 100644 --- a/web/frontend/src/MetricSelection.svelte +++ b/web/frontend/src/MetricSelection.svelte @@ -18,6 +18,7 @@ export let allMetrics = null export let cluster = null export let showFootprint + export let view = 'job' const clusters = getContext('clusters'), onInit = getContext('on-init') @@ -135,10 +136,12 @@ + {#if view === 'list'}
  • Show Footprint

  • + {/if} {#each newMetricsOrder as metric, index (metric)}
  • + bind:this={jobList} + bind:showFootprint={showFootprint} /> @@ -177,4 +181,6 @@ bind:cluster={selectedCluster} configName="plot_list_selectedMetrics" bind:metrics={metrics} - bind:isOpen={isMetricsSelectionOpen} /> \ No newline at end of file + bind:isOpen={isMetricsSelectionOpen} + bind:showFootprint={showFootprint} + view='list'/> \ No newline at end of file