Merge pull request #13550 from Budibase/feature/changelog-in-builder
Added changelog links to portal help section and version update modal
This commit is contained in:
commit
964b72e370
4 changed files with 18 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue