From 645ba9643f210f1a964d27f5f4622af5b590b517 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 21 Oct 2020 17:24:08 +0100 Subject: [PATCH] feedback nav icon loads iframe to public page --- .../components/common/Icons/Feedback.svelte | 11 +++ .../src/components/common/Icons/index.js | 1 + .../components/userInterface/Feedback.svelte | 76 +++++++++++++++++++ .../src/pages/[application]/_reset.svelte | 2 + 4 files changed, 90 insertions(+) create mode 100644 packages/builder/src/components/common/Icons/Feedback.svelte create mode 100644 packages/builder/src/components/userInterface/Feedback.svelte diff --git a/packages/builder/src/components/common/Icons/Feedback.svelte b/packages/builder/src/components/common/Icons/Feedback.svelte new file mode 100644 index 0000000000..e34415d612 --- /dev/null +++ b/packages/builder/src/components/common/Icons/Feedback.svelte @@ -0,0 +1,11 @@ + + + + diff --git a/packages/builder/src/components/common/Icons/index.js b/packages/builder/src/components/common/Icons/index.js index 7082b1b5e0..f11188ee34 100644 --- a/packages/builder/src/components/common/Icons/index.js +++ b/packages/builder/src/components/common/Icons/index.js @@ -33,3 +33,4 @@ export { default as InfoIcon } from "./Info.svelte" export { default as CloseIcon } from "./Close.svelte" export { default as MoreIcon } from "./More.svelte" export { default as CloseCircleIcon } from "./CloseCircle.svelte" +export { default as FeedbackIcon } from "./Feedback.svelte" diff --git a/packages/builder/src/components/userInterface/Feedback.svelte b/packages/builder/src/components/userInterface/Feedback.svelte new file mode 100644 index 0000000000..5b44d42a81 --- /dev/null +++ b/packages/builder/src/components/userInterface/Feedback.svelte @@ -0,0 +1,76 @@ + + + + + + + + + + diff --git a/packages/builder/src/pages/[application]/_reset.svelte b/packages/builder/src/pages/[application]/_reset.svelte index 87759aef97..7647bb6819 100644 --- a/packages/builder/src/pages/[application]/_reset.svelte +++ b/packages/builder/src/pages/[application]/_reset.svelte @@ -2,6 +2,7 @@ import { store, automationStore, backendUiStore } from "builderStore" import { Button } from "@budibase/bbui" import SettingsLink from "components/settings/Link.svelte" + import Feedback from "components/userInterface/Feedback.svelte" import { get } from "builderStore/api" import { isActive, goto, layout } from "@sveltech/routify" import { PreviewIcon } from "components/common/Icons/" @@ -65,6 +66,7 @@ {/each}
+