From ec51ca2ce611fdb2726b0fad31adbc3a55967220 Mon Sep 17 00:00:00 2001 From: Dave Falke Date: Fri, 3 Nov 2023 13:24:05 -0400 Subject: [PATCH] Eda categorical collection type (#592) * Make `distributionDefaults` optional * Tweak styling --- packages/libs/eda/src/lib/core/types/study.ts | 2 +- .../wdk-client/src/Views/UnhandledErrors/UnhandledErrors.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libs/eda/src/lib/core/types/study.ts b/packages/libs/eda/src/lib/core/types/study.ts index ef83c4f8d4..77cb85a28b 100644 --- a/packages/libs/eda/src/lib/core/types/study.ts +++ b/packages/libs/eda/src/lib/core/types/study.ts @@ -209,7 +209,6 @@ export type CollectionVariableTreeNode = t.TypeOf< export const CollectionVariableTreeNode = t.intersection([ t.type({ dataShape: t.string, - distributionDefaults: NumberDistributionDefaults, id: t.string, memberVariableIds: t.array(t.string), type: t.string, @@ -224,6 +223,7 @@ export const CollectionVariableTreeNode = t.intersection([ isCompositional: t.boolean, isProportion: t.boolean, normalizationMethod: t.string, + distributionDefaults: NumberDistributionDefaults, }), ]); diff --git a/packages/libs/wdk-client/src/Views/UnhandledErrors/UnhandledErrors.scss b/packages/libs/wdk-client/src/Views/UnhandledErrors/UnhandledErrors.scss index 25e2fc3cbf..01b2b377f6 100644 --- a/packages/libs/wdk-client/src/Views/UnhandledErrors/UnhandledErrors.scss +++ b/packages/libs/wdk-client/src/Views/UnhandledErrors/UnhandledErrors.scss @@ -54,7 +54,7 @@ &--Details { overflow: auto; - max-height: calc(100vh - 46em); + max-height: calc(80vh - 46em); font-size: 0.9em; color: #000000e6;