From cadd3b56f89b9448abe066f454f0a317f01b7cf5 Mon Sep 17 00:00:00 2001 From: Jamie Waese <120480244+jamiewaese-uncharted@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:25:09 -0400 Subject: [PATCH 1/2] misc beautification of the Dataset resource --- .../src/components/asset/tera-asset.vue | 2 +- .../components/dataset/tera-dataset-datatable.vue | 4 ++-- .../dataset/tera-dataset-overview-table.vue | 1 + .../src/components/dataset/tera-dataset.vue | 15 ++++++++++++--- .../components/widgets/tera-asset-enrichment.vue | 5 +++-- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/packages/client/hmi-client/src/components/asset/tera-asset.vue b/packages/client/hmi-client/src/components/asset/tera-asset.vue index 5589d44ed2..5c46e577f8 100644 --- a/packages/client/hmi-client/src/components/asset/tera-asset.vue +++ b/packages/client/hmi-client/src/components/asset/tera-asset.vue @@ -275,7 +275,7 @@ header { background-color: var(--surface-0); backdrop-filter: blur(6px); overflow: hidden; - z-index: 1; + z-index: 3; box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); transition: box-shadow 0.3s; } diff --git a/packages/client/hmi-client/src/components/dataset/tera-dataset-datatable.vue b/packages/client/hmi-client/src/components/dataset/tera-dataset-datatable.vue index 92a6220635..5ef60e65bf 100644 --- a/packages/client/hmi-client/src/components/dataset/tera-dataset-datatable.vue +++ b/packages/client/hmi-client/src/components/dataset/tera-dataset-datatable.vue @@ -3,7 +3,7 @@
- {{ rawContent.headers.length || 'No' }} columns | {{ rawContent.csv.length || 'No' }} rows + {{ rawContent.headers.length || 'No' }} columns | {{ rawContent.csv.length - 1 || 'No' }} rows Show column summaries @@ -238,7 +238,7 @@ watch( display: flex; flex-direction: row; gap: var(--gap); - padding-bottom: var(--gap); + padding-bottom: var(--gap-2); } .datatable-toolbar-item { display: flex; diff --git a/packages/client/hmi-client/src/components/dataset/tera-dataset-overview-table.vue b/packages/client/hmi-client/src/components/dataset/tera-dataset-overview-table.vue index fdf321e911..f42197920e 100644 --- a/packages/client/hmi-client/src/components/dataset/tera-dataset-overview-table.vue +++ b/packages/client/hmi-client/src/components/dataset/tera-dataset-overview-table.vue @@ -122,6 +122,7 @@ watch( .p-datatable:deep(.p-datatable-thead > tr > th) { background-color: var(--surface-50); + padding-left: var(--gap); } .concept, diff --git a/packages/client/hmi-client/src/components/dataset/tera-dataset.vue b/packages/client/hmi-client/src/components/dataset/tera-dataset.vue index 296b5cb833..b2f1996744 100644 --- a/packages/client/hmi-client/src/components/dataset/tera-dataset.vue +++ b/packages/client/hmi-client/src/components/dataset/tera-dataset.vue @@ -39,13 +39,13 @@
-
+

- Dataset Id + Dataset ID {{ datasetInfo.id }}

- Dataset Filenames + Dataset filenames {{ datasetInfo.fileNames }}

@@ -69,6 +69,7 @@ v-if="dataset" :dataset="dataset" @update-dataset="(dataset: Dataset) => updateAndFetchDataset(dataset)" + class="column-information-table" />