diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryParamsPopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryParamsPopover.svelte
index 038e4cf9b1..bc34d4d80c 100644
--- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryParamsPopover.svelte
+++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryParamsPopover.svelte
@@ -22,13 +22,12 @@
-
+ active={false}>
+
Add Parameters
-
+
@@ -38,5 +37,6 @@
\ No newline at end of file
diff --git a/packages/builder/src/components/integration/QueryEditor.svelte b/packages/builder/src/components/integration/QueryEditor.svelte
index 22cddb5606..2b5965613e 100644
--- a/packages/builder/src/components/integration/QueryEditor.svelte
+++ b/packages/builder/src/components/integration/QueryEditor.svelte
@@ -155,8 +155,9 @@
}
:global(.CodeMirror) {
- height: auto !important;
- border-radius: var(--border-radius-m);
- font-family: var(--font-sans) !important;
+ height: 500px !important;
+ border-radius: var(--border-radius-s);
+ font-family: monospace !important;
+ line-height: 1.3;
}
diff --git a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
index 83a03c72d1..d5f4b3bd8b 100644
--- a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
+++ b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
@@ -24,18 +24,18 @@
-
{#if schema.customisable}
- import { Button, TextArea, Label, Input, Heading } from "@budibase/bbui"
+ import {
+ Button,
+ TextArea,
+ Label,
+ Input,
+ Heading,
+ Spacer,
+ } from "@budibase/bbui"
import BindableInput from "components/userInterface/BindableInput.svelte"
import {
readableToRuntimeBinding,
@@ -31,19 +38,22 @@
Parameters
+
{#if !bindable}
-
+
{/if}
diff --git a/packages/builder/src/components/integration/QueryViewer.svelte b/packages/builder/src/components/integration/QueryViewer.svelte
index 712657b0c3..da5f4e1a40 100644
--- a/packages/builder/src/components/integration/QueryViewer.svelte
+++ b/packages/builder/src/components/integration/QueryViewer.svelte
@@ -131,53 +131,44 @@
- {query.name}
+
+
+
{#if config}
-
-
-
-
-
+
{#if shouldShowQueryConfig}
-
-
-
-
-
-
+
+
-
+
@@ -189,10 +180,11 @@
{:else if tab === 'SCHEMA'}
{#each fields as field, idx}
+
-
-
-
+
+
+
@@ -203,7 +195,8 @@
on:click={() => deleteField(idx)} />
{/each}
-
+
+
{/if}
{/if}
@@ -213,11 +206,28 @@
{/if}
diff --git a/packages/builder/src/components/integration/index.svelte b/packages/builder/src/components/integration/index.svelte
index 2206694fd6..a4f59459c0 100644
--- a/packages/builder/src/components/integration/index.svelte
+++ b/packages/builder/src/components/integration/index.svelte
@@ -20,8 +20,6 @@
}
-Query
-
{#if schema}
{#key query._id}
@@ -33,7 +31,6 @@
readOnly={!editable}
value={query.fields.sql} />
{:else if schema.type === QueryTypes.JSON}
-
query._id === $backendUiStore.selectedQueryId
) || {
datasourceId: $params.selectedDatasource,
- name: "New Query",
parameters: [],
fields: {},
queryVerb: "read",
@@ -36,8 +35,10 @@