Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added changelog links to portal help section and version update modal #13550

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"