Remove beta button from grid, add feedback button to data section linking to collaboration maze

This commit is contained in:
Andrew Kingston 2023-06-05 08:48:02 +01:00
parent 4f176b3edd
commit 920fea7b1f
5 changed files with 8 additions and 23 deletions

View File

@ -2,13 +2,11 @@
import { Button } from "@budibase/bbui"
</script>
<div class="beta-background" />
<div class="beta">
Enjoying the Grid?
<Button
size="M"
cta
on:click={() => window.open("https://t.maze.co/156382627", "_blank")}
on:click={() => window.open("https://t.maze.co/165900794", "_blank")}
>
Give Feedback
</Button>
@ -17,30 +15,16 @@
<style>
.beta {
position: absolute;
bottom: 32px;
right: 32px;
bottom: var(--spacing-xl);
right: 24px;
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
z-index: 10;
}
.beta :global(.spectrum-Button) {
background: var(--spectrum-global-color-magenta-400);
border-color: var(--spectrum-global-color-magenta-400);
}
.beta-background {
z-index: 0;
pointer-events: none;
position: absolute;
bottom: -230px;
right: -105px;
width: 1400px;
height: 320px;
transform: rotate(-22deg);
background: linear-gradient(
to top,
var(--cell-background) 20%,
transparent
);
}
</style>

View File

@ -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"
</script>
<!-- routify:options index=1 -->
@ -19,6 +20,7 @@
<div class="content">
<slot />
</div>
<BetaButton />
</div>
<style>
@ -39,5 +41,6 @@
justify-content: flex-start;
align-items: stretch;
flex: 1 1 auto;
z-index: 1;
}
</style>

View File

@ -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"

View File

@ -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 @@
<HeaderRow />
<GridBody />
</div>
<BetaButton />
{#if allowAddRows}
<NewRow />
{/if}