Merge branch 'master' into chore/remove-unused-packages

This commit is contained in:
Adria Navarro 2024-05-13 14:48:41 +02:00 committed by GitHub
commit 42a6b24170
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "2.25.0", "version": "2.26.0",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*", "packages/*",

View File

@ -23,6 +23,7 @@
faQuestionCircle, faQuestionCircle,
faCircleCheck, faCircleCheck,
faGear, faGear,
faRectangleList,
} from "@fortawesome/free-solid-svg-icons" } from "@fortawesome/free-solid-svg-icons"
import { faGithub, faDiscord } from "@fortawesome/free-brands-svg-icons" import { faGithub, faDiscord } from "@fortawesome/free-brands-svg-icons"
@ -37,6 +38,7 @@
faFileArrowUp, faFileArrowUp,
faChevronLeft, faChevronLeft,
faCircleInfo, faCircleInfo,
faRectangleList,
// -- Required for easyMDE use in the builder. // -- Required for easyMDE use in the builder.
faBold, faBold,

View File

@ -4,6 +4,7 @@
import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags" import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags"
import { licensing } from "stores/portal" import { licensing } from "stores/portal"
import { isPremiumOrAbove } from "helpers/planTitle" import { isPremiumOrAbove } from "helpers/planTitle"
import { ChangelogURL } from "constants"
$: premiumOrAboveLicense = isPremiumOrAbove($licensing?.license?.plan?.type) $: premiumOrAboveLicense = isPremiumOrAbove($licensing?.license?.plan?.type)
@ -30,6 +31,13 @@
<Body size="S">Help docs</Body> <Body size="S">Help docs</Body>
</a> </a>
<div class="divider" /> <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 <a
target="_blank" target="_blank"
href="https://github.com/Budibase/budibase/discussions" href="https://github.com/Budibase/budibase/discussions"

View File

@ -7,10 +7,12 @@
Body, Body,
Button, Button,
StatusLight, StatusLight,
Link,
} from "@budibase/bbui" } from "@budibase/bbui"
import { appStore, initialise } from "stores/builder" import { appStore, initialise } from "stores/builder"
import { API } from "api" import { API } from "api"
import RevertModalVersionSelect from "./RevertModalVersionSelect.svelte" import RevertModalVersionSelect from "./RevertModalVersionSelect.svelte"
import { ChangelogURL } from "constants"
export function show() { export function show() {
updateModal.show() updateModal.show()
@ -106,6 +108,10 @@
latest version available. latest version available.
</Body> </Body>
{/if} {/if}
<Body size="S">
Find the changelog for the latest release
<Link href={ChangelogURL} target="_blank">here</Link>
</Body>
{#if revertAvailable} {#if revertAvailable}
<Body size="S"> <Body size="S">
You can revert this app to version You can revert this app to version

View File

@ -70,3 +70,5 @@ export const PlanModel = {
PER_USER: "perUser", PER_USER: "perUser",
DAY_PASS: "dayPass", DAY_PASS: "dayPass",
} }
export const ChangelogURL = "https://docs.budibase.com/changelog"