From 09ed767d0b28b3b85bc26e7bff3cfe58ffbbb986 Mon Sep 17 00:00:00 2001 From: Gerard Burns Date: Tue, 31 Jan 2023 17:18:22 +0000 Subject: [PATCH] New Help Menu (#9371) * New Help Menu * design PR feedback * Feedback updates * Feedback updates, font awesome enhancement, upgrade button hidden if licensing is disabled --------- Co-authored-by: Dean --- packages/builder/package.json | 3 + packages/builder/src/App.svelte | 2 - .../components/common/FontAwesomeIcon.svelte | 31 + .../src/components/common/HelpIcon.svelte | 42 - .../src/components/common/HelpMenu.svelte | 182 + .../portal/_components/UpgradeButton.svelte | 43 +- .../src/pages/builder/portal/_layout.svelte | 2 + packages/builder/yarn.lock | 4337 +++++++++++------ 8 files changed, 3091 insertions(+), 1551 deletions(-) create mode 100644 packages/builder/src/components/common/FontAwesomeIcon.svelte delete mode 100644 packages/builder/src/components/common/HelpIcon.svelte create mode 100644 packages/builder/src/components/common/HelpMenu.svelte diff --git a/packages/builder/package.json b/packages/builder/package.json index a099c7324b..2fa8c23776 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -75,6 +75,9 @@ "@budibase/client": "2.2.12-alpha.51", "@budibase/frontend-core": "2.2.12-alpha.51", "@budibase/string-templates": "2.2.12-alpha.51", + "@fortawesome/fontawesome-svg-core": "^6.2.1", + "@fortawesome/free-brands-svg-icons": "^6.2.1", + "@fortawesome/free-solid-svg-icons": "^6.2.1", "@sentry/browser": "5.19.1", "@spectrum-css/accordion": "^3.0.24", "@spectrum-css/page": "^3.0.1", diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index 04846e01bf..f31f45bb84 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -3,7 +3,6 @@ import { routes } from "../.routify/routes" import { NotificationDisplay, BannerDisplay } from "@budibase/bbui" import { parse, stringify } from "qs" - import HelpIcon from "components/common/HelpIcon.svelte" import LicensingOverlays from "components/portal/licensing/LicensingOverlays.svelte" const queryHandler = { parse, stringify } @@ -15,7 +14,6 @@