From 86eec3bb52d1b5bceb52a22b7b956500f5220f05 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 12 Nov 2021 19:24:56 +0000 Subject: [PATCH] Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. --- .../bbui/src/InlineAlert/InlineAlert.svelte | 2 +- .../DataTable/modals/ImportModal.svelte | 9 +++++++- .../api/controllers/row/ExternalRequest.ts | 5 ++-- .../src/api/controllers/row/external.js | 2 ++ .../src/api/controllers/table/external.js | 23 ++++--------------- packages/server/src/constants/index.js | 1 + packages/server/src/definitions/datasource.ts | 5 ++-- packages/server/src/integrations/base/sql.ts | 13 +++++++++++ packages/server/src/utilities/csvParser.js | 2 +- 9 files changed, 36 insertions(+), 26 deletions(-) diff --git a/packages/bbui/src/InlineAlert/InlineAlert.svelte b/packages/bbui/src/InlineAlert/InlineAlert.svelte index a3c400e148..2e4dd0f69a 100644 --- a/packages/bbui/src/InlineAlert/InlineAlert.svelte +++ b/packages/bbui/src/InlineAlert/InlineAlert.svelte @@ -47,6 +47,6 @@ --spectrum-semantic-positive-border-color: #2d9d78; --spectrum-semantic-positive-icon-color: #2d9d78; --spectrum-semantic-negative-icon-color: #e34850; - min-width: 150px !important; + min-width: 100px; } diff --git a/packages/builder/src/components/backend/DataTable/modals/ImportModal.svelte b/packages/builder/src/components/backend/DataTable/modals/ImportModal.svelte index 1274a783e2..88d001a444 100644 --- a/packages/builder/src/components/backend/DataTable/modals/ImportModal.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/ImportModal.svelte @@ -1,5 +1,5 @@