Skip to content

Commit

Permalink
Merge pull request #13550 from Budibase/feature/changelog-in-builder
Browse files Browse the repository at this point in the history
Added changelog links to portal help section and version update modal
  • Loading branch information
aptkingston committed May 13, 2024
2 parents 3351680 + 824893c commit 964b72e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/builder/src/components/common/FontAwesomeIcon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
faQuestionCircle,
faCircleCheck,
faGear,
faRectangleList,
} from "@fortawesome/free-solid-svg-icons"
import { faGithub, faDiscord } from "@fortawesome/free-brands-svg-icons"
Expand All @@ -37,6 +38,7 @@
faFileArrowUp,
faChevronLeft,
faCircleInfo,
faRectangleList,
// -- Required for easyMDE use in the builder.
faBold,
Expand Down
8 changes: 8 additions & 0 deletions packages/builder/src/components/common/HelpMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags"
import { licensing } from "stores/portal"
import { isPremiumOrAbove } from "helpers/planTitle"
import { ChangelogURL } from "constants"
$: premiumOrAboveLicense = isPremiumOrAbove($licensing?.license?.plan?.type)
Expand All @@ -30,6 +31,13 @@
<Body size="S">Help docs</Body>
</a>
<div class="divider" />
<a target="_blank" href={ChangelogURL}>
<div class="icon">
<FontAwesomeIcon name="fa-solid fa-rectangle-list" />
</div>
<Body size="S">Changelog</Body>
</a>
<div class="divider" />
<a
target="_blank"
href="https://github.com/Budibase/budibase/discussions"
Expand Down
6 changes: 6 additions & 0 deletions packages/builder/src/components/deploy/VersionModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
Body,
Button,
StatusLight,
Link,
} from "@budibase/bbui"
import { appStore, initialise } from "stores/builder"
import { API } from "api"
import RevertModalVersionSelect from "./RevertModalVersionSelect.svelte"
import { ChangelogURL } from "constants"
export function show() {
updateModal.show()
Expand Down Expand Up @@ -106,6 +108,10 @@
latest version available.
</Body>
{/if}
<Body size="S">
Find the changelog for the latest release
<Link href={ChangelogURL} target="_blank">here</Link>
</Body>
{#if revertAvailable}
<Body size="S">
You can revert this app to version
Expand Down
2 changes: 2 additions & 0 deletions packages/builder/src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ export const PlanModel = {
PER_USER: "perUser",
DAY_PASS: "dayPass",
}

export const ChangelogURL = "https://docs.budibase.com/changelog"

0 comments on commit 964b72e

Please sign in to comment.