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" import { Button } from "@budibase/bbui"
</script> </script>
<div class="beta-background" />
<div class="beta"> <div class="beta">
Enjoying the Grid?
<Button <Button
size="M" size="M"
cta cta
on:click={() => window.open("https://t.maze.co/156382627", "_blank")} on:click={() => window.open("https://t.maze.co/165900794", "_blank")}
> >
Give Feedback Give Feedback
</Button> </Button>
@ -17,30 +15,16 @@
<style> <style>
.beta { .beta {
position: absolute; position: absolute;
bottom: 32px; bottom: var(--spacing-xl);
right: 32px; right: 24px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 16px; gap: 16px;
z-index: 10;
} }
.beta :global(.spectrum-Button) { .beta :global(.spectrum-Button) {
background: var(--spectrum-global-color-magenta-400); background: var(--spectrum-global-color-magenta-400);
border-color: 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> </style>

View File

@ -3,6 +3,7 @@
import DatasourceNavigator from "components/backend/DatasourceNavigator/DatasourceNavigator.svelte" import DatasourceNavigator from "components/backend/DatasourceNavigator/DatasourceNavigator.svelte"
import Panel from "components/design/Panel.svelte" import Panel from "components/design/Panel.svelte"
import { isActive, goto } from "@roxi/routify" import { isActive, goto } from "@roxi/routify"
import BetaButton from "./_components/BetaButton.svelte"
</script> </script>
<!-- routify:options index=1 --> <!-- routify:options index=1 -->
@ -19,6 +20,7 @@
<div class="content"> <div class="content">
<slot /> <slot />
</div> </div>
<BetaButton />
</div> </div>
<style> <style>
@ -39,5 +41,6 @@
justify-content: flex-start; justify-content: flex-start;
align-items: stretch; align-items: stretch;
flex: 1 1 auto; flex: 1 1 auto;
z-index: 1;
} }
</style> </style>

View File

@ -13,7 +13,7 @@
import DatasourceConfigModal from "components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte" import DatasourceConfigModal from "components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte"
import GoogleDatasourceConfigModal from "components/backend/DatasourceNavigator/modals/GoogleDatasourceConfigModal.svelte" import GoogleDatasourceConfigModal from "components/backend/DatasourceNavigator/modals/GoogleDatasourceConfigModal.svelte"
import { createRestDatasource } from "builderStore/datasource" 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 IntegrationIcon from "components/backend/DatasourceNavigator/IntegrationIcon.svelte"
import ICONS from "components/backend/DatasourceNavigator/icons/index.js" import ICONS from "components/backend/DatasourceNavigator/icons/index.js"
import FontAwesomeIcon from "components/common/FontAwesomeIcon.svelte" import FontAwesomeIcon from "components/common/FontAwesomeIcon.svelte"

View File

@ -7,7 +7,6 @@
import { createAPIClient } from "../../../api" import { createAPIClient } from "../../../api"
import { attachStores } from "../stores" import { attachStores } from "../stores"
import BulkDeleteHandler from "../controls/BulkDeleteHandler.svelte" import BulkDeleteHandler from "../controls/BulkDeleteHandler.svelte"
import BetaButton from "../controls/BetaButton.svelte"
import GridBody from "./GridBody.svelte" import GridBody from "./GridBody.svelte"
import ResizeOverlay from "../overlays/ResizeOverlay.svelte" import ResizeOverlay from "../overlays/ResizeOverlay.svelte"
import ReorderOverlay from "../overlays/ReorderOverlay.svelte" import ReorderOverlay from "../overlays/ReorderOverlay.svelte"
@ -144,7 +143,6 @@
<HeaderRow /> <HeaderRow />
<GridBody /> <GridBody />
</div> </div>
<BetaButton />
{#if allowAddRows} {#if allowAddRows}
<NewRow /> <NewRow />
{/if} {/if}