From b71b5704da65b65ba53d3216b32479a4b1fa9d9d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 21 Nov 2022 11:05:06 +0000 Subject: [PATCH] Use overlay side panel and update table block side panel heading --- packages/client/manifest.json | 2 +- .../client/src/components/app/Layout.svelte | 19 ++++++++++----- .../components/app/blocks/TableBlock.svelte | 24 +++++++++++++++---- yarn.lock | 8 +++---- 4 files changed, 38 insertions(+), 15 deletions(-) diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 806590f92a..4f8c184899 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -4476,7 +4476,7 @@ "Ascending", "Descending" ], - "defaultValue": "Descending" + "defaultValue": "Ascending" }, { "type": "select", diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index 03a0d33f56..971b9303d9 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -1,7 +1,7 @@ {#if schemaLoaded} @@ -183,7 +198,7 @@ props={{ dataSource, filter: enrichedFilter, - sortColumn, + sortColumn: sortColumn || primaryDisplay, sortOrder, paginate, limit: rowCount, @@ -216,6 +231,7 @@ diff --git a/yarn.lock b/yarn.lock index a0c22d92bf..4cfb66951c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6559,10 +6559,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@4.5.5: - version "4.5.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" - integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== +typescript@4.7.3: + version "4.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d" + integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA== typescript@^3.9.10, typescript@^3.9.5, typescript@^3.9.7: version "3.9.10"