diff --git a/packages/builder/src/components/common/HelpMenu.svelte b/packages/builder/src/components/common/HelpMenu.svelte index 274565b255..06ff277d18 100644 --- a/packages/builder/src/components/common/HelpMenu.svelte +++ b/packages/builder/src/components/common/HelpMenu.svelte @@ -83,7 +83,7 @@ .help { z-index: 2; position: absolute; - bottom: var(--spacing-xl); + bottom: 24px; right: 24px; } diff --git a/packages/frontend-core/src/components/grid/controls/BetaButton.svelte b/packages/builder/src/pages/builder/app/[application]/data/_components/BetaButton.svelte similarity index 50% rename from packages/frontend-core/src/components/grid/controls/BetaButton.svelte rename to packages/builder/src/pages/builder/app/[application]/data/_components/BetaButton.svelte index e5069388e7..3cfe4b4d8d 100644 --- a/packages/frontend-core/src/components/grid/controls/BetaButton.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/_components/BetaButton.svelte @@ -2,13 +2,11 @@ import { Button } from "@budibase/bbui" -
- Enjoying the Grid? @@ -17,30 +15,16 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/data/_DatasourceOption.svelte b/packages/builder/src/pages/builder/app/[application]/data/_components/DatasourceOption.svelte similarity index 100% rename from packages/builder/src/pages/builder/app/[application]/data/_DatasourceOption.svelte rename to packages/builder/src/pages/builder/app/[application]/data/_components/DatasourceOption.svelte diff --git a/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte index 87c4db81df..c0813fd2b8 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte @@ -3,6 +3,7 @@ import DatasourceNavigator from "components/backend/DatasourceNavigator/DatasourceNavigator.svelte" import Panel from "components/design/Panel.svelte" import { isActive, goto } from "@roxi/routify" + import BetaButton from "./_components/BetaButton.svelte" @@ -19,6 +20,7 @@
+
diff --git a/packages/builder/src/pages/builder/app/[application]/data/new.svelte b/packages/builder/src/pages/builder/app/[application]/data/new.svelte index f8e8fd85e7..fedaf013da 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/new.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/new.svelte @@ -13,7 +13,7 @@ import DatasourceConfigModal from "components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte" import GoogleDatasourceConfigModal from "components/backend/DatasourceNavigator/modals/GoogleDatasourceConfigModal.svelte" import { createRestDatasource } from "builderStore/datasource" - import DatasourceOption from "./_DatasourceOption.svelte" + import DatasourceOption from "./_components/DatasourceOption.svelte" import IntegrationIcon from "components/backend/DatasourceNavigator/IntegrationIcon.svelte" import ICONS from "components/backend/DatasourceNavigator/icons/index.js" import FontAwesomeIcon from "components/common/FontAwesomeIcon.svelte" diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte index 8ee469a914..333a10bef7 100644 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte @@ -20,7 +20,7 @@ Breadcrumb, Header, } from "components/portal/page" - import { apps, auth, overview } from "stores/portal" + import { apps, overview } from "stores/portal" import { AppStatus } from "constants" import analytics, { Events, EventSource } from "analytics" import { store } from "builderStore" @@ -52,8 +52,6 @@ $: appId = $overview.selectedAppId $: initialiseApp(appId) $: isPublished = app?.status === AppStatus.DEPLOYED - $: appLocked = !!app?.lockedBy - $: lockedByYou = $auth.user.email === app?.lockedBy?.email const initialiseApp = async appId => { loaded = false @@ -139,14 +137,7 @@ - + @@ -158,13 +149,7 @@ - - Edit - + Edit exportApp({ published: false })} diff --git a/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte b/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte index 66d9e5ab79..4209425c2b 100644 --- a/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte +++ b/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte @@ -58,7 +58,7 @@ } onMount(async () => { - await Promise.all(fetchConfig(), fetchAPIKey()) + await Promise.all([fetchConfig(), fetchAPIKey()]) }) const copyToClipboard = async value => { diff --git a/packages/frontend-core/src/components/grid/layout/Grid.svelte b/packages/frontend-core/src/components/grid/layout/Grid.svelte index 08325857d6..81f42ca257 100644 --- a/packages/frontend-core/src/components/grid/layout/Grid.svelte +++ b/packages/frontend-core/src/components/grid/layout/Grid.svelte @@ -7,7 +7,6 @@ import { createAPIClient } from "../../../api" import { attachStores } from "../stores" import BulkDeleteHandler from "../controls/BulkDeleteHandler.svelte" - import BetaButton from "../controls/BetaButton.svelte" import GridBody from "./GridBody.svelte" import ResizeOverlay from "../overlays/ResizeOverlay.svelte" import ReorderOverlay from "../overlays/ReorderOverlay.svelte" @@ -144,7 +143,6 @@
- {#if allowAddRows} {/if} diff --git a/packages/frontend-core/src/components/grid/lib/constants.js b/packages/frontend-core/src/components/grid/lib/constants.js index a7209d6ea4..f078ef7274 100644 --- a/packages/frontend-core/src/components/grid/lib/constants.js +++ b/packages/frontend-core/src/components/grid/lib/constants.js @@ -1,4 +1,4 @@ -export const Padding = 128 +export const Padding = 256 export const MaxCellRenderHeight = 252 export const MaxCellRenderWidthOverflow = 200 export const ScrollBarSize = 8