start of beta panel

This commit is contained in:
Martin McKeaveney 2022-06-07 16:40:43 +01:00
parent 4f1f2abf21
commit 5b58981a53
7 changed files with 44 additions and 19 deletions

View File

@ -0,0 +1,26 @@
<script>
import { Body, Button, Layout, Heading } from "@budibase/bbui"
import { CookieUtils } from "@budibase/frontend-core"
function openFeedbackApp() {
window.open(`https://bb.budibase.app/betauifeedback`)
}
function revertToOldBuilder() {
CookieUtils.removeCookie("beta:new_design_ui")
window.location.reload()
}
</script>
<Layout>
<Heading size="M">Beta Builder</Heading>
<Body>
Your account has been given access to the budibase beta program. We would
love to hear what you think and get your feedback and suggestions on the new
Design UI.
</Body>
<Button cta on:click={openFeedbackApp}>Give Feedback</Button>
<Button secondary on:click={revertToOldBuilder}
>Revert back to old builder</Button
>
</Layout>

View File

@ -0,0 +1,8 @@
<script>
import { Layout } from "@budibase/bbui"
</script>
<!-- routify:options index=5 -->
<Layout gap="S" justifyItems="center">
<slot />
</Layout>

View File

@ -0,0 +1,5 @@
<script>
import BetaTab from "components/beta/BetaTab.svelte"
</script>
<BetaTab />

View File

@ -27,6 +27,7 @@
import AppLockModal from "components/common/AppLockModal.svelte"
import EditableIcon from "components/common/EditableIcon.svelte"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
import BetaTab from "components/beta/BetaTab.svelte"
import { checkIncomingDeploymentStatus } from "components/deploy/utils"
import { onDestroy, onMount } from "svelte"
@ -318,6 +319,9 @@
<Tab title="Settings">
<SettingsTab app={selectedApp} />
</Tab>
<Tab title="Beta">
<BetaTab />
</Tab>
</Tabs>
</div>
<ConfirmDialog

View File

@ -2,7 +2,7 @@
import { onMount, onDestroy } from "svelte"
import Indicator from "./Indicator.svelte"
import { domDebounce } from "utils/domDebounce"
import { builderStore, componentStore } from "stores"
import { builderStore } from "stores"
export let componentId
export let color

View File

@ -1092,21 +1092,12 @@
svelte-flatpickr "^3.2.3"
svelte-portal "^1.0.0"
<<<<<<< HEAD
"@budibase/pro@1.0.178-alpha.0":
version "1.0.178-alpha.0"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.178-alpha.0.tgz#40a137cdde7f467034d0684882b97e3e4e34a706"
integrity sha512-q2XboAmumM2eczhbye/dLcnqkrk9cqXlcGP4IjpNvaNfgFx3Q0pYncr18J5DmmcFoPF+J1zZux5M48dLZxfOCg==
dependencies:
"@budibase/backend-core" "1.0.178-alpha.0"
=======
"@budibase/pro@^1.0.175":
version "1.0.175"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.175.tgz#1d8ddc698ad17e2f5d73b1ab741c6641da4bda47"
integrity sha512-iGqOtsXeO5bHcg4IJjg8NwOK5bNjI3TnJCr7PtcTjlLyZyCyj+onL2GTk3A6X+d1ZKSQKy9bl3Q+hIsdbZ9GIg==
dependencies:
"@budibase/backend-core" "1.0.175"
>>>>>>> eaf3eea73d7d2927f5b87f5fede628947362297a
node-fetch "^2.6.1"
"@budibase/standard-components@^0.9.139":

View File

@ -322,21 +322,12 @@
uuid "^8.3.2"
zlib "^1.0.5"
<<<<<<< HEAD
"@budibase/pro@1.0.178-alpha.0":
version "1.0.178-alpha.0"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.178-alpha.0.tgz#40a137cdde7f467034d0684882b97e3e4e34a706"
integrity sha512-q2XboAmumM2eczhbye/dLcnqkrk9cqXlcGP4IjpNvaNfgFx3Q0pYncr18J5DmmcFoPF+J1zZux5M48dLZxfOCg==
dependencies:
"@budibase/backend-core" "1.0.178-alpha.0"
=======
"@budibase/pro@^1.0.175":
version "1.0.175"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.175.tgz#1d8ddc698ad17e2f5d73b1ab741c6641da4bda47"
integrity sha512-iGqOtsXeO5bHcg4IJjg8NwOK5bNjI3TnJCr7PtcTjlLyZyCyj+onL2GTk3A6X+d1ZKSQKy9bl3Q+hIsdbZ9GIg==
dependencies:
"@budibase/backend-core" "1.0.175"
>>>>>>> eaf3eea73d7d2927f5b87f5fede628947362297a
node-fetch "^2.6.1"
"@cspotcode/source-map-consumer@0.8.0":