fix(FN-2837): correct infusion.ai → runfusion.ai in update notices
Inadvertent infusion.ai links slipped into the dashboard update-available banner and settings modal (plus matching tests and changeset). Point them at the actual marketing domain, runfusion.ai. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@runfusion/fusion": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add infusion.ai links to dashboard update-available notices in the banner and settings modal.
|
|
||||||
5
.changeset/fn-2837-add-runfusion-link.md
Normal file
5
.changeset/fn-2837-add-runfusion-link.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@runfusion/fusion": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add runfusion.ai links to dashboard update-available notices in the banner and settings modal.
|
||||||
@@ -596,7 +596,7 @@ export function SettingsModal({
|
|||||||
<>
|
<>
|
||||||
v{updateCheckResult.latestVersion} available ·{" "}
|
v{updateCheckResult.latestVersion} available ·{" "}
|
||||||
<a
|
<a
|
||||||
href="https://infusion.ai"
|
href="https://runfusion.ai"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="settings-update-result-link"
|
className="settings-update-result-link"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export function UpdateAvailableBanner({ latestVersion, currentVersion, onDismiss
|
|||||||
Release notes
|
Release notes
|
||||||
</a>{" "}
|
</a>{" "}
|
||||||
·{" "}
|
·{" "}
|
||||||
<a className="update-available-banner__link" href="https://infusion.ai" target="_blank" rel="noreferrer">
|
<a className="update-available-banner__link" href="https://runfusion.ai" target="_blank" rel="noreferrer">
|
||||||
Learn more
|
Learn more
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -415,7 +415,7 @@ describe("SettingsModal", () => {
|
|||||||
expect(await screen.findByText("You're up to date ✓")).toBeInTheDocument();
|
expect(await screen.findByText("You're up to date ✓")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("clicking check for updates shows update available message with infusion.ai link", async () => {
|
it("clicking check for updates shows update available message with runfusion.ai link", async () => {
|
||||||
mockCheckForUpdates.mockResolvedValueOnce({
|
mockCheckForUpdates.mockResolvedValueOnce({
|
||||||
currentVersion: "1.0.0",
|
currentVersion: "1.0.0",
|
||||||
latestVersion: "2.0.0",
|
latestVersion: "2.0.0",
|
||||||
@@ -428,7 +428,7 @@ describe("SettingsModal", () => {
|
|||||||
await userEvent.click(screen.getByRole("button", { name: "Check for updates" }));
|
await userEvent.click(screen.getByRole("button", { name: "Check for updates" }));
|
||||||
|
|
||||||
expect(await screen.findByText(/v2.0.0 available/i)).toBeInTheDocument();
|
expect(await screen.findByText(/v2.0.0 available/i)).toBeInTheDocument();
|
||||||
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://infusion.ai");
|
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://runfusion.ai");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("disables button while checking", async () => {
|
it("disables button while checking", async () => {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ describe("UpdateAvailableBanner", () => {
|
|||||||
"href",
|
"href",
|
||||||
"https://github.com/Runfusion/Fusion/releases",
|
"https://github.com/Runfusion/Fusion/releases",
|
||||||
);
|
);
|
||||||
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://infusion.ai");
|
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://runfusion.ai");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("dismiss button calls onDismiss", () => {
|
it("dismiss button calls onDismiss", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user