fix(FN-XXX): update release notes link in update notification

This commit is contained in:
gsxdsm
2026-04-29 21:33:18 -07:00
parent fe638d9028
commit 6c051b1851
3 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@runfusion/fusion": patch
---
Fix the update notification release notes link so it points to the repo changelog.

View File

@@ -15,7 +15,7 @@ export function UpdateAvailableBanner({ latestVersion, currentVersion, onDismiss
update. {" "}
<a
className="update-available-banner__link"
href="https://github.com/Runfusion/Fusion/releases"
href="https://github.com/Runfusion/Fusion/blob/main/CHANGELOG.md"
target="_blank"
rel="noreferrer"
>

View File

@@ -13,7 +13,7 @@ describe("UpdateAvailableBanner", () => {
expect(screen.getByText("npm i -g @runfusion/fusion")).toBeInTheDocument();
expect(screen.getByRole("link", { name: "Release notes" })).toHaveAttribute(
"href",
"https://github.com/Runfusion/Fusion/releases",
"https://github.com/Runfusion/Fusion/blob/main/CHANGELOG.md",
);
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://runfusion.ai");
});