diff --git a/web-common/src/components/icons/FeatherEditIcon.svelte b/web-common/src/components/icons/FeatherEditIcon.svelte index 1ac1550e61b0..ab62b16d65ab 100644 --- a/web-common/src/components/icons/FeatherEditIcon.svelte +++ b/web-common/src/components/icons/FeatherEditIcon.svelte @@ -1,5 +1,6 @@ @@ -15,11 +16,11 @@ fill-rule="evenodd" clip-rule="evenodd" d="M11.6673 0.512695C11.1844 0.512695 10.7213 0.704526 10.3798 1.04599L4.83817 6.58765C4.76341 6.66241 4.71038 6.75608 4.68473 6.85865L4.1014 9.19199C4.0517 9.39077 4.10995 9.60106 4.25484 9.74594C4.39973 9.89083 4.61001 9.94908 4.8088 9.89938L7.14213 9.31605C7.2447 9.29041 7.33837 9.23737 7.41313 9.16261L12.9548 3.62094C13.2963 3.27948 13.4881 2.81636 13.4881 2.33347C13.4881 1.85057 13.2963 1.38745 12.9548 1.04599C12.6133 0.704526 12.1502 0.512695 11.6673 0.512695ZM11.2048 1.87094C11.3275 1.74828 11.4938 1.67936 11.6673 1.67936C11.8408 1.67936 12.0072 1.74828 12.1298 1.87094C12.2525 1.99361 12.3214 2.15999 12.3214 2.33347C12.3214 2.50694 12.2525 2.67332 12.1298 2.79599L6.70242 8.2234L5.46903 8.53175L5.77738 7.29836L11.2048 1.87094Z" - fill="#0A0A0A" + fill={color} /> diff --git a/web-common/src/components/icons/PencilIcon.svelte b/web-common/src/components/icons/PencilIcon.svelte index 2c9d41079efc..9bf9eb2b2e66 100644 --- a/web-common/src/components/icons/PencilIcon.svelte +++ b/web-common/src/components/icons/PencilIcon.svelte @@ -1,5 +1,6 @@ @@ -14,10 +15,10 @@ fill-rule="evenodd" clip-rule="evenodd" d="M10.4994 1.0957C10.0165 1.0957 9.55334 1.28753 9.21188 1.62899L1.92022 8.92066C1.84546 8.99542 1.79242 9.08909 1.76678 9.19166L1.18344 11.525C1.13375 11.7238 1.19199 11.9341 1.33688 12.079C1.48177 12.2238 1.69206 12.2821 1.89084 12.2324L4.22417 11.6491C4.32674 11.6234 4.42041 11.5704 4.49517 11.4956L11.7868 4.20395C11.9559 4.03488 12.09 3.83416 12.1815 3.61325C12.273 3.39235 12.3201 3.15558 12.3201 2.91647C12.3201 2.67737 12.273 2.4406 12.1815 2.21969C12.09 1.99879 11.9559 1.79807 11.7868 1.62899C11.6178 1.45992 11.417 1.3258 11.1961 1.2343C10.9752 1.1428 10.7385 1.0957 10.4994 1.0957ZM10.0368 2.45395C10.1595 2.33128 10.3259 2.26237 10.4994 2.26237C10.5853 2.26237 10.6703 2.27929 10.7497 2.31216C10.829 2.34503 10.9011 2.39321 10.9619 2.45395C11.0226 2.51469 11.0708 2.5868 11.1037 2.66616C11.1365 2.74552 11.1535 2.83058 11.1535 2.91647C11.1535 3.00237 11.1365 3.08743 11.1037 3.16679C11.0708 3.24615 11.0226 3.31825 10.9619 3.37899L3.78447 10.5564L2.55108 10.8648L2.85942 9.63137L10.0368 2.45395Z" - fill="#0A0A0A" + fill={color} /> diff --git a/web-common/src/features/add-data/manager/GenerateDashboardStatus.svelte b/web-common/src/features/add-data/manager/GenerateDashboardStatus.svelte index 06dc6b59b29c..3dbefb17108e 100644 --- a/web-common/src/features/add-data/manager/GenerateDashboardStatus.svelte +++ b/web-common/src/features/add-data/manager/GenerateDashboardStatus.svelte @@ -67,6 +67,8 @@ let error: string | null = null; $: hasErrored = !!error; + let skipped = false; + async function runImport() { importStep = ImportDataStep.Init; error = null; @@ -99,6 +101,7 @@ }, ); onDone(); + if (skipped) return; // Do not auto-navigate to the file if skipped return goto(currentFileRoute); } catch (e) { error = e?.response?.data?.message ?? e?.message ?? "Unknown error"; @@ -117,6 +120,12 @@ onBack(); } + function skipAndViewProject() { + skipped = true; + onDone(); + void goto(currentFileRoute); + } + onMount(runImport); @@ -181,8 +190,7 @@