Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Remove Boat's credit offer: the Settings block, the one-time card and the claim email

milind-soni32a789012f90
diff --git a/announcements/releases.json b/announcements/releases.json
index a3ae4505aa..95149a97e6 100644
--- a/announcements/releases.json
+++ b/announcements/releases.json
@@ -1,7 +1,7 @@
{
"$schema": "./releases.schema.json",
"version": 1,
- "updatedAt": "2026-11-29T07:02:12Z",
+ "updatedAt": "2026-11-30T16:45:15Z",
"releases": [
{
"version": "0.1.187",
@@ -509,8 +509,7 @@
"**Linux:** the Open/Quit tray icon shows, as on Windows. rpm updates install through dnf so their dependencies resolve.",
"**Spelling:** text fields' right-click menu has a Check Spelling option.",
"**Obsidian:** a link to an Obsidian note in chat opens the note.",
- "**iPhone:** Safari's browser bar follows your skin.",
- "**Boat:** when the browser can't open the Boat offer, its address is shown to copy."
+ "**iPhone:** Safari's browser bar follows your skin."
]
},
{
diff --git a/apps/docs/content/docs/security/analytics.mdx b/apps/docs/content/docs/security/analytics.mdx
index 3e41b936b7..af9eb58de3 100644
--- a/apps/docs/content/docs/security/analytics.mdx
+++ b/apps/docs/content/docs/security/analytics.mdx
@@ -175,7 +175,6 @@ use their own Boat key, and how many bots run on cloud computers, without sendin
| `cloud_welcome_step` | A step of a new Cloud's welcome is shown | `step`: `bring`, `engine`, `files`, `done` |
| `cloud_welcome_ended` | A new Cloud's welcome ends | `reason`: `done`, `skipped`; `at`: the step it ended on |
| `product_hunt_card` | You act on the Product Hunt card | `action`: `upvote`, `not_now`, `close` |
-| `boat_offer` | Boat's credit offer: its one-time card is shown or you act on it, or you act on it on the Boat card in Settings → API keys | `action`: `shown` (the card only), `get_boat`, `claim` (the drafted email to Boat opened), `not_now`, `close`; `place`: `card`, `settings` |
| `modelgo_offer` | ModelGo, a sponsor: its What's new slide (`whats-new-2026-11b` only) or its first-run option is shown, or you act on the slide, the first-run option or the ModelGo row in Settings → API keys | `action`: `shown` (the slide and the first-run option), `get_key` (ModelGo's site opened), `add_key` (Settings: a key was saved there; first run: you opened the ModelGo row to add one; the slide: Add key opened Settings), `not_now`, `close` (the slide only: What's new closed while it was on screen); `place`: `popup` (the What's new slide, `whats-new-2026-11b` only), `onboarding`, `settings`; `campaign`: the What's new campaign, on the slide's events only |
| `announcement` | A card from the project's public announcements file (sponsor offers, product news, tips; [Announcements](https://github.com/milind-soni/OpenMausBot/blob/main/docs/announcements.md)) is shown, or you act on it | `id`: the card's own id from that file, the same for everyone who sees the card; `kind`: `sponsor`, `product`, `tip`; `action`: `shown`, `primary` (its main button), `secondary` (its second button), `close` (Not now, the X or Escape) |
| `simple_mode_prompt` | The Simple mode popup, shown once in each browser after an update when nothing else is on screen, is shown, its Simple mode switch is flipped, or it is closed (Done, the X, Escape or a click outside) | `action`: `shown`, `toggled`, `closed`; `mode`: `simple`, `advanced`, the mode it was shown or closed in, or the one a flip turned on |
diff --git a/docs/analytics.md b/docs/analytics.md
index 8d623b2630..39aab1695b 100644
--- a/docs/analytics.md
+++ b/docs/analytics.md
@@ -171,7 +171,6 @@ use their own Boat key, and how many bots run on cloud computers, without sendin
| `cloud_welcome_step` | A step of a new Cloud's welcome is shown | `step`: `bring`, `engine`, `files`, `done` |
| `cloud_welcome_ended` | A new Cloud's welcome ends | `reason`: `done`, `skipped`; `at`: the step it ended on |
| `product_hunt_card` | You act on the Product Hunt card | `action`: `upvote`, `not_now`, `close` |
-| `boat_offer` | Boat's credit offer: its one-time card is shown or you act on it, or you act on it on the Boat card in Settings → API keys | `action`: `shown` (the card only), `get_boat`, `claim` (the drafted email to Boat opened), `not_now`, `close`; `place`: `card`, `settings` |
| `modelgo_offer` | ModelGo, a sponsor: its What's new slide (`whats-new-2026-11b` only) or its first-run option is shown, or you act on the slide, the first-run option or the ModelGo row in Settings → API keys | `action`: `shown` (the slide and the first-run option), `get_key` (ModelGo's site opened), `add_key` (Settings: a key was saved there; first run: you opened the ModelGo row to add one; the slide: Add key opened Settings), `not_now`, `close` (the slide only: What's new closed while it was on screen); `place`: `popup` (the What's new slide, `whats-new-2026-11b` only), `onboarding`, `settings`; `campaign`: the What's new campaign, on the slide's events only |
| `announcement` | A card from the project's public announcements file (sponsor offers, product news, tips; [Announcements](https://github.com/milind-soni/OpenMausBot/blob/main/docs/announcements.md)) is shown, or you act on it | `id`: the card's own id from that file, the same for everyone who sees the card; `kind`: `sponsor`, `product`, `tip`; `action`: `shown`, `primary` (its main button), `secondary` (its second button), `close` (Not now, the X or Escape) |
| `simple_mode_prompt` | The Simple mode popup, shown once in each browser after an update when nothing else is on screen, is shown, its Simple mode switch is flipped, or it is closed (Done, the X, Escape or a click outside) | `action`: `shown`, `toggled`, `closed`; `mode`: `simple`, `advanced`, the mode it was shown or closed in, or the one a flip turned on |
diff --git a/docs/announcements.md b/docs/announcements.md
index c5a09ca3a9..5ac524db23 100644
--- a/docs/announcements.md
+++ b/docs/announcements.md
@@ -232,7 +232,7 @@ the list newest first and moves `updatedAt` forward. Read the diff, then merge i
`src/components/AppNotices.tsx`), then add one entry to `BUILT_IN_ANNOUNCEMENTS` in `src/lib/announcement-history.ts`:
its notice id, its date, its title and body keys, its mark, whom it is for (`for`, from the same facts as its notice's
own rules), and either the popup it reopens (`{ modal }`, drawn by `AnnouncementsPage`'s replay) or its buttons
- (`{ buttons }`: open a page, write an email, open Add a Cloud). Give an offer its `until` to show Ended after it. Its
+ (`{ buttons }`: open a page, open Add a Cloud). Give an offer its `until` to show Ended after it. Its
date newer than the person's last look is what raises the dot.
## Turning it off
diff --git a/docs/cloud-pro.md b/docs/cloud-pro.md
index 422bc2a093..bf7c1ce9af 100644
--- a/docs/cloud-pro.md
+++ b/docs/cloud-pro.md
@@ -2384,8 +2384,8 @@ first one due shows, and it takes the launch (`launchNotice`, kept for the
window's session, so a reload is the same launch). After it, only the
product-updates question may follow in that launch; every other notice waits for
a later launch, in the list's order. A new notice is one entry in `NOTICES` and
-its fact in AppNotices. So What's new and Boat's credit offer never share a
-launch: What's new comes first, and the Boat card waits for a later one.
+its fact in AppNotices. So What's new and a later card never share a
+launch: What's new comes first, and the card waits for a later one.
1. **What's new** (`whats-new/WhatsNewPopup`, campaign id `whats-new-2026-11c`):
one centered popup with its slides, **Next** and **Back**, its dots
diff --git a/docs/verification/evidence/boat-offer/popup-advanced-dark.jpg b/docs/verification/evidence/boat-offer/popup-advanced-dark.jpg
deleted file mode 100644
index a0207a7a74..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-advanced-dark.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-advanced-light.jpg b/docs/verification/evidence/boat-offer/popup-advanced-light.jpg
deleted file mode 100644
index ccb8afe778..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-advanced-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-german-simple-light.jpg b/docs/verification/evidence/boat-offer/popup-german-simple-light.jpg
deleted file mode 100644
index 7c485a3009..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-german-simple-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-phone-advanced-light.jpg b/docs/verification/evidence/boat-offer/popup-phone-advanced-light.jpg
deleted file mode 100644
index c111fc5563..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-phone-advanced-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-phone-simple-dark.jpg b/docs/verification/evidence/boat-offer/popup-phone-simple-dark.jpg
deleted file mode 100644
index c11c9b11d4..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-phone-simple-dark.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-simple-dark.jpg b/docs/verification/evidence/boat-offer/popup-simple-dark.jpg
deleted file mode 100644
index 04f663b73f..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-simple-dark.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/popup-simple-light.jpg b/docs/verification/evidence/boat-offer/popup-simple-light.jpg
deleted file mode 100644
index 50234925f7..0000000000
Binary files a/docs/verification/evidence/boat-offer/popup-simple-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/settings-advanced-dark.jpg b/docs/verification/evidence/boat-offer/settings-advanced-dark.jpg
deleted file mode 100644
index 0461ddb75b..0000000000
Binary files a/docs/verification/evidence/boat-offer/settings-advanced-dark.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/settings-advanced-light.jpg b/docs/verification/evidence/boat-offer/settings-advanced-light.jpg
deleted file mode 100644
index c31eb04455..0000000000
Binary files a/docs/verification/evidence/boat-offer/settings-advanced-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/settings-phone-simple-light.jpg b/docs/verification/evidence/boat-offer/settings-phone-simple-light.jpg
deleted file mode 100644
index d2870659f5..0000000000
Binary files a/docs/verification/evidence/boat-offer/settings-phone-simple-light.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/settings-simple-dark.jpg b/docs/verification/evidence/boat-offer/settings-simple-dark.jpg
deleted file mode 100644
index 7e0318377b..0000000000
Binary files a/docs/verification/evidence/boat-offer/settings-simple-dark.jpg and /dev/null differ
diff --git a/docs/verification/evidence/boat-offer/settings-simple-light.jpg b/docs/verification/evidence/boat-offer/settings-simple-light.jpg
deleted file mode 100644
index 27616bd489..0000000000
Binary files a/docs/verification/evidence/boat-offer/settings-simple-light.jpg and /dev/null differ
diff --git a/electron/app-permissions.node-test.mjs b/electron/app-permissions.node-test.mjs
index 67d85c173f..ecba50be8e 100644
--- a/electron/app-permissions.node-test.mjs
+++ b/electron/app-permissions.node-test.mjs
@@ -3,7 +3,6 @@ import test from "node:test";
import { readFileSync } from "node:fs";
import { appPermissionAllowed, appPermissionHandlers, emailDraftUrl, externalLinkUrl, externalWebUrl, obsidianNoteUrl, remoteClipboardWriteAllowed } from "./app-permissions.mjs";
-import { boatClaimMailto } from "../src/lib/boat-offer.ts";
import { cloudPlanSnapshot, createCloudAccountClient } from "./cloud-account.mjs";
import { myCloudOrigin, rememberedCloudHome } from "./cloud-home.mjs";
@@ -133,10 +132,6 @@ test("an Obsidian link opens only a note in a named vault", () => {
assert.throws(() => externalLinkUrl(link), /Only web/, link);
});
-test("the app's claim to Boat opens exactly as the app drafts it", () => {
- assert.equal(externalLinkUrl(boatClaimMailto()), boatClaimMailto());
-});
-
test("both external-link entry points use the policy and IPC retains the local-origin gate", () => {
const main = readFileSync(new URL("./main.mjs", import.meta.url), "utf8");
assert.match(main, /ipcMain\.handle\("desktop:open-external", localOnly\("desktop:open-external"/);
diff --git a/electron/desktop-prefs.mjs b/electron/desktop-prefs.mjs
index 12507bf3c2..3beec9ce1d 100644
--- a/electron/desktop-prefs.mjs
+++ b/electron/desktop-prefs.mjs
@@ -11,7 +11,9 @@ import { createUpdatesConsent, parseUpdatesConsent, registerUpdatesConsent } fro
import { accountFullName } from "./system-name.mjs";
export { DESKTOP_PORTS } from "./desktop-ports.mjs";
-/** The only notices a page may record, so no page can write anything else into the file. */
+/** The only notices a page may record, so no page can write anything else into the file. "boat-credit-2026-11" is
+ * retired: this app shows no such card, but a Cloud on an older version still asks, and a desktop that closed the card
+ * goes on answering that it was seen. */
export const DESKTOP_NOTICES = Object.freeze(["whats-new-2026-11", "boat-credit-2026-11", "grok-move-2026-11", "modelgo-offer-2026-11", "teams-2026-11b", "whats-new-2026-11b", "whats-new-2026-11c"]);
const WHATS_NEW = DESKTOP_NOTICES[0];
/** A card from the project's announcements file someone closed (src/lib/announcements.ts), and the last day a sponsor's
diff --git a/electron/desktop-prefs.node-test.mjs b/electron/desktop-prefs.node-test.mjs
index 82137fc743..bd5f6ab74e 100644
--- a/electron/desktop-prefs.node-test.mjs
+++ b/electron/desktop-prefs.node-test.mjs
@@ -12,7 +12,7 @@ const require = createRequire(import.meta.url);
const environments = require("./environments.cjs");
const localOrigin = require("./local-origin.cjs");
-const POPUP = "whats-new-2026-11", BOAT = "boat-credit-2026-11", GROK = "grok-move-2026-11", MODELGO = "modelgo-offer-2026-11";
+const POPUP = "whats-new-2026-11", RETIRED = "boat-credit-2026-11", GROK = "grok-move-2026-11", MODELGO = "modelgo-offer-2026-11";
const NOON = new Date(2026, 9, 16, 12).getTime();
const LOCAL = "http://127.0.0.1:18799", CLOUD = "https://omb-u-1.fly.dev", VPS = "https://bots.example.test";
@@ -20,13 +20,25 @@ test("a page on an older release keeps working with the longer list: its own ids
let saved = { seen: [POPUP, GROK, "gone-notice"] };
const prefs = createDesktopPrefs({ read: () => saved, write: value => { saved = structuredClone(value); } });
assert.deepEqual(prefs.seen(), [POPUP, GROK]);
- prefs.markSeen(BOAT);
- assert.deepEqual(saved.seen, [POPUP, GROK, BOAT], "the new id is kept beside the ones an older page records");
- assert.ok(prefs.seen().includes(BOAT) && prefs.seen().includes(POPUP), "the lookups an older page makes");
+ prefs.markSeen(MODELGO);
+ assert.deepEqual(saved.seen, [POPUP, GROK, MODELGO], "the new id is kept beside the ones an older page records");
+ assert.ok(prefs.seen().includes(MODELGO) && prefs.seen().includes(POPUP), "the lookups an older page makes");
});
-test("What's new, Boat's credit offer and the Grok Bot move are the notices a page can record; seen and analytics survive a restart; a broken record never stops the app", () => {
- assert.deepEqual([...DESKTOP_NOTICES], [POPUP, BOAT, GROK, MODELGO, "teams-2026-11b", "whats-new-2026-11b", "whats-new-2026-11c"]);
+test("a retired notice stays recordable: a desktop that closed the card still tells a Cloud on an older version it was seen, so the card never comes back there", () => {
+ let saved = { seen: [POPUP, RETIRED] };
+ const prefs = createDesktopPrefs({ read: () => saved, write: value => { saved = structuredClone(value); } });
+ assert.deepEqual(prefs.seen(), [POPUP, RETIRED], "kept across the update that removed the card");
+ prefs.markSeen(GROK);
+ assert.deepEqual(saved.seen, [POPUP, RETIRED, GROK], "and through later writes");
+ let fresh = { seen: [] };
+ const other = createDesktopPrefs({ read: () => fresh, write: value => { fresh = structuredClone(value); } });
+ other.markSeen(RETIRED);
+ assert.deepEqual(fresh.seen, [RETIRED], "an older page that closes it now is remembered too");
+});
+
+test("What's new and the Grok Bot move are the notices a page can record; seen and analytics survive a restart; a broken record never stops the app", () => {
+ assert.deepEqual([...DESKTOP_NOTICES], [POPUP, RETIRED, GROK, MODELGO, "teams-2026-11b", "whats-new-2026-11b", "whats-new-2026-11c"]);
let saved = null;
const writes = [];
const prefs = createDesktopPrefs({ read: () => saved, write: value => { writes.push(value); saved = structuredClone(value); } });
@@ -35,11 +47,11 @@ test("What's new, Boat's credit offer and the Grok Bot move are the notices a pa
assert.equal(writes.length, 0, "nothing a page names outside the list is written");
prefs.markSeen(POPUP); prefs.markSeen(POPUP);
assert.deepEqual(prefs.seen(), [POPUP]); assert.equal(writes.length, 1);
- prefs.markSeen(BOAT);
- assert.deepEqual(prefs.seen(), [POPUP, BOAT]); assert.equal(writes.length, 2);
+ prefs.markSeen(GROK);
+ assert.deepEqual(prefs.seen(), [POPUP, GROK]); assert.equal(writes.length, 2);
prefs.setAnalytics(false);
const restarted = createDesktopPrefs({ read: () => saved, write: value => { saved = value; } });
- assert.deepEqual(restarted.seen(), [POPUP, BOAT]); assert.equal(restarted.analytics(), false);
+ assert.deepEqual(restarted.seen(), [POPUP, GROK]); assert.equal(restarted.analytics(), false);
restarted.setAnalytics("yes"); assert.equal(restarted.analytics(), false, "only true turns it on");
restarted.setAnalytics(true); assert.equal(restarted.analytics(), true);
diff --git a/scripts/testing/threads-preview.tsx b/scripts/testing/threads-preview.tsx
index 15e3345625..de6e38a5c6 100644
--- a/scripts/testing/threads-preview.tsx
+++ b/scripts/testing/threads-preview.tsx
@@ -3,7 +3,7 @@ import App from "../../src/App";
import { setAnalyticsEnabled, setEmailGateDone } from "../../src/lib/analytics";
import { ADVANCED_MODE_KEY, setAdvancedMode } from "../../src/lib/interface-mode";
import { languageChoice, setLanguageChoice } from "../../src/lib/language-preference";
-import { BOAT_OFFER_NOTICE, GROK_MOVE_NOTICE, TEAMS_NOTICE, WHATS_NEW_NOTICE } from "../../src/lib/notices";
+import { GROK_MOVE_NOTICE, TEAMS_NOTICE, WHATS_NEW_NOTICE } from "../../src/lib/notices";
import { markSimpleModePromptSeen } from "../../src/lib/simple-mode-prompt";
import { applySkinChoice, readSkinChoice } from "../../src/lib/skins";
import "../../src/styles.css";
@@ -29,6 +29,5 @@ if (!new URLSearchParams(location.search).has("grokMovePopup")) localStorage.set
if (!new URLSearchParams(location.search).has("teamsPopup")) localStorage.setItem(TEAMS_NOTICE, "1");
// And for the once-per-person What's new (the new Cloud, Team and the sponsor's slides), with ?whatsNew=1.
if (!new URLSearchParams(location.search).has("whatsNew")) localStorage.setItem(WHATS_NEW_NOTICE, "1");
-if (!new URLSearchParams(location.search).has("boatOffer")) localStorage.setItem(BOAT_OFFER_NOTICE, "1");
applySkinChoice(readSkinChoice());
createRoot(document.getElementById("root")!).render(<App />);
diff --git a/scripts/verify-team-bot-access.ts b/scripts/verify-team-bot-access.ts
index 3becbadeb3..91c62bb015 100644
--- a/scripts/verify-team-bot-access.ts
+++ b/scripts/verify-team-bot-access.ts
@@ -20,9 +20,6 @@ const CHROME = process.env.OMB_CDP_CHROME ?? "/Applications/Google Chrome.app/Co
const [WIDTH, HEIGHT] = [1280, 800];
const PHONE = { width: 390, height: 844 };
const SUBJECT = /^\/api\/(?:bots|threads|groups|routines)\//;
-/** The app's time-limited offer opens over the sidebar; its own Not now closes it. */
-const DISMISS_OFFER = `(() => { const button = [...document.querySelectorAll('[data-notice="boat-offer"] button')].find((entry) => entry.textContent.trim() === "Not now");
- button?.click(); return Boolean(button); })()`;
const CROWD = ["frank", "gina", "hugo", "iris", "jon", "kim"].map((name) => ({ email: `${name}@acme.test`, role: "member" as const }));
@@ -91,7 +88,6 @@ async function openChrome(profile: string) {
},
async shoot(file: string) {
await delay(700);
- if (await evaluate(DISMISS_OFFER)) await delay(500);
const { data } = await send("Page.captureScreenshot", { format: "png" });
writeFileSync(file, Buffer.from(data, "base64"));
console.log(file);
diff --git a/src/components/AppNotices.test.ts b/src/components/AppNotices.test.ts
index 527b896117..fd8e9570e1 100644
--- a/src/components/AppNotices.test.ts
+++ b/src/components/AppNotices.test.ts
@@ -38,8 +38,7 @@ vi.mock("@/components/EngineLibrary", () => ({ engineReady: (instance: { snapsho
instance.snapshot.state === "available" && instance.snapshot.authenticated !== false }));
import { AppNotices } from "./AppNotices";
import { TwoPlacesCard } from "./TwoPlacesCard";
-import { BOAT_OFFER_NOTICE, CLOUD_INTRO, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, launchNotice, localDay, MODELGO_OFFER_NOTICE, PREVIOUS_WHATS_NEW_NOTICE, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, STAR_NOTICE, TEAMS_NOTICE, WHATS_NEW_NOTICE } from "@/lib/notices";
-import { BOAT_OFFER, boatClaimMailto } from "@/lib/boat-offer";
+import { CLOUD_INTRO, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, launchNotice, localDay, MODELGO_OFFER_NOTICE, PREVIOUS_WHATS_NEW_NOTICE, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, STAR_NOTICE, TEAMS_NOTICE, WHATS_NEW_NOTICE } from "@/lib/notices";
import { track } from "@/lib/analytics";
import { ADVANCED_MODE_KEY, setAdvancedMode } from "@/lib/interface-mode";
import { SIMPLE_MODE_PROMPT_KEY } from "@/lib/simple-mode-prompt";
@@ -140,7 +139,7 @@ const press = (label: string) => {
const FIRST_REPLY = [{ tasks: [{ threadId: "first", usage: { turns: 1 } }] }];
let session: Map<string, string>;
const returning = () => { f.state.bots = [{ tasks: [{ threadId: "t", createdAt: 1, usage: { turns: 2 } }] }]; };
-const launchCardsSeen = () => { desk.saved = { seen: [WHATS_NEW_NOTICE] }; storage.set(WHATS_NEW_NOTICE, "1"); storage.set(TEAMS_NOTICE, "1"); storage.set(MODELGO_OFFER_NOTICE, "1"); storage.set(GROK_MOVE_NOTICE, "1"); storage.set(PRODUCT_HUNT_NOTICE, "1"); storage.set(SIMPLE_MODE_PROMPT_KEY, "1"); storage.set(BOAT_OFFER_NOTICE, "1"); };
+const launchCardsSeen = () => { desk.saved = { seen: [WHATS_NEW_NOTICE] }; storage.set(WHATS_NEW_NOTICE, "1"); storage.set(TEAMS_NOTICE, "1"); storage.set(MODELGO_OFFER_NOTICE, "1"); storage.set(GROK_MOVE_NOTICE, "1"); storage.set(PRODUCT_HUNT_NOTICE, "1"); storage.set(SIMPLE_MODE_PROMPT_KEY, "1"); };
const hints = () => f.state.config.onboarding.hintsSeen as string[];
/** What's new's slides on screen, in order (every slide is drawn; only the one on screen is live). */
const slidesOf = (html: string) => [...html.matchAll(/data-whats-new-slide="(\w+)"/g)].map(match => match[1]);
@@ -161,7 +160,7 @@ beforeEach(() => {
return f.state.config;
});
vi.stubGlobal("localStorage", { getItem: (key: string) => storage.get(key) ?? null, setItem: (key: string, value: string) => storage.set(key, value) });
- // The popups, the Product Hunt card and Boat's offer start seen: the tests before their own are about the other cards.
+ // The popups and the Product Hunt card start seen: the tests before their own are about the other cards.
launchCardsSeen();
accountListeners = new Set();
bridges = {
@@ -179,7 +178,6 @@ describe("promotional messages", () => {
it("skips the Cloud offer and shows a trial deadline when promotions are off", async () => {
returning();
f.state.config.features = { promotions: false };
- storage.delete(BOAT_OFFER_NOTICE);
storage.delete(PRODUCT_HUNT_NOTICE);
expect(await launch()).toBe("");
expect(bridges.cloud.offer).not.toHaveBeenCalled();
@@ -465,187 +463,9 @@ describe("the Product Hunt launch card", () => {
});
});
-describe("Boat's credit offer", () => {
- const TITLE = "$50 of Boat credit for you";
- const BODY = "Boat runs the cloud computers behind MausBot. Buy Boat's $100 plan or bigger, then tell Boat that MausBot sent you, and they'll add $50 in credits to your Boat account.";
- const YOURSELF = "You claim it yourself: it isn't automatic.";
- const CLAIM = "I bought it: claim my $50";
- const html = (text: string) => text.replace(/'/g, "&#x27;");
- // No Cloud trial to offer, as for every plan but Team: the Cloud's own card after the update steps aside.
- const fresh = () => { storage.delete(BOAT_OFFER_NOTICE); returning(); offer = { ...PLAIN_OFFER }; };
- const boatEvents = () => vi.mocked(track).mock.calls.filter(([name]) => name === "boat_offer").map(([, props]) => props);
- const escape = () => tree().find(node => node.type === "aside")!.props.onKeyDown({ key: "Escape", preventDefault() {}, stopPropagation() {} });
- const endedForGood = async () => {
- expect(render()).toBe("");
- expect(storage.get(BOAT_OFFER_NOTICE)).toBe("1"); expect(hints()).toContain(BOAT_OFFER_NOTICE); expect(desk.saved?.seen).toContain(BOAT_OFFER_NOTICE);
- expect(await launch()).not.toContain(TITLE);
- };
- afterEach(() => { BOAT_OFFER.until = null; });
-
- it("never reaches a Team Cloud's member", async () => {
- fresh(); storage.delete(STAR_NOTICE);
- f.state.config.team = { id: "team-acme", name: "Acme" };
- viewer = { hosted: false, canSave: false };
- expect(await launch()).not.toContain(html(TITLE));
- delete f.state.config.team; viewer = LOCAL_VIEWER;
- expect(await relaunch(), "off a team as before").toContain(html(TITLE));
- });
-
- it("shows once to someone who used the app before this launch: what Boat gives, that they claim it themselves, Get Boat, the claim and Not now", async () => {
- fresh(); storage.delete(STAR_NOTICE);
- const shown = await launch();
- const words = [TITLE, BODY, YOURSELF, "Get Boat", CLAIM, "Not now"].map(html);
- for (const text of words) expect(shown).toContain(text);
- for (let i = 1; i < words.length; i++) expect(shown.indexOf(words[i - 1]!), words[i]).toBeLessThan(shown.indexOf(words[i]!));
- expect(shown).not.toContain(STAR); expect(shown).not.toContain('aria-modal="true"');
- expect(await settle()).toContain(html(TITLE));
- expect(boatEvents()).toEqual([{ action: "shown", place: "card" }]);
- });
-
- it("never on a first launch: not before the bots load, on a new install's first chat, in the launch its welcome or MausBot's card took", async () => {
- fresh(); storage.delete(STAR_NOTICE);
- f.state.bots = [];
- expect(await launch(), "nothing said yet").not.toContain(html(TITLE));
- f.state.bots = structuredClone(FIRST_REPLY);
- expect(await launch(), "the first reply came in this launch").not.toContain(html(TITLE));
- returning(); f.state.hydrated = false;
- expect(await launch(), "until the bots load nothing shows, not even the star after it").toBe("");
- f.state.hydrated = true; markWelcomeFinished();
- expect(await launch(), "the launch its welcome finished in").not.toContain(html(TITLE));
- session.clear(); markLaunchDialog("mausbot");
- expect(await launch(), "the launch MausBot's first card took").not.toContain(html(TITLE));
- session.clear();
- expect(await launch()).toContain(html(TITLE));
- });
-
- it("never during onboarding or the tour, nor while a bot or a room is working: it waits for an idle moment, and steps aside for a turn", async () => {
- fresh();
- const waits: Array<() => void> = [
- () => { f.state.welcomeOpen = true; }, () => { f.state.tourOpen = true; }, () => { f.state.config.onboarding.completedAt = undefined; },
- () => { f.state.bots[0].busy = true; }, () => { f.state.bots[0].tasks[0].busy = true; },
- () => { f.state.groups = [{ working: true }]; }, () => { f.state.groups = [{ busyBotId: "b" }]; },
- ];
- for (const wait of waits) {
- const saved = structuredClone(f.state); wait();
- expect(await launch(), wait.toString()).not.toContain(html(TITLE));
- f.state = saved;
- }
- expect(boatEvents()).toEqual([]);
- expect(await launch()).toContain(html(TITLE));
- f.state.bots[0].busy = true;
- expect(await settle(), "a turn starts while it is up").toBe("");
- f.state.bots[0].busy = false;
- expect(await settle(), "back once the turn ends, still not dismissed").toContain(html(TITLE));
- expect(storage.get(BOAT_OFFER_NOTICE)).toBeUndefined();
- expect(boatEvents()).toEqual([{ action: "shown", place: "card" }]);
- });
-
- it("Get Boat opens boat.dev in the browser and ends it for good", async () => {
- fresh(); await launch();
- press("Get Boat"); await flush();
- expect(window.ogb?.openExternal).toHaveBeenCalledWith("https://boat.dev");
- expect(boatEvents()).toContainEqual({ action: "get_boat", place: "card" });
- await endedForGood();
- });
-
- it("shows Boat's address for manual opening and keeps the offer available if the browser fails", async () => {
- fresh(); await launch();
- vi.mocked(window.ogb!.openExternal!).mockRejectedValueOnce(new Error("no browser"));
- press("Get Boat"); await flush();
- const after = render();
- expect(after).toMatch(/role="alert"[^>]*>[^<]*<span[^>]*>https:\/\/boat\.dev<\/span>/);
- expect(storage.get(BOAT_OFFER_NOTICE)).toBeUndefined();
- press("Get Boat"); await flush();
- await endedForGood();
- });
-
- it("the claim opens an email to Boat's billing address with Boat's subject and body for the person to send, and ends it for good; nothing is sent for them", async () => {
- fresh(); await launch();
- vi.mocked(api).mockClear();
- press(CLAIM); await flush();
- expect(window.ogb?.openExternal).toHaveBeenCalledWith(boatClaimMailto());
- const draft = new URL(vi.mocked(window.ogb!.openExternal!).mock.calls[0]![0]);
- expect(`${draft.protocol}${draft.pathname}`).toBe("mailto:[email protected]");
- expect(draft.searchParams.get("subject")).toBe("MausBot introduced me: $50 Boat credit");
- expect(draft.searchParams.get("body")!.replace(/\r\n/g, "\n")).toBe("Hi Boat team,\n\nMausBot introduced me to Boat. I'm on the $___ plan.\nMy Boat account email: ___\n\nThanks!");
- expect(vi.mocked(api).mock.calls.map(([path]) => path), "only the dismissal is saved").toEqual(["/api/config"]);
- expect(boatEvents()).toContainEqual({ action: "claim", place: "card" });
- await endedForGood();
- });
-
- it("an email app that won't open leaves it up and names the address to write to", async () => {
- fresh(); await launch();
- vi.mocked(window.ogb!.openExternal!).mockRejectedValueOnce(new Error("no mail app"));
- press(CLAIM); await flush();
- const after = render();
- expect(after).toContain(html("Couldn't open your email app. Write to [email protected] instead."));
- expect(after).toContain(html(TITLE)); expect(storage.get(BOAT_OFFER_NOTICE)).toBeUndefined();
- });
-
- it("Not now, the X and Escape end it for good too", async () => {
- for (const end of [() => press("Not now"), () => press("Dismiss for good"), escape]) {
- fresh(); desk = desktopMachine(); desk.saved = { seen: [WHATS_NEW_NOTICE] }; f.state.config.onboarding.hintsSeen = withTourFinished(undefined);
- expect(await launch()).toContain(html(TITLE));
- end(); await flush();
- await endedForGood();
- }
- expect(boatEvents().map((props) => props?.action)).toEqual(["shown", "not_now", "shown", "close", "shown", "close"]);
- });
-
- it("closed on This computer's page, it stays closed on My Cloud's page in the same desktop; a desktop that never showed it shows it there", async () => {
- fresh(); await launch(); press("Not now"); await flush();
- storage.clear(); storage.set(PRODUCT_HUNT_NOTICE, "1"); storage.set(SIMPLE_MODE_PROMPT_KEY, "1");
- snapshot = { status: "none" }; viewer = { hosted: false, canSave: true, cloudHome: true }; f.state.config.cloudHome = true;
- f.state.config.onboarding.hintsSeen = [...withTourFinished(undefined), "cloud-setup-hidden"]; showWindow(MY_CLOUD);
- expect(await launch()).not.toContain(html(TITLE));
- desk = desktopMachine(); desk.saved = { seen: [WHATS_NEW_NOTICE] };
- expect(await launch()).toContain(html(TITLE));
- });
-
- it("shows in a plain browser too, where the claim goes to the browser's own mail app", async () => {
- vi.stubGlobal("window", { addEventListener: vi.fn(), removeEventListener: vi.fn(), location: { href: "https://bots.example.test/" } });
- viewer = { hosted: true, canSave: true }; fresh();
- expect(await launch()).toContain(html(TITLE));
- press(CLAIM); await flush();
- expect(window.location.href).toBe(boatClaimMailto());
- expect(storage.get(BOAT_OFFER_NOTICE)).toBe("1"); expect(render()).toBe("");
- });
-
- it("never on a branded build or an organization's desktop, and never from its end date on", async () => {
- fresh(); f.brand = "file";
- expect(await launch()).not.toContain(html(TITLE));
- f.brand = "default"; BOAT_OFFER.until = NOW + DAY;
- expect(await launch(), "before its end date").toContain(html(TITLE));
- now = NOW + DAY;
- expect(await launch(), "from its end date").not.toContain(html(TITLE));
- BOAT_OFFER.until = NOW - 1; now = NOW;
- expect(await launch(), "an end date already gone switches it off").not.toContain(html(TITLE));
- BOAT_OFFER.until = null;
- (window.ogb as Record<string, unknown>).organization = { state: async () => ({ status: "connected", organization: { id: "o", name: "Acme" } }), onState: () => () => {} };
- expect(await launch()).not.toContain(html(TITLE));
- });
-
- it("comes after a trial's notice, before the star, and waits while the bots move to My Cloud", async () => {
- fresh(); storage.delete(STAR_NOTICE);
- const running = trial("active");
- account = paid({ trial: running }); snapshot = { status: "paid", tier: "pro", trial: running, notice: "active" };
- const first = await launch();
- expect(first).toContain("Your free trial ends on"); expect(first).not.toContain(html(TITLE));
- snapshot = { ...snapshot, notice: undefined };
- const line = (move: unknown) => desk.handlers.set("cloud-send:notice", () => ({ ready: true, bots: [], move }));
- line({ phase: "copy", chats: { done: 1, total: 5 } });
- expect(await launch(), "while the bots move").not.toContain(html(TITLE));
- line(undefined);
- expect(await relaunch()).toContain(html(TITLE));
- press("Not now"); await flush();
- expect(await relaunch()).toContain(STAR);
- });
-});
-
describe("What's new after the update", () => {
const PRO = "Meet the new MausBot Cloud", TEAM = "Shared bots for your whole team", APPS = "Your apps have a home", PUBLISH = "Publish your bots";
const ID = WHATS_NEW_NOTICE;
- const BOAT = "$50 of Boat credit for you";
let modal: boolean;
const steps = () => vi.mocked(track).mock.calls.filter(([event]) => event === "whats_new").map(([, props]) => props as Record<string, unknown>);
const step = (action: string, slide: string, audience = "no_plan", signedIn = false) => ({ action, slide, audience, signed_in: signedIn, campaign: ID });
@@ -775,16 +595,16 @@ describe("What's new after the update", () => {
expect(slidesOf(await relaunch()), "back online").toEqual(["apps", "publish", "pro", "team"]);
});
- it("one promo a launch: What's new first; Boat's credit offer waits for the next launch, a reload in this one included", async () => {
- returning(); storage.delete(BOAT_OFFER_NOTICE); storage.set(CLOUD_INTRO, "1"); desk.saved = null;
+ it("one promo a launch: What's new first; the star card waits for the next launch, a reload in this one included", async () => {
+ returning(); storage.delete(STAR_NOTICE); storage.set(CLOUD_INTRO, "1"); desk.saved = null; offer = { ...PLAIN_OFFER };
const first = await launch();
- expect(on(first)).toBe("apps"); expect(first).not.toContain(BOAT);
+ expect(on(first)).toBe("apps"); expect(first).not.toContain(STAR);
press("Not now"); await flush();
expect(render(), "nothing else after it in this launch").toBe("");
expect(await launch(), "a reload is the same launch").toBe("");
const next = await relaunch();
- expect(on(next)).toBeNull(); expect(next).toContain(BOAT);
- expect(launchNotice()).toBe(BOAT_OFFER_NOTICE);
+ expect(on(next)).toBeNull(); expect(next).toContain(STAR);
+ expect(launchNotice()).toBe(STAR_NOTICE);
expect(steps().map(props => props.action)).toEqual(["seen", "not_now"]);
});
@@ -1068,7 +888,7 @@ describe("the Move from Grok Bot popup", () => {
});
it("goes first in the queue, one a launch: What's new, then the rest, wait for later launches", async () => {
- returning(); desk.saved = null; storage.delete(SIMPLE_MODE_PROMPT_KEY); storage.delete(BOAT_OFFER_NOTICE); storage.delete(STAR_NOTICE);
+ returning(); desk.saved = null; storage.delete(SIMPLE_MODE_PROMPT_KEY); storage.delete(STAR_NOTICE);
const first = await launch();
expect(first).toContain(TITLE);
for (const other of ["data-simple-mode-prompt", WHATS_NEW, STAR]) expect(first).not.toContain(other);
diff --git a/src/components/AppNotices.tsx b/src/components/AppNotices.tsx
index 8eacc5fbb3..dc4786d703 100644
--- a/src/components/AppNotices.tsx
+++ b/src/components/AppNotices.tsx
@@ -8,13 +8,12 @@ import { APP_REPOSITORY, appVersion } from "@/lib/app-links";
import { track } from "@/lib/analytics";
import { announcementConditions, announcementPlan, announcementPlatform, announcementSurface, markLaunchAnnouncement, pickAnnouncement, providersRestricted, rememberCardSeen, rememberSponsorDay,
reportAnnouncement, SPONSOR_CARDS_FOR_TEAM_MEMBERS, useAnnouncementCards, type SeenRecord } from "@/lib/announcements";
-import { boatOfferRuns } from "@/lib/boat-offer";
import { brandStatus } from "@/lib/brand";
import { buyOfferAllowed, cloudNoticeKind, cloudPlanView, cloudTrialNotice, cloudTrialView, offerTrialDays } from "@/lib/cloud-plan";
import { jobRoutine, useCloudIntent } from "@/lib/cloud-intent";
import { CLOUD_INTENT_GIVEN, cloudSetupStage } from "@/lib/cloud-setup";
import { cornerPopupWaits, firstChatQuiet, firstReplyPending } from "@/lib/corner-popup";
-import { ANNOUNCEMENT_NOTICE, BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, markLaunchNotice, MODELGO_OFFER_NOTICE, nextNotice, noticeSeen, PHONE_UPDATE_NOTICE, phoneUpdateHint, PREVIOUS_WHATS_NEW_NOTICE, PRODUCT_HUNT_NOTICE, TOGETHER_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, SIMPLE_MODE_NOTICE, STAR_NOTICE, TEAMS_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE } from "@/lib/notices";
+import { ANNOUNCEMENT_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, markLaunchNotice, MODELGO_OFFER_NOTICE, nextNotice, noticeSeen, PHONE_UPDATE_NOTICE, phoneUpdateHint, PREVIOUS_WHATS_NEW_NOTICE, PRODUCT_HUNT_NOTICE, TOGETHER_NOTICE, PRODUCT_HUNT_UNTIL, PRODUCT_HUNT_URL, SIMPLE_MODE_NOTICE, STAR_NOTICE, TEAMS_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE } from "@/lib/notices";
import { rememberNoticeSeen } from "@/lib/announcement-history";
import { reportTeams, teamsAction } from "@/lib/teams-whats-new";
import { useTwoPlaces } from "@/lib/two-places";
@@ -31,7 +30,6 @@ import { useUpdaterState } from "@/lib/updater";
import { phonePairingSettingsAction } from "@/lib/phone-pairing";
import { activeLocale, t } from "@/lib/i18n";
import { AnnouncementCard, announcementPlaceAction } from "./AnnouncementCard";
-import { BoatOfferCard, reportBoatOffer, type BoatOfferAction } from "./BoatOffer";
import { engineReady } from "./EngineLibrary";
import { CLOUD_NOTICE_CARD, cloudNoticeStep, CloudNoticeCard } from "./CloudNotice";
import { CloudTrialIntroCard } from "./CloudTrialIntro";
@@ -99,7 +97,6 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
const [failed, setFailed] = useState(false);
const [busy, setBusy] = useState(false);
const [simpleShown, setSimpleShown] = useState(false);
- const [boatShown, setBoatShown] = useState(false);
const [announcementShown, setAnnouncementShown] = useState<string | null>(null);
const [grokShown, setGrokShown] = useState(false);
const [grokOpen, setGrokOpen] = useState(false);
@@ -186,7 +183,6 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
const simpleBlocked = useOtherDialogOpen(simpleDue) || liveCall;
// A sponsor's card is for whoever chooses a team's providers: its Owner and Admins, never its members.
const sponsorsHere = SPONSOR_CARDS_FOR_TEAM_MEMBERS || !state.config?.team || viewer?.canSave === true;
- const boatHere = promotions && sponsorsHere && boatOfferRuns(now()) && brandStatus().source !== "file";
const teams = teamsAction({ team: state.config?.team, viewer, account, canAddCloud: Boolean(bridge) });
// Owed while it has a slide for this person (or may, while that is read): the Teams popup and the sponsor's card it took
// in wait for it, and count as seen with it.
@@ -277,7 +273,7 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
// FOLLOWERS); nothing else does.
const notice = waits ? null
: firstChatQuiet(state) ? (grokNow === true && (launch === null || launch === GROK_MOVE_NOTICE) ? GROK_MOVE_NOTICE : null)
- : teamsHere || cards || whatsNewOwed || consentHere || simpleDue || boatHere || announcementNow !== false || twoFact !== false || togetherFact !== false || grokNow !== false || phoneNow !== false ? nextNotice({
+ : teamsHere || cards || whatsNewOwed || consentHere || simpleDue || announcementNow !== false || twoFact !== false || togetherFact !== false || grokNow !== false || phoneNow !== false ? nextNotice({
[TEAMS_NOTICE]: teamsNow,
[GROK_MOVE_NOTICE]: grokNow,
[PHONE_UPDATE_NOTICE]: phoneNow,
@@ -293,12 +289,10 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
[CLOUD_NOTICE]: !view ? false : view.kind === "unknown" ? null
: Boolean(kind && !noticeSeen(record, CLOUD_NOTICE_CARD[kind].dismissed)),
[TOGETHER_NOTICE]: togetherFact,
- [BOAT_OFFER_NOTICE]: !boatHere || moving || afterWelcome === true || !usedBefore(state.bots) || desktopState?.seen.includes(BOAT_OFFER_NOTICE) ? false
- : organization === null || moving === null || afterWelcome === null || mausBotFirst || (desktop && !desktopState) ? null : !organization,
[ANNOUNCEMENT_NOTICE]: announcementNow,
[STAR_NOTICE]: !promotions || !bridge || moving || brandStatus().source === "file" || !usedBefore(state.bots) ? false : moving === null ? null : true,
}, id => id === TEAMS_NOTICE ? teamsSeen : id === CLOUD_INTRO ? stage === "done" && !introOpen
- : id === STAR_NOTICE || id === PRODUCT_HUNT_NOTICE || id === BOAT_OFFER_NOTICE ? noticeSeen(record, id) : false, launch, closed) : null;
+ : id === STAR_NOTICE || id === PRODUCT_HUNT_NOTICE ? noticeSeen(record, id) : false, launch, closed) : null;
const shownKey = notice === CLOUD_TRIAL_NOTICE ? key : notice === ANNOUNCEMENT_NOTICE ? `${notice}:${announcement?.id}` : notice;
useEffect(() => {
@@ -318,9 +312,6 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
setSimpleShown(true);
if (SIMPLE_ONLY || advancedBack) reportNewLook("shown", advancedBack);
else reportSimpleModePrompt("shown");
- } else if (shownKey === BOAT_OFFER_NOTICE && !boatShown) {
- setBoatShown(true);
- reportBoatOffer("shown", "card");
} else if (notice === ANNOUNCEMENT_NOTICE && announcement && announcementShown !== announcement.id) {
setAnnouncementShown(announcement.id);
markLaunchAnnouncement(announcement.id);
@@ -419,13 +410,6 @@ export function AppNotices({ quiet = false, viewer = null, now = Date.now }: { q
if (notice === PRODUCT_HUNT_NOTICE) {
return <ProductHuntCard onDone={action => { track("product_hunt_card", { action }); close(); save(PRODUCT_HUNT_NOTICE); }} />;
}
- if (notice === BOAT_OFFER_NOTICE) {
- const done = (action: BoatOfferAction) => {
- reportBoatOffer(action, "card"); close(); save(BOAT_OFFER_NOTICE);
- void desktop?.seen(BOAT_OFFER_NOTICE).catch(() => {});
- };
- return <BoatOfferCard onDone={done} />;
- }
if (notice === ANNOUNCEMENT_NOTICE && announcement) {
const done = (action: "primary" | "secondary" | "close") => {
reportAnnouncement(announcement, action); close(); rememberCardSeen(seenRecord, announcement.id, remembering);
diff --git a/src/components/BoatOffer.tsx b/src/components/BoatOffer.tsx
deleted file mode 100644
index 5083932dc4..0000000000
--- a/src/components/BoatOffer.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import { useId, useState } from "react";
-import { Gift, Mail } from "lucide-react";
-import { track } from "@/lib/analytics";
-import { openEmailDraft } from "@/lib/app-links";
-import { BOAT_OFFER, boatClaimMailto, boatOfferRuns } from "@/lib/boat-offer";
-import { brandStatus } from "@/lib/brand";
-import { cn } from "@/lib/cn";
-import { t } from "@/lib/i18n";
-import { LinkButton, NoticeCard, NotNowButton, PRIMARY_BUTTON } from "./NoticeCard";
-
-export type BoatOfferAction = "get_boat" | "claim" | "not_now" | "close";
-type BoatOfferPlace = "card" | "settings";
-
-export function reportBoatOffer(action: BoatOfferAction | "shown", place: BoatOfferPlace) {
- track("boat_offer", { action, place });
-}
-
-function BoatOfferWords() {
- return <>
- <p className="mt-1 text-[13px] leading-[18px] text-ink-secondary">{t("boatOffer.body")}</p>
- <p data-boat-offer-yourself className="mt-2 text-[13px] font-semibold leading-[18px] text-ink">{t("boatOffer.yourself")}</p>
- </>;
-}
-
-const CLAIM_BUTTON = "ui-button min-h-9 gap-1.5 px-3 py-1.5 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus";
-
-function ClaimButton({ onOpened, className }: { onOpened?: () => void; className?: string }) {
- const [failed, setFailed] = useState(false);
- return <div>
- <button type="button" data-boat-claim className={cn(CLAIM_BUTTON, className)} onClick={() => {
- setFailed(false);
- void openEmailDraft(boatClaimMailto()).then(onOpened, () => setFailed(true));
- }}>
- <Mail size={14} aria-hidden="true" className="shrink-0" />{t("boatOffer.claim")}
- </button>
- {failed && <p role="alert" className="mt-2 text-[12px] text-danger">{t("boatOffer.mailFailed", { address: BOAT_OFFER.claimTo })}</p>}
- </div>;
-}
-
-export function BoatOfferCard({ onDone }: { onDone: (action: BoatOfferAction) => void }) {
- return <NoticeCard titleId="boat-offer-title" notice="boat-offer" icon={Gift} title={t("boatOffer.title")} onDismiss={() => onDone("close")}>
- <BoatOfferWords />
- <div className="mt-3 flex flex-col gap-2">
- <LinkButton url={BOAT_OFFER.url} label={t("boatOffer.get")} showUrlOnError className={cn(PRIMARY_BUTTON, "w-full")} onOpened={() => onDone("get_boat")} />
- <ClaimButton className="w-full" onOpened={() => onDone("claim")} />
- <NotNowButton onClick={() => onDone("not_now")} />
- </div>
- </NoticeCard>;
-}
-
-export function BoatOfferPanel() {
- const titleId = useId();
- if (!boatOfferRuns(Date.now()) || brandStatus().source === "file") return null;
- // A plain row in the key's own card: title, its line, and Get Boat; no tinted box of its own.
- return <section data-boat-offer aria-labelledby={titleId} className="flex flex-col gap-2 pt-1">
- <div className="flex items-center gap-6">
- <div className="flex min-w-0 flex-1 flex-col gap-0.5">
- <h3 id={titleId} className="text-[14px] leading-5 text-ink">{t("boatOffer.title")}</h3>
- <p className="text-[13px] leading-[18px] text-ink-secondary">{t("boatOffer.body")}</p>
- <p data-boat-offer-yourself className="mt-1 text-[12px] leading-4 text-ink-secondary">{t("boatOffer.yourself")}</p>
- </div>
- <LinkButton url={BOAT_OFFER.url} label={t("boatOffer.get")} showUrlOnError className="ui-button ui-button-md shrink-0 rounded-full" onOpened={() => reportBoatOffer("get_boat", "settings")} />
- </div>
- <div className="flex items-center justify-end">
- <ClaimButton onOpened={() => reportBoatOffer("claim", "settings")} />
- </div>
- </section>;
-}
diff --git a/src/components/NoticeCard.tsx b/src/components/NoticeCard.tsx
index a9692377e5..6bd3368cd2 100644
--- a/src/components/NoticeCard.tsx
+++ b/src/components/NoticeCard.tsx
@@ -27,7 +27,7 @@ export function NoticeCard({ titleId, icon: Icon, title, onDismiss, dismissLabel
export const PRIMARY_BUTTON = "ui-button ui-button-primary min-h-9 gap-1.5 px-3 py-1.5 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus";
-export function LinkButton({ url, label, onOpened, showUrlOnError, className = PRIMARY_BUTTON }: { url: string; label: string; onOpened?: () => void; showUrlOnError?: boolean; className?: string }) {
+export function LinkButton({ url, label, onOpened, className = PRIMARY_BUTTON }: { url: string; label: string; onOpened?: () => void; className?: string }) {
const [failed, setFailed] = useState(false);
return <div>
<button type="button" className={className} onClick={() => {
@@ -37,7 +37,7 @@ export function LinkButton({ url, label, onOpened, showUrlOnError, className = P
{label}<ArrowUpRight size={14} aria-hidden="true" />
</button>
{failed && <p role="alert" className="mt-2 text-[12px] text-danger">
- {t("notice.openFailed")}{showUrlOnError && <> <span className="select-all">{url}</span></>}
+ {t("notice.openFailed")}
</p>}
</div>;
}
diff --git a/src/components/announcements/AnnouncementsPage.test.ts b/src/components/announcements/AnnouncementsPage.test.ts
index 2ec1cec0c8..ae026954fc 100644
--- a/src/components/announcements/AnnouncementsPage.test.ts
+++ b/src/components/announcements/AnnouncementsPage.test.ts
@@ -54,7 +54,7 @@ describe("Announcements", () => {
await open();
expect(document.querySelector("h1")?.textContent).toBe("Announcements");
expect(rows().map(row => row.dataset.announcementItem)).toEqual([card.id, TEAMS_NOTICE, "modelgo-offer-2026-11", "grok-move-2026-11", "whats-new-2026-11",
- "boat-credit-2026-11", "product-hunt-launch-2026-10", "cloud-trial-intro-v1"]);
+ "product-hunt-launch-2026-10", "cloud-trial-intro-v1"]);
const teams = rows()[1]!;
expect(teams.querySelector("time")?.getAttribute("datetime")).toBe("2026-11-17T00:00:00.000Z");
expect(teams.textContent).toContain("Nov 17, 2026");
@@ -63,8 +63,6 @@ describe("Announcements", () => {
const hunt = rows().find(row => row.dataset.announcementItem === "product-hunt-launch-2026-10")!;
expect(hunt.querySelector("[data-announcement-ended]")?.textContent).toBe("Ended");
expect(hunt.querySelector("button"), "no button to an offer that is over").toBeNull();
- const boat = rows().find(row => row.dataset.announcementItem === "boat-credit-2026-11")!;
- expect([...boat.querySelectorAll("button")].map(button => button.textContent)).toEqual(["Get Boat", "I bought it: claim my $50"]);
expect(rows().find(row => row.dataset.announcementItem === "whats-new-2026-11")?.textContent, "the earlier What's new reopens only when it has something for this account")
.not.toContain("Show again");
});
diff --git a/src/components/announcements/AnnouncementsPage.tsx b/src/components/announcements/AnnouncementsPage.tsx
index 4510873d5e..ffda53b212 100644
--- a/src/components/announcements/AnnouncementsPage.tsx
+++ b/src/components/announcements/AnnouncementsPage.tsx
@@ -1,9 +1,9 @@
import { useEffect, useRef, useState, type ComponentType, type ReactNode } from "react";
-import { Cloud, Gift, Megaphone, Rocket, UsersRound } from "lucide-react";
+import { Cloud, Megaphone, Rocket, UsersRound } from "lucide-react";
import type { CloudOffer } from "../../../electron/cloud-home.mjs";
import { itemSeen, rememberNoticeSeen, withDownloadedUpdate, type HistoryAction, type HistoryItem, type HistoryMark, type HistoryModal } from "@/lib/announcement-history";
import { appVersion, desktopAppVersion } from "@/lib/app-links";
-import { openEmailDraft, openExternalLink } from "@/lib/app-links";
+import { openExternalLink } from "@/lib/app-links";
import { cn } from "@/lib/cn";
import { EARLIER_WHATS_NEW_NOTICE } from "@/lib/notices";
import { activeLocale, t } from "@/lib/i18n";
@@ -25,14 +25,13 @@ import { BODY_TEXT, CHIP, DATE_TEXT, downloadedUpdate, MARK_TILE, QUIET_BUTTON,
import { useAnnouncements, type Announcements } from "./use-announcements";
const BUILT_IN_MARK: Record<HistoryMark, ComponentType<IconProps>> = {
- teams: UsersRound, cloud: Cloud, boat: Gift, modelgo: ModelgoMark, grok: GrokBotMark, "product-hunt": Rocket,
+ teams: UsersRound, cloud: Cloud, modelgo: ModelgoMark, grok: GrokBotMark, "product-hunt": Rocket,
};
type NoticeItem = Exclude<HistoryItem, { source: "release" }>;
/** A button that opens what an announcement's own notice opens, never anything else. */
export interface AnnouncementRun {
url: (url: string) => void;
- email: (url: string) => void;
place: (place: AnnouncementPlace) => void;
cloudAdd: (action: Extract<HistoryAction, { cloud_add: unknown }>["cloud_add"]) => void;
cloudHowTo: () => void;
@@ -40,7 +39,6 @@ export interface AnnouncementRun {
function run(action: HistoryAction | AnnouncementAction, to: AnnouncementRun) {
if ("open_url" in action) to.url(action.open_url);
- else if ("email" in action) to.email(action.email);
else if ("open" in action) to.place(action.open);
else if ("cloud_add" in action) to.cloudAdd(action.cloud_add);
else to.cloudHowTo();
@@ -164,7 +162,6 @@ export function AnnouncementsPage() {
useEffect(() => { if (found.unread) found.markRead(); }, [found.unread]);
const to: AnnouncementRun = {
url: url => void openExternalLink(url).catch(() => undefined),
- email: url => void openEmailDraft(url).catch(() => undefined),
place: place => dispatch(announcementPlaceAction(place)),
cloudAdd: source => dispatch({ type: "openCloudAdd", source }),
cloudHowTo: () => dispatch({ type: "cloudHowTo", open: true }),
diff --git a/src/components/keys/KeysPage.dom.test.ts b/src/components/keys/KeysPage.dom.test.ts
index 5295267160..a925126067 100644
--- a/src/components/keys/KeysPage.dom.test.ts
+++ b/src/components/keys/KeysPage.dom.test.ts
@@ -30,10 +30,6 @@ vi.mock("@/lib/analytics", () => ({ track: vi.fn() }));
vi.mock("@/lib/live-call-media", () => ({ dismissLiveNotice: vi.fn() }));
const { KeysPage } = await import("./KeysPage");
-const { track } = await import("@/lib/analytics");
-const { BOAT_OFFER, boatClaimMailto } = await import("@/lib/boat-offer");
-const { BOAT_OFFER_NOTICE } = await import("@/lib/notices");
-const { applyBrand, DEFAULT_BRAND } = await import("@/lib/brand");
const { LiveKeyNeeded } = await import("../LiveKeyNeeded");
const { openKeySettings } = await import("./key-focus");
@@ -489,58 +485,17 @@ describe("the Ollama row", () => {
});
});
-describe("Boat's credit offer on the Boat card", () => {
- const offer = () => row("box")!.querySelector<HTMLElement>("[data-boat-offer]");
- const buttons = () => [...offer()!.querySelectorAll<HTMLButtonElement>("button")];
- const openComputers = () => flushSync(() => section("computers").querySelector<HTMLButtonElement>("button[aria-expanded]")!.click());
- afterEach(() => {
- BOAT_OFFER.until = null;
- applyBrand({ brand: DEFAULT_BRAND, source: "default", file: "" });
- delete (window as unknown as { ogb?: unknown }).ogb;
- vi.unstubAllGlobals();
- });
-
- it("is always on the Boat card while the offer runs: with no key, a saved key, one a Cloud plan includes, and after its popup closed", () => {
- page(); openComputers();
+describe("the Boat card", () => {
+ it("is the key row alone, with no offer under it, whatever the key's state", () => {
+ page();
+ flushSync(() => section("computers").querySelector<HTMLButtonElement>("button[aria-expanded]")!.click());
for (const box of [{ configured: false }, { configured: true, last4: "c3d4" }, { configured: false, included: true }]) {
setConfig({ ...fx.config, box });
- expect(offer(), JSON.stringify(box)).not.toBeNull();
- expect(offer()!.closest("[hidden]")).toBeNull();
- const words = offer()!.textContent!;
- for (const text of ["$50 of Boat credit for you", "Boat runs the cloud computers behind MausBot.", "You claim it yourself: it isn't automatic."]) {
- expect(words).toContain(text);
- }
- expect(buttons().map((button) => button.textContent)).toEqual(["Get Boat", "I bought it: claim my $50"]);
+ const card = row("box")!;
+ expect(card.querySelector("[data-boat-offer]"), JSON.stringify(box)).toBeNull();
+ expect(card.textContent).not.toMatch(/\$50|credit|claim/i);
+ expect([...card.querySelectorAll("button")].map((button) => button.textContent)).not.toContain("Get Boat");
}
- vi.stubGlobal("localStorage", { getItem: (key: string) => (key === BOAT_OFFER_NOTICE ? "1" : null), setItem: () => {}, removeItem: () => {} });
- page();
- expect(offer(), "closing the popup never takes it from Settings").not.toBeNull();
- type(host.querySelector<HTMLInputElement>("[data-keys-search]")!, "boat");
- expect(rowsShown()).toContain("box"); expect(offer()!.closest("[hidden]")).toBeNull();
- });
-
- it("Get Boat opens boat.dev and the claim drafts the email to Boat; both stay for a later visit and save nothing", async () => {
- const openExternal = vi.fn(async () => true);
- (window as unknown as { ogb?: unknown }).ogb = { openExternal };
- page(); openComputers();
- flushSync(() => buttons()[0]!.click());
- await vi.waitFor(() => expect(openExternal).toHaveBeenCalledWith("https://boat.dev"));
- flushSync(() => buttons()[1]!.click());
- await vi.waitFor(() => expect(openExternal).toHaveBeenCalledWith(boatClaimMailto()));
- await vi.waitFor(() => expect(track).toHaveBeenCalledWith("boat_offer", { action: "claim", place: "settings" }));
- expect(track).toHaveBeenCalledWith("boat_offer", { action: "get_boat", place: "settings" });
- expect(offer()).not.toBeNull();
- expect(fx.api).not.toHaveBeenCalled();
- });
-
- it("goes from its end date on, and on a branded build, while the Boat card stays", () => {
- BOAT_OFFER.until = Date.now() - 1;
- page();
- expect(row("box")).not.toBeNull(); expect(offer()).toBeNull();
- BOAT_OFFER.until = null;
- applyBrand({ brand: { name: "Acme Bots" }, source: "file", file: "brand.json" });
- page();
- expect(row("box")).not.toBeNull(); expect(offer()).toBeNull();
});
});
diff --git a/src/components/keys/KeysPage.tsx b/src/components/keys/KeysPage.tsx
index 47d218bd3a..f41d32a8f6 100644
--- a/src/components/keys/KeysPage.tsx
+++ b/src/components/keys/KeysPage.tsx
@@ -5,7 +5,6 @@ import { type ConfigStatus } from "@/state/store";
import { cn } from "@/lib/cn";
import { scrollParent, scrollWithin } from "@/lib/scroll-within";
import { t } from "@/lib/i18n";
-import { BoatOfferPanel } from "../BoatOffer";
import { LiveProviderSettings } from "../LiveProviderSettings";
import { VoiceEveryReplySetting } from "../VoiceEveryReplySetting";
import { VoiceHearingSetting } from "../VoiceHearingSetting";
@@ -33,7 +32,6 @@ const PANELS: Partial<Record<KeyId, (visible: boolean) => ReactNode>> = {
const EXTRAS: Partial<Record<KeyId, () => ReactNode>> = {
anthropic: () => <AnthropicEveryClaudeBot />,
openaiCompat: () => <><OpenAiCompatUrl /><BuiltInReplyWait /><BuiltInCustomHeaders /><OtherOpenAiCompatServers /></>,
- box: () => <BoatOfferPanel />,
liveKey: () => <LiveProviderSettings />,
};
diff --git a/src/components/settings/closed-scale.test.ts b/src/components/settings/closed-scale.test.ts
index 69bff95ae8..313532d1e4 100644
--- a/src/components/settings/closed-scale.test.ts
+++ b/src/components/settings/closed-scale.test.ts
@@ -18,7 +18,6 @@ const FILES = [
"src/components/AppearanceSelectRows.tsx",
"src/components/AttachmentStorageSettings.tsx",
"src/components/AutomaticRecoverySettings.tsx",
- "src/components/BoatOffer.tsx",
"src/components/BrowserProfilesManager.tsx",
"src/components/BrowserSettingsRows.tsx",
"src/components/CacheKeepWarmSettings.tsx",
diff --git a/src/lib/announcement-history.test.ts b/src/lib/announcement-history.test.ts
index 7c12578837..725029d092 100644
--- a/src/lib/announcement-history.test.ts
+++ b/src/lib/announcement-history.test.ts
@@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
vi.mock("@/state/store", () => ({ api: vi.fn() }));
import { api } from "@/state/store";
import { EMPTY_ONBOARDING, type OnboardingStatus } from "@/lib/onboarding";
-import { BOAT_OFFER_NOTICE, CLOUD_INTRO, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, TEAMS_NOTICE } from "@/lib/notices";
+import { CLOUD_INTRO, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL, TEAMS_NOTICE } from "@/lib/notices";
import { announcementHistory, announcementsReadAt, announcementsUnread, BUILT_IN_ANNOUNCEMENTS, firstListedVersion, markAnnouncementsRead, READ_BASELINE, readMark,
rememberNoticeSeen, withDownloadedUpdate, type HistoryFacts, type PersonRecord } from "./announcement-history";
import type { ReleaseEntry } from "../../shared/release-notes";
@@ -27,7 +27,7 @@ afterEach(() => vi.unstubAllGlobals());
describe("the built-in announcements", () => {
it("are one registry, each with its notice id, a date and its words, newest first, Teams at the top", () => {
- expect(ids(desktopHere)).toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE, EARLIER_WHATS_NEW_NOTICE, BOAT_OFFER_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO]);
+ expect(ids(desktopHere)).toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE, EARLIER_WHATS_NEW_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO]);
for (const entry of BUILT_IN_ANNOUNCEMENTS) expect(Number.isFinite(Date.parse(entry.date)), entry.id).toBe(true);
expect(BUILT_IN_ANNOUNCEMENTS.find(entry => entry.id === TEAMS_NOTICE)?.open).toEqual({ modal: "teams" });
});
@@ -35,14 +35,23 @@ describe("the built-in announcements", () => {
it("list only what was for this person here, by each one's own rules", () => {
expect(ids({ ...desktopHere, branded: true }), "a branded build: nothing").toEqual([]);
expect(ids({ ...desktopHere, organization: true }), "an organization's desktop: only the sponsor offers it allows")
- .toEqual([MODELGO_OFFER_NOTICE, BOAT_OFFER_NOTICE]);
- expect(ids({ ...desktopHere, organization: null }), "while that is read, nothing else").toEqual([MODELGO_OFFER_NOTICE, BOAT_OFFER_NOTICE]);
+ .toEqual([MODELGO_OFFER_NOTICE]);
+ expect(ids({ ...desktopHere, organization: null }), "while that is read, nothing else").toEqual([MODELGO_OFFER_NOTICE]);
const browser: HistoryFacts = { ...desktopHere, cloudSale: false, cloudCards: false };
- expect(ids(browser), "a browser: no Cloud sales").toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE, BOAT_OFFER_NOTICE]);
+ expect(ids(browser), "a browser: no Cloud sales").toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE]);
const member: HistoryFacts = { ...browser, team: true, canSave: false, sponsors: false };
expect(ids(member), "a Team Cloud's member: Teams alone").toEqual([TEAMS_NOTICE]);
expect(ids({ ...member, canSave: true, sponsors: true }), "its admin: the sponsor offers too, never the Grok Bot move")
- .toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE, BOAT_OFFER_NOTICE]);
+ .toEqual([TEAMS_NOTICE, MODELGO_OFFER_NOTICE]);
+ });
+
+ it("a notice id kept from an announcement since removed lists nothing and raises no dot", () => {
+ const gone = "boat-credit-2026-11";
+ const items = announcementHistory({ facts: desktopHere, cards: [], feedUpdatedAt: null, now: NOW });
+ expect(items.map(item => item.id)).not.toContain(gone);
+ storage.set(gone, "1");
+ const kept: PersonRecord = { record: record([gone, readMark(NOW)]), desktopSeen: [gone] };
+ expect(announcementsUnread(items, kept)).toBe(false);
});
it("an offer whose time is over is Ended; one still running is not", () => {
@@ -50,14 +59,13 @@ describe("the built-in announcements", () => {
const ended = (id: string) => items.find(item => item.id === id)?.source === "built-in" && (items.find(item => item.id === id) as { ended: boolean }).ended;
expect(NOW).toBeGreaterThan(PRODUCT_HUNT_UNTIL);
expect(ended(PRODUCT_HUNT_NOTICE)).toBe(true);
- expect(ended(BOAT_OFFER_NOTICE)).toBe(false);
expect(ended(MODELGO_OFFER_NOTICE)).toBe(false);
});
it("a card from the file sits by its starts, else by when the file changed, among them", () => {
const cards = [card("later", { starts: "2026-11-20T00:00:00Z" }), card("undated"), card("old", { starts: "2026-10-20T00:00:00Z" })];
expect(ids(desktopHere, cards, Date.parse("2026-11-12T00:00:00Z")))
- .toEqual(["later", TEAMS_NOTICE, "undated", MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE, EARLIER_WHATS_NEW_NOTICE, BOAT_OFFER_NOTICE, "old", PRODUCT_HUNT_NOTICE, CLOUD_INTRO]);
+ .toEqual(["later", TEAMS_NOTICE, "undated", MODELGO_OFFER_NOTICE, GROK_MOVE_NOTICE, EARLIER_WHATS_NEW_NOTICE, "old", PRODUCT_HUNT_NOTICE, CLOUD_INTRO]);
});
});
diff --git a/src/lib/announcement-history.ts b/src/lib/announcement-history.ts
index 6a808a2753..39df039769 100644
--- a/src/lib/announcement-history.ts
+++ b/src/lib/announcement-history.ts
@@ -2,10 +2,9 @@
// person last looked. The built-in ones are listed here, one entry each (docs/announcements.md says how to add one); the
// cards from the project's announcements file come from src/lib/announcements.ts.
import { useSyncExternalStore } from "react";
-import { BOAT_OFFER, boatClaimMailto } from "@/lib/boat-offer";
import type { CloudSource } from "@/lib/cloud-plan";
import type { OnboardingStatus } from "@/lib/onboarding";
-import { BOAT_OFFER_NOTICE, CLOUD_INTRO, dismissNotices, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, noticeSeen, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL,
+import { CLOUD_INTRO, dismissNotices, EARLIER_WHATS_NEW_NOTICE, GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, noticeSeen, PRODUCT_HUNT_NOTICE, PRODUCT_HUNT_UNTIL,
PRODUCT_HUNT_URL, TEAMS_NOTICE } from "@/lib/notices";
import type { LocaleKey } from "@/locales";
import type { ConfigStatus } from "@/state/config-status";
@@ -37,10 +36,10 @@ export interface HistoryFacts {
modelgo: boolean;
}
-export type HistoryMark = "teams" | "cloud" | "boat" | "modelgo" | "grok" | "product-hunt";
+export type HistoryMark = "teams" | "cloud" | "modelgo" | "grok" | "product-hunt";
/** A popup the Announcements page opens again. */
export type HistoryModal = "teams" | "whats-new" | "grok-move";
-export type HistoryAction = { open_url: string } | { email: string } | { cloud_add: CloudSource } | { cloud_how_to: true };
+export type HistoryAction = { open_url: string } | { cloud_add: CloudSource } | { cloud_how_to: true };
export interface HistoryButton { label: LocaleKey; action: HistoryAction }
export interface BuiltInAnnouncement {
@@ -68,8 +67,6 @@ export const BUILT_IN_ANNOUNCEMENTS: readonly BuiltInAnnouncement[] = [
for: facts => everywhere(facts) && !facts.remote && facts.canSave && !facts.team, open: { modal: "grok-move" } },
{ id: EARLIER_WHATS_NEW_NOTICE, date: "2026-10-31", title: "whatsNew.cloud.title", body: "whatsNew.cloud.body", mark: "cloud",
for: facts => everywhere(facts) && facts.cloudSale, open: { modal: "whats-new" } },
- { id: BOAT_OFFER_NOTICE, date: "2026-10-31", title: "boatOffer.title", body: "boatOffer.body", mark: "boat", for: facts => facts.sponsors && !facts.branded,
- open: { buttons: [{ label: "boatOffer.get", action: { open_url: BOAT_OFFER.url } }, { label: "boatOffer.claim", action: { email: boatClaimMailto() } }] }, until: BOAT_OFFER.until },
{ id: PRODUCT_HUNT_NOTICE, date: "2026-10-13", title: "productHunt.title", body: "productHunt.body", mark: "product-hunt",
for: facts => everywhere(facts) && facts.cloudCards, open: { buttons: [{ label: "productHunt.button", action: { open_url: PRODUCT_HUNT_URL } }] }, until: PRODUCT_HUNT_UNTIL },
{ id: CLOUD_INTRO, date: "2026-10-09", title: "cloudIntro.title", body: "cloudIntro.body", mark: "cloud", for: facts => everywhere(facts) && facts.cloudSale,
diff --git a/src/lib/app-links.ts b/src/lib/app-links.ts
index 87052fc25e..182b1d6c20 100644
--- a/src/lib/app-links.ts
+++ b/src/lib/app-links.ts
@@ -49,9 +49,3 @@ export async function openExternalLink(url: string): Promise<void> {
}
window.open(url, "_blank", "noopener,noreferrer");
}
-
-/** A browser hands a mailto: link to its own mail app; the desktop app's window may not navigate to one, so main opens it. */
-export async function openEmailDraft(url: string): Promise<void> {
- if (window.ogb) return openExternalLink(url);
- window.location.href = url;
-}
diff --git a/src/lib/boat-offer.test.ts b/src/lib/boat-offer.test.ts
deleted file mode 100644
index b8ddd37c4a..0000000000
--- a/src/lib/boat-offer.test.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { describe, expect, it } from "vitest";
-import { BOAT_OFFER, boatClaimMailto, boatOfferRuns } from "./boat-offer";
-
-const SUBJECT = "MausBot introduced me: $50 Boat credit";
-const BODY = "Hi Boat team,\n\nMausBot introduced me to Boat. I'm on the $___ plan.\nMy Boat account email: ___\n\nThanks!";
-
-describe("Boat's credit offer", () => {
- it("goes to boat.dev and claims at Boat's billing address, with no end date until Boat names one", () => {
- expect(BOAT_OFFER.url).toBe("https://boat.dev");
- expect(BOAT_OFFER.claimTo).toBe("[email protected]");
- expect(BOAT_OFFER.until).toBeNull();
- });
-
- it("drafts the claim to that address with the subject and body Boat asked for, for the person to send", () => {
- const mailto = boatClaimMailto();
- expect(mailto).toBe("mailto:[email protected]"
- + "?subject=MausBot%20introduced%20me%3A%20%2450%20Boat%20credit"
- + "&body=Hi%20Boat%20team%2C%0D%0A%0D%0AMausBot%20introduced%20me%20to%20Boat.%20I'm%20on%20the%20%24___%20plan.%0D%0AMy%20Boat%20account%20email%3A%20___%0D%0A%0D%0AThanks!");
- const url = new URL(mailto);
- expect(`${url.protocol}${url.pathname}`).toBe("mailto:[email protected]");
- expect([...url.searchParams.keys()]).toEqual(["subject", "body"]);
- expect(url.searchParams.get("subject")).toBe(SUBJECT);
- expect(url.searchParams.get("body")!.replace(/\r\n/g, "\n")).toBe(BODY);
- expect(mailto, "a space is %20, never +, which some mail apps show as it is").not.toContain("+");
- });
-
- it("runs until its end date, and for good while none is set", () => {
- const end = Date.UTC(2026, 11, 1);
- expect(boatOfferRuns(end)).toBe(true);
- expect(boatOfferRuns(end - 1, { ...BOAT_OFFER, until: end })).toBe(true);
- expect(boatOfferRuns(end, { ...BOAT_OFFER, until: end })).toBe(false);
- expect(boatOfferRuns(end + 1, { ...BOAT_OFFER, until: end })).toBe(false);
- });
-});
diff --git a/src/lib/boat-offer.ts b/src/lib/boat-offer.ts
deleted file mode 100644
index 3e8e0fd91e..0000000000
--- a/src/lib/boat-offer.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/** Boat's credit for people MausBot introduces to Boat. The person claims it by writing to Boat themselves: the app only
- * opens a draft they send, so nothing is ever claimed for them. */
-export interface BoatOffer {
- url: string;
- /** Boat's billing and account address. */
- claimTo: string;
- /** Boat's team reads the claim, so it stays in English whatever the app's language. */
- subject: string;
- body: string;
- /** From this time (epoch ms) the offer shows nowhere; null while Boat has named no end date. */
- until: number | null;
-}
-
-export const BOAT_OFFER: BoatOffer = {
- url: "https://boat.dev",
- claimTo: "[email protected]",
- subject: "MausBot introduced me: $50 Boat credit",
- body: "Hi Boat team,\n\nMausBot introduced me to Boat. I'm on the $___ plan.\nMy Boat account email: ___\n\nThanks!",
- until: null,
-};
-
-export function boatOfferRuns(now: number, offer: BoatOffer = BOAT_OFFER): boolean {
- return offer.until === null || now < offer.until;
-}
-
-/** RFC 6068: everything after the address is percent-encoded (never "+" for a space) and a line break is %0D%0A. */
-export function boatClaimMailto(offer: BoatOffer = BOAT_OFFER): string {
- const encode = (text: string) => encodeURIComponent(text.replace(/\r?\n/g, "\r\n"));
- return `mailto:${offer.claimTo}?subject=${encode(offer.subject)}&body=${encode(offer.body)}`;
-}
diff --git a/src/lib/notices.test.ts b/src/lib/notices.test.ts
index 9152e88d47..a34411bc21 100644
--- a/src/lib/notices.test.ts
+++ b/src/lib/notices.test.ts
@@ -2,7 +2,7 @@ import { afterEach, beforeEach, expect, it, vi } from "vitest";
import { EMPTY_ONBOARDING, type OnboardingStatus } from "@/lib/onboarding";
import { withTourReset } from "@/lib/guided-tour";
import { DESKTOP_NOTICES } from "../../electron/desktop-prefs.mjs";
-import { ANNOUNCEMENT_NOTICE, BOAT_OFFER_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, EARLIER_WHATS_NEW_NOTICE, FOLLOWERS, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, localDay, markLaunchNotice, MODELGO_OFFER_NOTICE, MUST_ACT, PREVIOUS_WHATS_NEW_NOTICE,
+import { ANNOUNCEMENT_NOTICE, CLOUD_INTRO, CLOUD_NOTICE, CLOUD_TRIAL_NOTICE, dismissNotice, dismissNotices, EARLIER_WHATS_NEW_NOTICE, FOLLOWERS, GROK_MOVE_NOTICE, introShown, introStage, launchNotice, localDay, markLaunchNotice, MODELGO_OFFER_NOTICE, MUST_ACT, PREVIOUS_WHATS_NEW_NOTICE,
nextNotice, noticeSeen, NOTICES, OLD_PRO_DISMISSALS, PHONE_UPDATE_NOTICE, phoneUpdateHint, PRODUCT_HUNT_NOTICE, SIMPLE_MODE_NOTICE, STAR_NOTICE, TEAMS_NOTICE, TOGETHER_NOTICE, TWO_PLACES_NOTICE, UPDATES_CONSENT_NOTICE, usedBefore, WHATS_NEW_NOTICE, type NoticeFacts,
type NoticeId } from "./notices";
@@ -16,15 +16,15 @@ afterEach(() => vi.unstubAllGlobals());
const record = (hintsSeen: string[] = []): OnboardingStatus => ({ ...EMPTY_ONBOARDING, completedAt: "2026-09-01", version: 1, hintsSeen });
const facts = (intro: boolean | null, trial: boolean | null, cloud: boolean | null, star: boolean | null, launch: boolean | null = false, popup: boolean | null = false,
- consent: boolean | null = false, simple: boolean | null = false, boat: boolean | null = false, two: boolean | null = false, grok: boolean | null = false,
+ consent: boolean | null = false, simple: boolean | null = false, two: boolean | null = false, grok: boolean | null = false,
phone: boolean | null = false, announcement: boolean | null = false, teams: boolean | null = false, together: boolean | null = false): NoticeFacts =>
({ [TOGETHER_NOTICE]: together, [TEAMS_NOTICE]: teams, [GROK_MOVE_NOTICE]: grok, [PHONE_UPDATE_NOTICE]: phone, [WHATS_NEW_NOTICE]: popup, [SIMPLE_MODE_NOTICE]: simple, [UPDATES_CONSENT_NOTICE]: consent, [TWO_PLACES_NOTICE]: two, [PRODUCT_HUNT_NOTICE]: launch, [CLOUD_INTRO]: intro, [CLOUD_TRIAL_NOTICE]: trial, [CLOUD_NOTICE]: cloud,
- [BOAT_OFFER_NOTICE]: boat, [ANNOUNCEMENT_NOTICE]: announcement, [STAR_NOTICE]: star });
+ [ANNOUNCEMENT_NOTICE]: announcement, [STAR_NOTICE]: star });
const none = () => false;
const DAY = 86_400_000, NOON = new Date(2026, 9, 9, 12).getTime();
it("the Move from Grok Bot popup goes ahead of everything, and holds the queue while it waits", () => {
- const all = (grok: boolean | null) => facts(true, true, true, true, true, true, true, true, true, true, grok);
+ const all = (grok: boolean | null) => facts(true, true, true, true, true, true, true, true, true, grok);
expect(nextNotice(all(true), none)).toBe(GROK_MOVE_NOTICE);
expect(nextNotice(all(null), none)).toBeNull();
expect(nextNotice(all(false), none)).toBe(WHATS_NEW_NOTICE);
@@ -33,15 +33,15 @@ it("the Move from Grok Bot popup goes ahead of everything, and holds the queue w
expect(GROK_MOVE_NOTICE).toBe("grok-move-2026-11");
});
-it("is one queue: What's new first, then the Simple mode popup, the product-updates question, the launch card, the card after the update, the trial's notice, the My Cloud card, Boat's credit offer, the star", () => {
+it("is one queue: What's new first, then the Simple mode popup, the product-updates question, the launch card, the card after the update, the trial's notice, the My Cloud card, the star", () => {
expect(nextNotice(facts(true, true, true, true, true, true, true, true), none)).toBe(WHATS_NEW_NOTICE);
expect(nextNotice(facts(true, true, true, true, true, null, true, true), none), "nothing shows while What's new waits").toBeNull();
expect(nextNotice(facts(true, true, true, true, true, true, true, true), id => id === WHATS_NEW_NOTICE)).toBe(SIMPLE_MODE_NOTICE);
expect(nextNotice(facts(true, true, true, true, true, false, true, null), none), "nothing shows while the Simple mode popup waits").toBeNull();
- expect(NOTICES).toEqual([TEAMS_NOTICE, GROK_MOVE_NOTICE, PHONE_UPDATE_NOTICE, WHATS_NEW_NOTICE, SIMPLE_MODE_NOTICE, UPDATES_CONSENT_NOTICE, TWO_PLACES_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE, TOGETHER_NOTICE, BOAT_OFFER_NOTICE, ANNOUNCEMENT_NOTICE, STAR_NOTICE]);
- expect(nextNotice(facts(true, true, true, true, true, false, false, false, false, true), none), "bots in two places come before any promotion").toBe(TWO_PLACES_NOTICE);
- expect(nextNotice(facts(true, true, true, true, true, false, true, false, false, true), none), "after the product-updates question").toBe(UPDATES_CONSENT_NOTICE);
- expect(nextNotice(facts(true, true, true, true, true, false, false, false, false, null), none), "nothing lower shows while main hasn't answered").toBeNull();
+ expect(NOTICES).toEqual([TEAMS_NOTICE, GROK_MOVE_NOTICE, PHONE_UPDATE_NOTICE, WHATS_NEW_NOTICE, SIMPLE_MODE_NOTICE, UPDATES_CONSENT_NOTICE, TWO_PLACES_NOTICE, PRODUCT_HUNT_NOTICE, CLOUD_INTRO, CLOUD_TRIAL_NOTICE, CLOUD_NOTICE, TOGETHER_NOTICE, ANNOUNCEMENT_NOTICE, STAR_NOTICE]);
+ expect(nextNotice(facts(true, true, true, true, true, false, false, false, true), none), "bots in two places come before any promotion").toBe(TWO_PLACES_NOTICE);
+ expect(nextNotice(facts(true, true, true, true, true, false, true, false, true), none), "after the product-updates question").toBe(UPDATES_CONSENT_NOTICE);
+ expect(nextNotice(facts(true, true, true, true, true, false, false, false, null), none), "nothing lower shows while main hasn't answered").toBeNull();
expect(nextNotice(facts(true, true, true, true, true, true, true), none)).toBe(WHATS_NEW_NOTICE);
expect(nextNotice(facts(true, true, true, true, true, true, true), id => id === WHATS_NEW_NOTICE)).toBe(UPDATES_CONSENT_NOTICE);
expect(nextNotice(facts(true, true, true, true, true, null, true), none)).toBeNull();
@@ -58,23 +58,17 @@ it("is one queue: What's new first, then the Simple mode popup, the product-upda
expect(nextNotice(facts(false, true, true, true), none)).toBe(CLOUD_TRIAL_NOTICE);
expect(nextNotice(facts(false, false, true, true), none)).toBe(CLOUD_NOTICE);
expect(nextNotice(facts(false, false, false, true), none)).toBe(STAR_NOTICE);
- const boat = (intro: boolean, trial: boolean, cloud: boolean, offer: boolean | null) => facts(intro, trial, cloud, true, false, false, false, false, offer);
- expect(nextNotice(boat(false, false, false, true), none)).toBe(BOAT_OFFER_NOTICE);
- expect(nextNotice(boat(false, true, false, true), none), "a trial's notice goes first").toBe(CLOUD_TRIAL_NOTICE);
- expect(nextNotice(boat(false, false, true, true), none), "so does the account's card").toBe(CLOUD_NOTICE);
- expect(nextNotice(boat(false, false, false, null), none), "the star waits for it").toBeNull();
- expect(nextNotice(boat(false, false, false, true), id => id === BOAT_OFFER_NOTICE)).toBe(STAR_NOTICE);
expect(nextNotice(facts(true, true, true, true), id => id === CLOUD_INTRO || id === STAR_NOTICE)).toBe(CLOUD_TRIAL_NOTICE);
expect(nextNotice(facts(true, true, true, true), () => true)).toBeNull();
expect(nextNotice(facts(false, false, false, false), none)).toBeNull();
});
-it("Boat's credit offer and the Grok Bot move are ones the desktop keeps for its every page, as What's new is", () => {
- expect(DESKTOP_NOTICES).toEqual([EARLIER_WHATS_NEW_NOTICE, BOAT_OFFER_NOTICE, GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, TEAMS_NOTICE, PREVIOUS_WHATS_NEW_NOTICE, WHATS_NEW_NOTICE]);
+it("the Grok Bot move is one the desktop keeps for its every page, as What's new is; a retired card's id stays for Clouds on an older version", () => {
+ expect(DESKTOP_NOTICES).toEqual([EARLIER_WHATS_NEW_NOTICE, "boat-credit-2026-11", GROK_MOVE_NOTICE, MODELGO_OFFER_NOTICE, TEAMS_NOTICE, PREVIOUS_WHATS_NEW_NOTICE, WHATS_NEW_NOTICE]);
});
it("the Teams What's new goes ahead of every notice, holds the queue while it waits, and the rest keep their order after it", () => {
- const all = (teams: boolean | null) => facts(true, true, true, true, true, true, true, true, true, true, true, true, true, teams);
+ const all = (teams: boolean | null) => facts(true, true, true, true, true, true, true, true, true, true, true, true, teams);
expect(TEAMS_NOTICE).toBe("teams-2026-11b");
expect(nextNotice(all(true), none)).toBe(TEAMS_NOTICE);
expect(nextNotice(all(null), none), "nothing shows while it waits").toBeNull();
@@ -85,23 +79,23 @@ it("the Teams What's new goes ahead of every notice, holds the queue while it wa
expect(nextNotice(all(true), none, GROK_MOVE_NOTICE), "a launch another notice took keeps it for the next").toBe(GROK_MOVE_NOTICE);
});
-it("one notice a launch: What's new goes first and Boat's credit offer waits for a later launch; only the product-updates question may follow", () => {
- const both = facts(false, false, false, true, false, true, false, false, true);
+it("one notice a launch: What's new goes first and the launch card waits for a later launch; only the product-updates question may follow", () => {
+ const both = facts(false, false, false, true, true, true);
expect(nextNotice(both, none)).toBe(WHATS_NEW_NOTICE);
- expect(NOTICES.indexOf(WHATS_NEW_NOTICE), "What's new comes before the Boat card").toBeLessThan(NOTICES.indexOf(BOAT_OFFER_NOTICE));
+ expect(NOTICES.indexOf(WHATS_NEW_NOTICE), "What's new comes before the launch card").toBeLessThan(NOTICES.indexOf(PRODUCT_HUNT_NOTICE));
expect(nextNotice(both, id => id === WHATS_NEW_NOTICE, WHATS_NEW_NOTICE), "What's new closed: nothing else this launch").toBeNull();
- expect(nextNotice(facts(false, false, false, true, false, true, true, false, true), id => id === WHATS_NEW_NOTICE, WHATS_NEW_NOTICE), "but the question may follow")
+ expect(nextNotice(facts(false, false, false, true, true, true, true), id => id === WHATS_NEW_NOTICE, WHATS_NEW_NOTICE), "but the question may follow")
.toBe(UPDATES_CONSENT_NOTICE);
expect(nextNotice(both, none, WHATS_NEW_NOTICE), "a reload while it is up shows it again").toBe(WHATS_NEW_NOTICE);
- expect(nextNotice(both, id => id === WHATS_NEW_NOTICE), "the next launch").toBe(BOAT_OFFER_NOTICE);
- expect(nextNotice(facts(false, null, false, true, false, false, false, false, true), none, BOAT_OFFER_NOTICE), "a notice this launch didn't take never holds it back")
- .toBe(BOAT_OFFER_NOTICE);
- expect(nextNotice(facts(false, true, false, true), none, BOAT_OFFER_NOTICE), "a trial's notice waits for the next launch too").toBeNull();
+ expect(nextNotice(both, id => id === WHATS_NEW_NOTICE), "the next launch").toBe(PRODUCT_HUNT_NOTICE);
+ expect(nextNotice(facts(false, null, false, true, true), none, PRODUCT_HUNT_NOTICE), "a notice this launch didn't take never holds it back")
+ .toBe(PRODUCT_HUNT_NOTICE);
+ expect(nextNotice(facts(false, true, false, true), none, PRODUCT_HUNT_NOTICE), "a trial's notice waits for the next launch too").toBeNull();
});
it("a launch keeps the notice it showed first for the window's session; storage that throws keeps it for the page", () => {
expect(launchNotice()).toBeNull();
- markLaunchNotice(WHATS_NEW_NOTICE); markLaunchNotice(BOAT_OFFER_NOTICE);
+ markLaunchNotice(WHATS_NEW_NOTICE); markLaunchNotice(PRODUCT_HUNT_NOTICE);
expect(launchNotice()).toBe(WHATS_NEW_NOTICE);
expect(session.get("omb.launch.notice")).toBe(WHATS_NEW_NOTICE);
session.set("omb.launch.notice", "something-else");
@@ -189,7 +183,7 @@ it("someone has used the app before when a conversation from before this launch
});
it("What's new comes after the Grok Bot popup and the phone update, so a What's new that waits never holds those back", () => {
- const due = (popup: boolean | null, grok: boolean | null = false, phone: boolean | null = false) => facts(true, true, true, true, true, popup, true, true, true, true, grok, phone);
+ const due = (popup: boolean | null, grok: boolean | null = false, phone: boolean | null = false) => facts(true, true, true, true, true, popup, true, true, true, grok, phone);
expect(nextNotice(due(null, true), none), "the move popup goes first").toBe(GROK_MOVE_NOTICE);
expect(nextNotice(due(null, false, true), none), "so does the phone update").toBe(PHONE_UPDATE_NOTICE);
expect(nextNotice(due(null), none), "then it holds everything lower").toBeNull();
@@ -199,7 +193,7 @@ it("What's new comes after the Grok Bot popup and the phone update, so a What's
});
it("a new install's first launch: What's new waits for the first reply, then is the launch's one notice, unless the move popup took the launch", () => {
- const first = (popup: boolean | null, grok: boolean | null = false) => facts(false, false, false, false, false, popup, false, false, false, false, grok);
+ const first = (popup: boolean | null, grok: boolean | null = false) => facts(false, false, false, false, false, popup, false, false, false, grok);
expect(nextNotice(first(null), none), "before the first reply").toBeNull();
expect(nextNotice(first(true), none)).toBe(WHATS_NEW_NOTICE);
expect(nextNotice(first(true, true), none), "the move popup still goes first").toBe(GROK_MOVE_NOTICE);
@@ -212,13 +206,13 @@ it("a new install's first launch: What's new waits for the first reply, then is
});
it("Update MausBot on your phone goes right after the Grok Bot popup, ahead of every promotion, and holds an announcement card", () => {
- const all = (phone: boolean | null, grok: boolean | null = false) => facts(true, true, true, true, true, true, true, true, true, true, grok, phone);
+ const all = (phone: boolean | null, grok: boolean | null = false) => facts(true, true, true, true, true, true, true, true, true, grok, phone);
expect(nextNotice(all(true), none)).toBe(PHONE_UPDATE_NOTICE);
expect(nextNotice(all(true, true), none), "the Grok Bot popup still goes first").toBe(GROK_MOVE_NOTICE);
expect(nextNotice(all(null), none), "nothing lower while it is unknown").toBeNull();
expect(nextNotice(all(false), none)).toBe(WHATS_NEW_NOTICE);
- const card = facts(false, false, false, true, false, false, false, false, true, false, false, true, true);
- expect(nextNotice(card, none), "ahead of Boat, the card and the star").toBe(PHONE_UPDATE_NOTICE);
+ const card = facts(false, false, false, true, false, false, false, false, false, false, true, true);
+ expect(nextNotice(card, none), "ahead of the card and the star").toBe(PHONE_UPDATE_NOTICE);
expect(nextNotice(card, none, WHATS_NEW_NOTICE, true), "left for a later launch, it still holds the card back").toBeNull();
expect(nextNotice(card, none, PHONE_UPDATE_NOTICE, true), "closed in its own launch: the card follows").toBe(ANNOUNCEMENT_NOTICE);
});
@@ -239,22 +233,22 @@ it("only the product-updates question and an announcement card follow a launch's
});
it("a card from the announcements file comes after every notice someone must act on and every built-in offer, before the star", () => {
- const remote = ({ consent = false, trial = false, cloud = false, boat = false, card = true, popup = false, grok = false, phone = false }: { consent?: boolean | null;
- trial?: boolean | null; cloud?: boolean | null; boat?: boolean | null; card?: boolean | null; popup?: boolean | null; grok?: boolean | null; phone?: boolean | null }) =>
- facts(false, trial, cloud, true, false, popup, consent, false, boat, false, grok, phone, card);
+ const remote = ({ consent = false, trial = false, cloud = false, card = true, popup = false, grok = false, phone = false }: { consent?: boolean | null;
+ trial?: boolean | null; cloud?: boolean | null; card?: boolean | null; popup?: boolean | null; grok?: boolean | null; phone?: boolean | null }) =>
+ facts(false, trial, cloud, true, false, popup, consent, false, false, grok, phone, card);
expect(nextNotice(remote({}), none)).toBe(ANNOUNCEMENT_NOTICE);
for (const [first, id] of [[{ phone: true }, PHONE_UPDATE_NOTICE], [{ consent: true }, UPDATES_CONSENT_NOTICE], [{ trial: true }, CLOUD_TRIAL_NOTICE], [{ cloud: true }, CLOUD_NOTICE],
- [{ popup: true }, WHATS_NEW_NOTICE], [{ boat: true }, BOAT_OFFER_NOTICE]] as const) expect(nextNotice(remote(first), none), id).toBe(id);
+ [{ popup: true }, WHATS_NEW_NOTICE]] as const) expect(nextNotice(remote(first), none), id).toBe(id);
expect(nextNotice(remote({ card: null }), none), "the star waits while it is undecided").toBeNull();
expect(nextNotice(remote({ card: false }), none)).toBe(STAR_NOTICE);
- expect(nextNotice(remote({ boat: true }), none, BOAT_OFFER_NOTICE), "never over a card still up").toBe(BOAT_OFFER_NOTICE);
- expect(nextNotice(remote({ boat: true }), id => id === BOAT_OFFER_NOTICE, BOAT_OFFER_NOTICE, true), "it follows that card once it is closed").toBe(ANNOUNCEMENT_NOTICE);
+ expect(nextNotice(remote({ trial: true }), none, CLOUD_TRIAL_NOTICE), "never over a card still up").toBe(CLOUD_TRIAL_NOTICE);
+ expect(nextNotice(remote({ trial: true }), id => id === CLOUD_TRIAL_NOTICE, CLOUD_TRIAL_NOTICE, true), "it follows that card once it is closed").toBe(ANNOUNCEMENT_NOTICE);
});
it("a card from the announcements file follows the launch's notice in the same launch, after the question, never ahead of a notice to act on", () => {
- const remote = (extra: Partial<Record<"popup" | "consent" | "boat" | "trial" | "cloud" | "grok" | "phone" | "card", boolean | null>> = {}) => {
- const { popup = true, consent = false, boat = false, trial = false, cloud = false, grok = false, phone = false, card = true } = extra;
- return facts(false, trial, cloud, true, false, popup, consent, false, boat, false, grok, phone, card);
+ const remote = (extra: Partial<Record<"popup" | "consent" | "trial" | "cloud" | "grok" | "phone" | "card", boolean | null>> = {}) => {
+ const { popup = true, consent = false, trial = false, cloud = false, grok = false, phone = false, card = true } = extra;
+ return facts(false, trial, cloud, true, false, popup, consent, false, false, grok, phone, card);
};
const popupSeen = (id: NoticeId) => id === WHATS_NEW_NOTICE;
expect(nextNotice(remote(), none), "What's new goes first").toBe(WHATS_NEW_NOTICE);
@@ -263,7 +257,6 @@ it("a card from the announcements file follows the launch's notice in the same l
expect(nextNotice(remote({ popup: false }), none, WHATS_NEW_NOTICE), "and after a reload").toBe(ANNOUNCEMENT_NOTICE);
expect(nextNotice(remote({ consent: true }), popupSeen, WHATS_NEW_NOTICE, true), "the product-updates question first").toBe(UPDATES_CONSENT_NOTICE);
expect(nextNotice(remote({ consent: null }), popupSeen, WHATS_NEW_NOTICE, true), "which holds it while unanswered").toBeNull();
- expect(nextNotice(remote({ boat: true }), popupSeen, WHATS_NEW_NOTICE, true), "Boat's offer is no follower: it waits, the announcement does not").toBe(ANNOUNCEMENT_NOTICE);
for (const [name, held] of [["grok", remote({ grok: true })], ["phone", remote({ phone: true })], ["trial", remote({ trial: true })], ["cloud", remote({ cloud: true })], ["trial unknown", remote({ trial: null })]] as const)
expect(nextNotice(held, popupSeen, WHATS_NEW_NOTICE, true), `${name}: held for that notice's launch`).toBeNull();
expect(nextNotice(remote({ popup: false, trial: true }), none, CLOUD_TRIAL_NOTICE, true), "and follows it there").toBe(ANNOUNCEMENT_NOTICE);
@@ -278,6 +271,6 @@ it("the together notice comes after What's new and after every notice to act on,
expect(nextNotice(only({ [TOGETHER_NOTICE]: true }), none, WHATS_NEW_NOTICE, true), "nor once What's new is closed in it").toBeNull();
expect(nextNotice(only({ [TOGETHER_NOTICE]: true, [CLOUD_NOTICE]: true }), none)).toBe(CLOUD_NOTICE);
expect(nextNotice(only({ [TOGETHER_NOTICE]: true, [CLOUD_TRIAL_NOTICE]: true }), none)).toBe(CLOUD_TRIAL_NOTICE);
- expect(nextNotice(only({ [TOGETHER_NOTICE]: true, [BOAT_OFFER_NOTICE]: true, [STAR_NOTICE]: true }), none), "ahead of offers and the star").toBe(TOGETHER_NOTICE);
- expect(nextNotice(only({ [TOGETHER_NOTICE]: null, [BOAT_OFFER_NOTICE]: true }), none), "nothing after it while main has not said").toBeNull();
+ expect(nextNotice(only({ [TOGETHER_NOTICE]: true, [STAR_NOTICE]: true }), none), "ahead of the star").toBe(TOGETHER_NOTICE);
+ expect(nextNotice(only({ [TOGETHER_NOTICE]: null, [STAR_NOTICE]: true }), none), "nothing after it while main has not said").toBeNull();
});
diff --git a/src/lib/notices.ts b/src/lib/notices.ts
index 00e83fa501..eb54e2e091 100644
--- a/src/lib/notices.ts
+++ b/src/lib/notices.ts
@@ -25,7 +25,6 @@ export const TOGETHER_NOTICE = "together-default";
export const PRODUCT_HUNT_NOTICE = "product-hunt-launch-2026-10";
export const PRODUCT_HUNT_URL = "https://www.producthunt.com/products/mausbot";
export const PRODUCT_HUNT_UNTIL = Date.UTC(2026, 10, 1);
-export const BOAT_OFFER_NOTICE = "boat-credit-2026-11";
/** The Move from Grok Bot popup: each person sees it once, first of all, after their welcome. */
export const GROK_MOVE_NOTICE = "grok-move-2026-11";
/** The sponsor's card for ModelGo, later a slide of What's new 2026-11b: kept as seen with What's new, and listed in Announcements. */
@@ -54,7 +53,6 @@ export const NOTICES = [
CLOUD_TRIAL_NOTICE,
CLOUD_NOTICE,
TOGETHER_NOTICE,
- BOAT_OFFER_NOTICE,
ANNOUNCEMENT_NOTICE,
STAR_NOTICE,
] as const;
diff --git a/src/locales/de.json b/src/locales/de.json
index f28fc47fac..66630586d3 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -410,12 +410,6 @@
"star.title": "Gefällt dir {app}?",
"star.body": "Ein Stern auf GitHub hilft mehr Menschen, es zu finden.",
"star.button": "Stern auf GitHub geben",
- "boatOffer.title": "50 $ Boat-Guthaben für dich",
- "boatOffer.body": "Boat betreibt die Cloud-Computer hinter MausBot. Buch bei Boat den Tarif für 100 $ oder einen größeren und sag Boat dann, dass MausBot dich geschickt hat. Dann schreibt Boat deinem Boat-Konto 50 $ Guthaben gut.",
- "boatOffer.yourself": "Du forderst es selbst an: Es passiert nicht automatisch.",
- "boatOffer.get": "Zu Boat",
- "boatOffer.claim": "Gekauft: meine 50 $ anfordern",
- "boatOffer.mailFailed": "Deine E-Mail-App konnte nicht geöffnet werden. Schreib stattdessen an {address}.",
"cloudIntro.badge.one": "1 Tag kostenlos",
"cloudIntro.badge.many": "{days} Tage kostenlos",
"cloudIntro.title": "Deine Bots arbeiten weiter, auch wenn dieser Computer aus ist",
diff --git a/src/locales/en.json b/src/locales/en.json
index 69d3451f95..a3ca816475 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -565,12 +565,6 @@
"productHunt.title": "We're live on Product Hunt",
"productHunt.body": "MausBot just launched. An upvote would mean a lot to us.",
"productHunt.button": "Upvote on Product Hunt",
- "boatOffer.title": "$50 of Boat credit for you",
- "boatOffer.body": "Boat runs the cloud computers behind MausBot. Buy Boat's $100 plan or bigger, then tell Boat that MausBot sent you, and they'll add $50 in credits to your Boat account.",
- "boatOffer.yourself": "You claim it yourself: it isn't automatic.",
- "boatOffer.get": "Get Boat",
- "boatOffer.claim": "I bought it: claim my $50",
- "boatOffer.mailFailed": "Couldn't open your email app. Write to {address} instead.",
"modelgoOffer.title": "ModelGo is now in MausBot",
"modelgoOffer.line": "One API key, every model.",
"modelgoOffer.sponsor": "Sponsor",
diff --git a/src/locales/es.json b/src/locales/es.json
index 8649583614..c250b79b08 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -300,12 +300,6 @@
"star.title": "¿Te gusta {app}?",
"star.body": "Una estrella en GitHub ayuda a que más personas lo encuentren.",
"star.button": "Dar una estrella en GitHub",
- "boatOffer.title": "50 $ de crédito de Boat para ti",
- "boatOffer.body": "Boat gestiona los equipos en la nube que hay detrás de MausBot. Compra el plan de 100 $ de Boat o uno superior, luego dile a Boat que te envía MausBot y añadirán 50 $ en créditos a tu cuenta de Boat.",
- "boatOffer.yourself": "Lo reclamas tú: no es automático.",
- "boatOffer.get": "Ir a Boat",
- "boatOffer.claim": "Ya lo compré: reclamar mis 50 $",
- "boatOffer.mailFailed": "No se pudo abrir tu app de correo. Escribe a {address}.",
"productHunt.title": "Ya estamos en Product Hunt",
"productHunt.body": "MausBot acaba de lanzarse. Tu voto significaría mucho para nosotros.",
"productHunt.button": "Votar en Product Hunt",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 16996e6419..bfc18a9f94 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -269,12 +269,6 @@
"star.title": "Vous aimez {app} ?",
"star.body": "Une étoile sur GitHub aide plus de gens à le découvrir.",
"star.button": "Mettre une étoile sur GitHub",
- "boatOffer.title": "50 $ de crédit Boat pour vous",
- "boatOffer.body": "Boat fait tourner les ordinateurs cloud de MausBot. Souscrivez l'offre Boat à 100 $ ou plus, puis dites à Boat que vous venez de la part de MausBot : Boat ajoutera 50 $ de crédits à votre compte Boat.",
- "boatOffer.yourself": "C'est à vous de le réclamer : ce n'est pas automatique.",
- "boatOffer.get": "Aller sur Boat",
- "boatOffer.claim": "Je l'ai acheté : réclamer mes 50 $",
- "boatOffer.mailFailed": "Impossible d'ouvrir votre messagerie. Écrivez plutôt à {address}.",
"cloudIntro.badge.one": "Gratuit pendant 1 jour",
"cloudIntro.badge.many": "Gratuit pendant {days} jours",
"cloudIntro.title": "Vos bots continuent de travailler quand cet ordinateur est éteint",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index a42842b391..cce1757b5d 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -267,12 +267,6 @@
"star.title": "{app} पसंद आ रहा है?",
"star.body": "GitHub पर एक स्टार से ज़्यादा लोग इसे ढूँढ पाते हैं।",
"star.button": "GitHub पर स्टार दें",
- "boatOffer.title": "आपके लिए $50 का Boat क्रेडिट",
- "boatOffer.body": "MausBot के पीछे के क्लाउड कंप्यूटर Boat चलाता है। Boat का $100 या उससे बड़ा प्लान खरीदें, फिर Boat को बताएँ कि आपको MausBot ने भेजा है, और वे आपके Boat खाते में $50 का क्रेडिट जोड़ देंगे।",
- "boatOffer.yourself": "इसे आपको खुद क्लेम करना होगा: यह अपने-आप नहीं मिलता।",
- "boatOffer.get": "Boat पर जाएँ",
- "boatOffer.claim": "मैंने खरीद लिया: मेरे $50 क्लेम करें",
- "boatOffer.mailFailed": "आपका ईमेल ऐप नहीं खुल सका। इसके बजाय {address} पर लिखें।",
"cloudIntro.badge.one": "1 दिन मुफ़्त",
"cloudIntro.badge.many": "{days} दिन मुफ़्त",
"cloudIntro.title": "यह कंप्यूटर बंद होने पर भी आपके बॉट काम करते रहें",
diff --git a/src/locales/it.json b/src/locales/it.json
index 7d0c7a8bc8..09803f9006 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -563,12 +563,6 @@
"productHunt.title": "Siamo su Product Hunt",
"productHunt.body": "MausBot è appena uscito. Un voto per noi conta molto.",
"productHunt.button": "Vota su Product Hunt",
- "boatOffer.title": "50 $ di credito Boat per te",
- "boatOffer.body": "Boat gestisce i computer cloud dietro MausBot. Acquista il piano Boat da 100 $ o superiore, poi di' a Boat che ti manda MausBot e aggiungeranno 50 $ di crediti al tuo account Boat.",
- "boatOffer.yourself": "Il credito lo richiedi tu: non è automatico.",
- "boatOffer.get": "Vai su Boat",
- "boatOffer.claim": "L'ho acquistato: richiedi i miei 50 $",
- "boatOffer.mailFailed": "Non riesco ad aprire l'app di posta. Scrivi invece a {address}.",
"modelgoOffer.title": "ModelGo è ora in MausBot",
"modelgoOffer.line": "Una chiave API, tutti i modelli.",
"modelgoOffer.sponsor": "Sponsor",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 3aeefb0684..069aa77792 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -363,12 +363,6 @@
"star.title": "{app} を気に入っていただけましたか?",
"star.body": "GitHub でスターを付けていただくと、より多くの人に見つけてもらえます。",
"star.button": "GitHub でスターを付ける",
- "boatOffer.title": "$50 分の Boat クレジットがもらえます",
- "boatOffer.body": "MausBot を支えるクラウドコンピューターは Boat が運営しています。Boat の $100 以上のプランを購入し、MausBot の紹介で来たことを Boat に伝えると、Boat のアカウントに $50 分のクレジットが追加されます。",
- "boatOffer.yourself": "申請はご自身で行ってください。自動では適用されません。",
- "boatOffer.get": "Boat を開く",
- "boatOffer.claim": "購入済み:$50 を申請する",
- "boatOffer.mailFailed": "メールアプリを開けませんでした。代わりに {address} 宛てにメールしてください。",
"productHunt.title": "Product Huntで公開中です",
"productHunt.body": "MausBotをローンチしました。応援の投票をいただけるととても嬉しいです。",
"productHunt.button": "Product Huntで投票する",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index b8c21afcbe..7032ddad75 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -353,12 +353,6 @@
"star.title": "{app}이 마음에 드세요?",
"star.body": "GitHub에 별을 눌러 주시면 더 많은 사람이 찾을 수 있어요.",
"star.button": "GitHub에서 별 주기",
- "boatOffer.title": "$50 Boat 크레딧을 받으세요",
- "boatOffer.body": "MausBot 뒤에서 돌아가는 클라우드 컴퓨터는 Boat가 운영해요. Boat의 $100 이상 요금제를 구매한 다음 MausBot 소개로 왔다고 Boat에 알리면 Boat 계정에 $50 크레딧을 추가해 줘요.",
- "boatOffer.yourself": "직접 신청해야 해요. 자동으로 적용되지 않아요.",
- "boatOffer.get": "Boat로 이동",
- "boatOffer.claim": "구매했어요: $50 받기",
- "boatOffer.mailFailed": "메일 앱을 열지 못했어요. 대신 {address}(으)로 메일을 보내세요.",
"productHunt.title": "Product Hunt에 올라왔어요",
"productHunt.body": "MausBot이 방금 출시됐어요. 추천 한 표가 큰 힘이 돼요.",
"productHunt.button": "Product Hunt에서 추천하기",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 4558c25069..098a234a1d 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -310,12 +310,6 @@
"star.title": "Podoba ci się {app}?",
"star.body": "Gwiazdka na GitHubie pomaga większej liczbie osób go znaleźć.",
"star.button": "Dodaj gwiazdkę na GitHubie",
- "boatOffer.title": "50 $ kredytu Boat dla ciebie",
- "boatOffer.body": "Boat obsługuje komputery w chmurze, na których działa MausBot. Kup plan Boat za 100 $ lub wyższy, potem powiedz Boat, że przysłał cię MausBot, a Boat doda 50 $ kredytu do twojego konta Boat.",
- "boatOffer.yourself": "Zgłaszasz się po niego samodzielnie: nie dzieje się to automatycznie.",
- "boatOffer.get": "Przejdź do Boat",
- "boatOffer.claim": "Plan kupiony: odbierz moje 50 $",
- "boatOffer.mailFailed": "Nie udało się otworzyć aplikacji poczty. Napisz zamiast tego na {address}.",
"productHunt.title": "Jesteśmy na Product Hunt",
"productHunt.body": "MausBot właśnie zadebiutował. Głos poparcia znaczyłby dla nas wiele.",
"productHunt.button": "Zagłosuj na Product Hunt",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index b7e34cfaad..9d01f2d8df 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -544,12 +544,6 @@
"star.title": "Está gostando do app {app}?",
"star.body": "Uma estrela no GitHub ajuda mais pessoas a encontrar o app.",
"star.button": "Dar uma estrela no GitHub",
- "boatOffer.title": "US$ 50 em créditos no Boat para você",
- "boatOffer.body": "O Boat mantém os desktops na nuvem que o MausBot usa. Contrate o plano de US$ 100 do Boat ou um plano maior. Depois, avise ao Boat que você veio pelo MausBot. Ele vai adicionar US$ 50 em créditos à sua conta no Boat.",
- "boatOffer.yourself": "Você precisa pedir os créditos: eles não entram automaticamente.",
- "boatOffer.get": "Contratar o Boat",
- "boatOffer.claim": "Resgatar meus US$ 50 (já comprei)",
- "boatOffer.mailFailed": "Não foi possível abrir seu app de e-mail. Escreva para {address}.",
"modelgoOffer.title": "O ModelGo já está no MausBot",
"modelgoOffer.line": "Uma chave de API, todos os modelos.",
"modelgoOffer.sponsor": "Patrocinador",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 5073db82a1..debd97746b 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -310,12 +310,6 @@
"star.title": "Нравится {app}?",
"star.body": "Звезда на GitHub поможет большему числу людей его найти.",
"star.button": "Поставить звезду на GitHub",
- "boatOffer.title": "$50 кредитов Boat для вас",
- "boatOffer.body": "Boat обеспечивает облачные компьютеры, на которых работает MausBot. Купите тариф Boat за $100 или дороже, затем сообщите Boat, что вас направил MausBot, и они начислят $50 кредитов на ваш аккаунт Boat.",
- "boatOffer.yourself": "Получить их нужно самостоятельно: это не происходит автоматически.",
- "boatOffer.get": "Перейти в Boat",
- "boatOffer.claim": "Тариф куплен: получить мои $50",
- "boatOffer.mailFailed": "Не удалось открыть почтовое приложение. Напишите на {address}.",
"productHunt.title": "Мы запустились на Product Hunt",
"productHunt.body": "MausBot только что запустился. Для нас очень важен ваш голос.",
"productHunt.button": "Проголосовать на Product Hunt",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 3977d69c86..cb077198a0 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -2384,12 +2384,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -9688,12 +9682,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -13669,12 +13657,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -17840,12 +17822,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -25443,12 +25419,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -28214,12 +28184,6 @@
"star.title": "8b15c187697b1aa546b27f3bac2da61a34a7cd951c58d938a23bdef975ad986e",
"star.body": "381f492804dffb9e51e0777202933030e5603ffcbefa84cf640486d715dda547",
"star.button": "9000a7b3a28531fc48a5eec38524ec3ce0e526c770f4c49a62c9d6bf9dd39cb4",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"productHunt.title": "dc73944026f2836a8c8d4ff69742912846809ef93e59758f1803a5a454004696",
"productHunt.body": "2afed158a4fbdfc3c2e7a547b9ff2c4fe411879cd0370a8a8ccd479748f44b72",
"productHunt.button": "a32b29ae121dae02baac6baab5b726f568086ad52211d168a17ff56d255f749b",
@@ -43363,12 +43327,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -56493,12 +56451,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -65811,12 +65763,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -72111,12 +72057,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -78547,12 +78487,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -86003,12 +85937,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -93517,12 +93445,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -100836,12 +100758,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -113462,12 +113378,6 @@
"server.reports.refused": "c83eac0deda6e05a79b7bc46a42ea681441c759687207edf0a18b4d3995c7ea9",
"server.reports.full": "7c727c344bcbc48cd69b005228b47200033a7f069ba2736de904269f8dd8358c",
"server.reports.dropped": "6ae8afc04807285487b6cdafee1ee4cb891601e1e8553bc24b0d779fb6809c20",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"team.deleteKeepBotsSimple": "d1f3d6f61c99aee5aa6a9f56e5c72d632be934879a2d0f9522778f4802e559b0",
"sidebar.section.removeFromDepartment": "9a6a30d1d87f934faa1478362207ae7c5330219c0b8a841e286c997024778b6e",
"sidebar.section.newName": "70bda50b69648036bf2353de509ad7a596ebe14a7e6c6ea5df7f4b37d671b30d",
@@ -115616,12 +115526,6 @@
"productHunt.title": "dc73944026f2836a8c8d4ff69742912846809ef93e59758f1803a5a454004696",
"productHunt.body": "2afed158a4fbdfc3c2e7a547b9ff2c4fe411879cd0370a8a8ccd479748f44b72",
"productHunt.button": "a32b29ae121dae02baac6baab5b726f568086ad52211d168a17ff56d255f749b",
- "boatOffer.title": "1661946a88ba4921a30fe2b8accc8b78b68d3989b7609c6dc7fe7d0d89c79780",
- "boatOffer.body": "957c100629a3a353025b49a93c2605d8fdfe436a5d912c3f939094b67f113a4a",
- "boatOffer.yourself": "7b4e4fbab42795cb4b342d909177d9202afddff96f0bf440fea56ee2f661e20d",
- "boatOffer.get": "4089c96bd7492b633c71479b9f97f558cb3824127029c467744b6fab2067097e",
- "boatOffer.claim": "4814eaf265105dea20e89611e4bca63dbbdbc15912728fbef0fbf0b8a8de3546",
- "boatOffer.mailFailed": "7ee49dd917e8e89193ee83ce553fb58b7da6d52c51dd23fdee9dbaf5f108b529",
"modelgoOffer.title": "8ec5f51323c495a47fd557900715ec15b3da2e259565795d80ab33f20b48a59b",
"modelgoOffer.line": "d16cba1245de18c3622a693615703187eb204be3a9b79a2c9988256c33b030ce",
"modelgoOffer.sponsor": "fd6e874f43f84791735073557ac711f75fc46b06a1d54009727d9f7017aee043",
diff --git a/src/locales/th.json b/src/locales/th.json
index a108de71d1..72590e970f 100644
--- a/src/locales/th.json
+++ b/src/locales/th.json
@@ -563,12 +563,6 @@
"productHunt.title": "เราเปิดตัวบน Product Hunt แล้ว",
"productHunt.body": "MausBot เพิ่งเปิดตัว การโหวตให้เรามีความหมายมาก",
"productHunt.button": "โหวตบน Product Hunt",
- "boatOffer.title": "รับเครดิต Boat มูลค่า $50",
- "boatOffer.body": "Boat ให้บริการคอมพิวเตอร์คลาวด์ที่อยู่เบื้องหลัง MausBot ซื้อแพ็กเกจ Boat ราคา $100 ขึ้นไป แล้วแจ้ง Boat ว่า MausBot แนะนำมา พวกเขาจะเพิ่มเครดิต $50 ในบัญชี Boat ของคุณ",
- "boatOffer.yourself": "คุณต้องขอรับสิทธิ์เอง ระบบจะไม่เพิ่มเครดิตให้อัตโนมัติ",
- "boatOffer.get": "ไปที่ Boat",
- "boatOffer.claim": "ซื้อแล้ว: ขอรับเครดิต $50",
- "boatOffer.mailFailed": "เปิดแอปอีเมลไม่ได้ เขียนถึง {address} แทน",
"modelgoOffer.title": "ModelGo อยู่ใน MausBot แล้ว",
"modelgoOffer.line": "API key เดียว ใช้ได้ทุกโมเดล",
"modelgoOffer.sponsor": "ผู้สนับสนุน",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 22a272ea8b..9e0df97c9a 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -299,12 +299,6 @@
"star.title": "{app}'u beğendiniz mi?",
"star.body": "GitHub'da vereceğiniz bir yıldız, daha fazla kişinin onu bulmasına yardımcı olur.",
"star.button": "GitHub'da yıldız ver",
- "boatOffer.title": "Size 50 $ Boat kredisi",
- "boatOffer.body": "MausBot'un arkasındaki bulut bilgisayarları Boat çalıştırır. Boat'un 100 $ veya daha büyük bir planını satın alın, ardından Boat'a sizi MausBot'un yönlendirdiğini söyleyin; Boat hesabınıza 50 $ kredi eklenecek.",
- "boatOffer.yourself": "Krediyi kendiniz talep edersiniz: otomatik değildir.",
- "boatOffer.get": "Boat'a git",
- "boatOffer.claim": "Satın aldım: 50 $'ımı talep et",
- "boatOffer.mailFailed": "E-posta uygulamanız açılamadı. Bunun yerine {address} adresine yazın.",
"productHunt.title": "Product Hunt'ta yayındayız",
"productHunt.body": "MausBot az önce yayına girdi. Vereceğiniz bir oy bizim için çok değerli.",
"productHunt.button": "Product Hunt'ta oy ver",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 49766151f3..79f69e4d32 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -267,12 +267,6 @@
"star.title": "Подобається {app}?",
"star.body": "Зірка на GitHub допомагає більшій кількості людей знайти його.",
"star.button": "Поставити зірку на GitHub",
- "boatOffer.title": "$50 кредитів Boat для вас",
- "boatOffer.body": "Boat забезпечує хмарні комп'ютери, на яких працює MausBot. Придбайте тариф Boat за $100 або дорожчий, потім повідомте Boat, що вас направив MausBot, і вони нарахують $50 кредитів на ваш акаунт Boat.",
- "boatOffer.yourself": "Отримати їх потрібно самостійно: це не відбувається автоматично.",
- "boatOffer.get": "Перейти до Boat",
- "boatOffer.claim": "Тариф придбано: отримати мої $50",
- "boatOffer.mailFailed": "Не вдалося відкрити поштовий застосунок. Напишіть на {address}.",
"cloudIntro.badge.one": "1 день безкоштовно",
"cloudIntro.badge.many": "{days} днів безкоштовно",
"cloudIntro.title": "Ваші боти працюють, навіть коли цей комп’ютер вимкнено",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 5ec5018996..f1ff4a80c7 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -299,12 +299,6 @@
"star.title": "Bạn thích {app} chứ?",
"star.body": "Một ngôi sao trên GitHub sẽ giúp nhiều người biết đến ứng dụng hơn.",
"star.button": "Tặng sao trên GitHub",
- "boatOffer.title": "$50 tín dụng Boat dành cho bạn",
- "boatOffer.body": "Boat vận hành các máy tính đám mây phía sau MausBot. Hãy mua gói $100 trở lên của Boat, sau đó cho Boat biết bạn đến từ MausBot, và họ sẽ cộng $50 tín dụng vào tài khoản Boat của bạn.",
- "boatOffer.yourself": "Bạn tự yêu cầu nhận: việc này không tự động.",
- "boatOffer.get": "Đến Boat",
- "boatOffer.claim": "Tôi đã mua: nhận $50 của tôi",
- "boatOffer.mailFailed": "Không thể mở ứng dụng email của bạn. Hãy viết thư đến {address}.",
"productHunt.title": "Chúng tôi đã có mặt trên Product Hunt",
"productHunt.body": "MausBot vừa ra mắt. Một lượt bình chọn sẽ có ý nghĩa rất lớn với chúng tôi.",
"productHunt.button": "Bình chọn trên Product Hunt",
diff --git a/src/locales/vocabulary.test.ts b/src/locales/vocabulary.test.ts
index 8f269eb42c..bd1ce0590d 100644
--- a/src/locales/vocabulary.test.ts
+++ b/src/locales/vocabulary.test.ts
@@ -43,9 +43,6 @@ const EN_ALLOWED: Record<string, string> = {
"botAccess.cloud.boat": "the own-key provider picker names its two providers, Boat and a VPS",
"botAccess.cloud.hostedBackendDescription": "the own-key provider picker names its two providers, Boat and a VPS",
"botAccess.cloud.vpsAutoDescription": "the own-key provider picker's VPS line names its Cloud choice",
- "boatOffer.title": "Boat's credit offer names Boat, whose credit and plan it is",
- "boatOffer.body": "Boat's credit offer names Boat, whose credit and plan it is",
- "boatOffer.get": "Boat's credit offer names Boat, whose credit and plan it is",
};
const ROOT = fileURLToPath(new URL("../../", import.meta.url));
@@ -58,7 +55,6 @@ const isSource = (name: string) => /\.(?:ts|tsx|mjs|cjs|js)$/.test(name) && !/\.
const ALLOWED: ReadonlyArray<{ file: string; snippet?: string; why: string }> = [
{ file: "packages/phone-protocol/src/credential-request.ts", snippet: "when Boat is selected", why: "the card that asks for a person's own Boat key" },
{ file: "server/boat-create-idempotency.ts", snippet: "unnamed Boat", why: "own-key repair: boat.dev's own name for a machine" },
- { file: "src/lib/boat-offer.ts", snippet: "MausBot introduced me", why: "the email a person sends Boat to claim its credit" },
{ file: "server/workspace-backup.ts", snippet: "OMB-WORKSPACE-1", why: "a backup file's format marker" },
{ file: "electron/company-backups.mjs", snippet: "OMB-WORKSPACE-1", why: "a backup file's format marker" },
];
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 918cbbc0dd..1ab9f8f9af 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -464,12 +464,6 @@
"productHunt.title": "我們在 Product Hunt 上線了",
"productHunt.body": "MausBot 剛剛發布。你的一票對我們意義重大。",
"productHunt.button": "在 Product Hunt 上投票支持",
- "boatOffer.title": "你可獲得 $50 的 Boat 額度",
- "boatOffer.body": "MausBot 背後的雲端電腦由 Boat 營運。購買 Boat $100 或以上的方案後,告訴 Boat 是 MausBot 介紹你來的,他們就會在你的 Boat 帳號加入 $50 額度。",
- "boatOffer.yourself": "需要你自己申請:不會自動發放。",
- "boatOffer.get": "前往 Boat",
- "boatOffer.claim": "我已購買:申請我的 $50",
- "boatOffer.mailFailed": "無法開啟你的郵件 App。請改寄信到 {address}。",
"cloudIntro.badge.one": "免費 1 天",
"cloudIntro.badge.many": "免費 {days} 天",
"cloudIntro.title": "這台電腦關機時,你的機器人也能繼續工作",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index d3139c6a6c..661c1e9c3c 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -560,12 +560,6 @@
"productHunt.title": "我们上线 Product Hunt 了",
"productHunt.body": "MausBot 刚刚发布。你的一个赞同对我们意义重大。",
"productHunt.button": "在 Product Hunt 上赞同",
- "boatOffer.title": "你可获得 $50 的 Boat 额度",
- "boatOffer.body": "MausBot 背后的云端电脑由 Boat 运营。购买 Boat $100 或以上的套餐后,告诉 Boat 是 MausBot 介绍你来的,他们就会在你的 Boat 账户中添加 $50 额度。",
- "boatOffer.yourself": "需要你自己申请:不会自动发放。",
- "boatOffer.get": "前往 Boat",
- "boatOffer.claim": "我已购买:申请我的 $50",
- "boatOffer.mailFailed": "无法打开你的邮件应用。请改为发邮件到 {address}。",
"modelgoOffer.title": "ModelGo 现已登陆 MausBot",
"modelgoOffer.line": "一把 API 密钥,畅用所有模型。",
"modelgoOffer.sponsor": "赞助",