Skip to content

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

Teams popup: a See Team plans link, and show it to everyone again (#6486)

Milind Soni176f75be4e66
diff --git a/apps/docs/content/docs/security/analytics.mdx b/apps/docs/content/docs/security/analytics.mdx
index 4df44bc12e..77120f35fa 100644
--- a/apps/docs/content/docs/security/analytics.mdx
+++ b/apps/docs/content/docs/security/analytics.mdx
@@ -149,7 +149,7 @@ use their own Boat key, and how many bots run on cloud computers, without sendin
| `app_snapshot` | Once a day, as described above | The properties in the snapshot table |
| `cloud_card_shown` | The MausBot Cloud card is shown | `variant`: `signed_out`, `free` |
| `cloud_card_action` | You act on the MausBot Cloud card | `action`: `start`, `howto`, `signin`, `not_now`, `close` |
-| `whats_new` | The What's new popups (each once per person after an update, and again from Announcements): the earlier one on this computer's page, a slide comes on screen, counted once per slide each time the popup is up, or you act on it; the Teams one on every page, it comes on screen or you act on it | `action`: `seen`, `next`, `back` (the slide changed, by its buttons, its dots or the arrow keys), `get_pro` (Get Pro, which opens Add a Cloud), `see_cloud` (See the new Cloud, which opens the Cloud website), `start_team` (Start a Team, which opens the Team plan's checkout on the Cloud website, or Add a Cloud for someone with a plan of their own), `invite` (Invite your team, which opens the team's People page on MausBot Cloud), `got_it`, `not_now`, `close` (the X, Escape or a click outside); `slide`: the slide it happened on: `pro` (the new MausBot Cloud), `team` (Team), `teams` (the Teams popup); `audience`: `no_plan` (both slides), `own_plan` (a Cloud plan of one's own: the Team slide only), and for the Teams popup `team_admin` (a Team Cloud's Owner or Admin), `team_member` (a Team Cloud's member, or a desktop signed in to a team), `no_team` (everyone else); `signed_in`: true/false, signed in to MausBot Cloud in the app (the earlier popup only); `campaign`: the popup's campaign, `whats-new-2026-11` or `teams-2026-11` |
+| `whats_new` | The What's new popups (each once per person after an update, and again from Announcements): the earlier one on this computer's page, a slide comes on screen, counted once per slide each time the popup is up, or you act on it; the Teams one on every page, it comes on screen or you act on it | `action`: `seen`, `next`, `back` (the slide changed, by its buttons, its dots or the arrow keys), `get_pro` (Get Pro, which opens Add a Cloud), `see_cloud` (See the new Cloud, which opens the Cloud website), `start_team` (Start a Team, which opens the Team plan's checkout on the Cloud website, or Add a Cloud for someone with a plan of their own), `invite` (Invite your team, which opens the team's People page on MausBot Cloud), `see_team_plans` (See Team plans, which opens the website's Team plans), `got_it`, `not_now`, `close` (the X, Escape or a click outside); `slide`: the slide it happened on: `pro` (the new MausBot Cloud), `team` (Team), `teams` (the Teams popup); `audience`: `no_plan` (both slides), `own_plan` (a Cloud plan of one's own: the Team slide only), and for the Teams popup `team_admin` (a Team Cloud's Owner or Admin), `team_member` (a Team Cloud's member, or a desktop signed in to a team), `no_team` (everyone else); `signed_in`: true/false, signed in to MausBot Cloud in the app (the earlier popup only); `campaign`: the popup's campaign, `whats-new-2026-11` or `teams-2026-11b` |
| `cloud_howto` | The "Show me how" tip ends | `result`: `no_button`, `skipped`, `closed` |
| `cloud_dialog_shown` | The Add a Cloud dialog opens | `source`: `app_card`, `app_howto`, `app_menu`, `app_settings`, `app_routines`, `app_whats_new_pro` (Get Pro in the What's new popup), `app_whats_new_team` (Start a Team in it or in the Teams popup, for someone with a plan of their own), `app_onboarding` (Try Cloud under MausBot's first messages); `view`: the dialog's first screen |
| `cloud_dialog_view` | The Add a Cloud dialog reaches a step | `view`: `received`, `starting`, `ready` |
diff --git a/docs/analytics.md b/docs/analytics.md
index dde7b59d54..4670194822 100644
--- a/docs/analytics.md
+++ b/docs/analytics.md
@@ -145,7 +145,7 @@ use their own Boat key, and how many bots run on cloud computers, without sendin
| `app_snapshot` | Once a day, as described above | The properties in the snapshot table |
| `cloud_card_shown` | The MausBot Cloud card is shown | `variant`: `signed_out`, `free` |
| `cloud_card_action` | You act on the MausBot Cloud card | `action`: `start`, `howto`, `signin`, `not_now`, `close` |
-| `whats_new` | The What's new popups (each once per person after an update, and again from Announcements): the earlier one on this computer's page, a slide comes on screen, counted once per slide each time the popup is up, or you act on it; the Teams one on every page, it comes on screen or you act on it | `action`: `seen`, `next`, `back` (the slide changed, by its buttons, its dots or the arrow keys), `get_pro` (Get Pro, which opens Add a Cloud), `see_cloud` (See the new Cloud, which opens the Cloud website), `start_team` (Start a Team, which opens the Team plan's checkout on the Cloud website, or Add a Cloud for someone with a plan of their own), `invite` (Invite your team, which opens the team's People page on MausBot Cloud), `got_it`, `not_now`, `close` (the X, Escape or a click outside); `slide`: the slide it happened on: `pro` (the new MausBot Cloud), `team` (Team), `teams` (the Teams popup); `audience`: `no_plan` (both slides), `own_plan` (a Cloud plan of one's own: the Team slide only), and for the Teams popup `team_admin` (a Team Cloud's Owner or Admin), `team_member` (a Team Cloud's member, or a desktop signed in to a team), `no_team` (everyone else); `signed_in`: true/false, signed in to MausBot Cloud in the app (the earlier popup only); `campaign`: the popup's campaign, `whats-new-2026-11` or `teams-2026-11` |
+| `whats_new` | The What's new popups (each once per person after an update, and again from Announcements): the earlier one on this computer's page, a slide comes on screen, counted once per slide each time the popup is up, or you act on it; the Teams one on every page, it comes on screen or you act on it | `action`: `seen`, `next`, `back` (the slide changed, by its buttons, its dots or the arrow keys), `get_pro` (Get Pro, which opens Add a Cloud), `see_cloud` (See the new Cloud, which opens the Cloud website), `start_team` (Start a Team, which opens the Team plan's checkout on the Cloud website, or Add a Cloud for someone with a plan of their own), `invite` (Invite your team, which opens the team's People page on MausBot Cloud), `see_team_plans` (See Team plans, which opens the website's Team plans), `got_it`, `not_now`, `close` (the X, Escape or a click outside); `slide`: the slide it happened on: `pro` (the new MausBot Cloud), `team` (Team), `teams` (the Teams popup); `audience`: `no_plan` (both slides), `own_plan` (a Cloud plan of one's own: the Team slide only), and for the Teams popup `team_admin` (a Team Cloud's Owner or Admin), `team_member` (a Team Cloud's member, or a desktop signed in to a team), `no_team` (everyone else); `signed_in`: true/false, signed in to MausBot Cloud in the app (the earlier popup only); `campaign`: the popup's campaign, `whats-new-2026-11` or `teams-2026-11b` |
| `cloud_howto` | The "Show me how" tip ends | `result`: `no_button`, `skipped`, `closed` |
| `cloud_dialog_shown` | The Add a Cloud dialog opens | `source`: `app_card`, `app_howto`, `app_menu`, `app_settings`, `app_routines`, `app_whats_new_pro` (Get Pro in the What's new popup), `app_whats_new_team` (Start a Team in it or in the Teams popup, for someone with a plan of their own), `app_onboarding` (Try Cloud under MausBot's first messages); `view`: the dialog's first screen |
| `cloud_dialog_view` | The Add a Cloud dialog reaches a step | `view`: `received`, `starting`, `ready` |
diff --git a/electron/desktop-prefs.mjs b/electron/desktop-prefs.mjs
index ed1e07901f..c1c78dc22a 100644
--- a/electron/desktop-prefs.mjs
+++ b/electron/desktop-prefs.mjs
@@ -12,7 +12,7 @@ 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. */
-export const DESKTOP_NOTICES = Object.freeze(["whats-new-2026-11", "boat-credit-2026-11", "grok-move-2026-11", "modelgo-offer-2026-11", "teams-2026-11"]);
+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"]);
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
* card was shown: kept beside the fixed notices, the newest few only. */
diff --git a/electron/desktop-prefs.node-test.mjs b/electron/desktop-prefs.node-test.mjs
index 29337f1002..2c1387ba86 100644
--- a/electron/desktop-prefs.node-test.mjs
+++ b/electron/desktop-prefs.node-test.mjs
@@ -26,7 +26,7 @@ test("a page on an older release keeps working with the longer list: its own ids
});
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-11"]);
+ assert.deepEqual([...DESKTOP_NOTICES], [POPUP, BOAT, GROK, MODELGO, "teams-2026-11b"]);
let saved = null;
const writes = [];
const prefs = createDesktopPrefs({ read: () => saved, write: value => { writes.push(value); saved = structuredClone(value); } });
@@ -73,13 +73,13 @@ test("an announcement card's mark and the last sponsor day are kept beside the f
test("the Teams What's new is one the desktop keeps, and of when Announcements was last opened only the newest", () => {
let saved = { seen: [POPUP] };
const prefs = createDesktopPrefs({ read: () => saved, write: value => { saved = structuredClone(value); } });
- prefs.markSeen("teams-2026-11");
+ prefs.markSeen("teams-2026-11b");
prefs.markSeen("announcements-read-1763380800000"); prefs.markSeen("announcements-read-1763467200000"); prefs.markSeen("announcements-read-1763300000000");
- assert.deepEqual(prefs.seen(), [POPUP, "teams-2026-11", "announcements-read-1763467200000"]);
+ assert.deepEqual(prefs.seen(), [POPUP, "teams-2026-11b", "announcements-read-1763467200000"]);
for (const id of ["announcements-read-", "announcements-read-x", `announcements-read-${"9".repeat(17)}`, "announcements-read-1:2"]) prefs.markSeen(id);
- assert.deepEqual(prefs.seen(), [POPUP, "teams-2026-11", "announcements-read-1763467200000"], "nothing else of that shape");
+ assert.deepEqual(prefs.seen(), [POPUP, "teams-2026-11b", "announcements-read-1763467200000"], "nothing else of that shape");
prefs.markSeen("announcement:phone-app");
- assert.deepEqual(createDesktopPrefs({ read: () => saved, write: () => {} }).seen(), [POPUP, "teams-2026-11", "announcement:phone-app", "announcements-read-1763467200000"], "survives a restart");
+ assert.deepEqual(createDesktopPrefs({ read: () => saved, write: () => {} }).seen(), [POPUP, "teams-2026-11b", "announcement:phone-app", "announcements-read-1763467200000"], "survives a restart");
});
test("a write that fails leaves the last whole record on disk, analytics opt-out included", () => {
diff --git a/packages/phone-protocol/src/cloud-hints.ts b/packages/phone-protocol/src/cloud-hints.ts
index cce827cbd3..90ed8157d3 100644
--- a/packages/phone-protocol/src/cloud-hints.ts
+++ b/packages/phone-protocol/src/cloud-hints.ts
@@ -8,7 +8,7 @@ export const TEAM_LEFT_REFUSAL = "unauthorized: you are no longer in this team";
/** On a Team Cloud, the welcome's own record (shown, done, hidden) is each person's: one admin finishing it ends it for
* nobody else. Its steps (an AI connected, files) stay the team's, since they are facts about the team's Cloud. So is
* whether they saw the Teams What's new (src/lib/notices.ts TEAMS_NOTICE). */
-export const TEAM_PERSONAL_HINTS: ReadonlySet<string> = new Set(["cloud-welcome-shown", CLOUD_WELCOME_DONE, "cloud-setup-hidden", "teams-2026-11"]);
+export const TEAM_PERSONAL_HINTS: ReadonlySet<string> = new Set(["cloud-welcome-shown", CLOUD_WELCOME_DONE, "cloud-setup-hidden", "teams-2026-11b"]);
/** When the person last opened Announcements, in epoch milliseconds: `announcements-read-<ms>`. A record keeps one, the
* newest; on a Team Cloud it is each person's. */
diff --git a/scripts/bench-desktop.ts b/scripts/bench-desktop.ts
index 13db407bbd..c085b87c32 100644
--- a/scripts/bench-desktop.ts
+++ b/scripts/bench-desktop.ts
@@ -49,7 +49,7 @@ const { values } = parseArgs({
const only = new Set((values.only ?? PHASES.join(",")).split(",").map((phase) => phase.trim()).filter(Boolean));
for (const phase of only) if (!(PHASES as readonly string[]).includes(phase)) throw new Error(`unknown phase ${phase}; phases: ${PHASES.join(", ")}`);
const IDLE_MS = Number(values["idle-seconds"]) * 1000;
-const STORAGE = { "omb-analytics-opt-out": "1", "omb-email-gate": "skipped", "omb-simple-mode-prompt": "1", "grok-move-2026-11": "1", "teams-2026-11": "1", "modelgo-offer-2026-11": "1", "omb-advanced-mode": values.advanced ? "1" : "0" };
+const STORAGE = { "omb-analytics-opt-out": "1", "omb-email-gate": "skipped", "omb-simple-mode-prompt": "1", "grok-move-2026-11": "1", "teams-2026-11b": "1", "modelgo-offer-2026-11": "1", "omb-advanced-mode": values.advanced ? "1" : "0" };
const log = (line: string) => process.stderr.write(`bench-desktop: ${line}\n`);
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
const round = (value: number, digits = 1) => Math.round(value * 10 ** digits) / 10 ** digits;
diff --git a/scripts/testing/web-app-ui.e2e.test.ts b/scripts/testing/web-app-ui.e2e.test.ts
index 63da275ddd..18b1226822 100644
--- a/scripts/testing/web-app-ui.e2e.test.ts
+++ b/scripts/testing/web-app-ui.e2e.test.ts
@@ -80,7 +80,7 @@ async function connect(url: string) {
return value.result.value;
};
await request("Page.enable");
- await request("Page.addScriptToEvaluateOnNewDocument", { source: "localStorage.setItem('omb-analytics-opt-out','1');localStorage.setItem('omb-email-gate','skipped');localStorage.setItem('grok-move-2026-11','1');localStorage.setItem('teams-2026-11','1');localStorage.setItem('modelgo-offer-2026-11','1');" });
+ await request("Page.addScriptToEvaluateOnNewDocument", { source: "localStorage.setItem('omb-analytics-opt-out','1');localStorage.setItem('omb-email-gate','skipped');localStorage.setItem('grok-move-2026-11','1');localStorage.setItem('teams-2026-11b','1');localStorage.setItem('modelgo-offer-2026-11','1');" });
await request("Runtime.enable");
await request("Emulation.setTouchEmulationEnabled", { enabled: true, maxTouchPoints: 1 });
await request("Emulation.setDeviceMetricsOverride", { width: 390, height: 844, deviceScaleFactor: 1, mobile: true });
diff --git a/server/team-welcome.e2e.test.ts b/server/team-welcome.e2e.test.ts
index 69ef207b81..61b70a2b51 100644
--- a/server/team-welcome.e2e.test.ts
+++ b/server/team-welcome.e2e.test.ts
@@ -100,15 +100,15 @@ it("a User's copy of a team bot carries what the welcome's one line reads, and a
it("the Teams What's new and the last look at Announcements are each person's own, a member's included", async () => {
const cleo = (await team.pair(CLEO)).token!, bob = (await team.pair(BOB)).token!;
const hints = async (token: string) => ((await team.as(token, "GET", "/api/config")).body.onboarding as { hintsSeen: string[] }).hintsSeen;
- expect((await team.as(cleo, "PUT", "/api/config", { onboarding: { hintsSeen: ["teams-2026-11"] } })).status, "a member cannot change the team's record").toBe(403);
- expect((await team.as(cleo, "PUT", "/api/me/welcome", { hints: ["teams-2026-11", "announcements-read-1763380800000"] })).status).toBe(200);
+ expect((await team.as(cleo, "PUT", "/api/config", { onboarding: { hintsSeen: ["teams-2026-11b"] } })).status, "a member cannot change the team's record").toBe(403);
+ expect((await team.as(cleo, "PUT", "/api/me/welcome", { hints: ["teams-2026-11b", "announcements-read-1763380800000"] })).status).toBe(200);
expect((await team.as(cleo, "PUT", "/api/me/welcome", { hints: ["announcements-read-1763467200000"] })).status).toBe(200);
const cleos = await hints(cleo);
- expect(cleos).toEqual(expect.arrayContaining(["teams-2026-11", "announcements-read-1763467200000"]));
+ expect(cleos).toEqual(expect.arrayContaining(["teams-2026-11b", "announcements-read-1763467200000"]));
expect(cleos.filter((hint) => hint.startsWith("announcements-read-")), "the newest only").toEqual(["announcements-read-1763467200000"]);
- expect(await hints(bob), "nobody else's").not.toEqual(expect.arrayContaining(["teams-2026-11"]));
- const saved = await team.as(bob, "PUT", "/api/config", { onboarding: { hintsSeen: [...await hints(bob), "teams-2026-11", "announcements-read-1763380800000"] } });
+ expect(await hints(bob), "nobody else's").not.toEqual(expect.arrayContaining(["teams-2026-11b"]));
+ const saved = await team.as(bob, "PUT", "/api/config", { onboarding: { hintsSeen: [...await hints(bob), "teams-2026-11b", "announcements-read-1763380800000"] } });
expect(saved.status, JSON.stringify(saved.body)).toBe(200);
- expect(await hints(bob)).toEqual(expect.arrayContaining(["teams-2026-11", "announcements-read-1763380800000"]));
+ expect(await hints(bob)).toEqual(expect.arrayContaining(["teams-2026-11b", "announcements-read-1763380800000"]));
expect((await hints(cleo)).filter((hint) => hint.startsWith("announcements-read-")), "an admin's save stays theirs").toEqual(["announcements-read-1763467200000"]);
});
diff --git a/server/team-welcome.test.ts b/server/team-welcome.test.ts
index fd64b292db..71083aff56 100644
--- a/server/team-welcome.test.ts
+++ b/server/team-welcome.test.ts
@@ -12,11 +12,11 @@ afterEach(async () => { if (dir) await removeTempDir(dir); dir = null; });
it("keeps one Announcements read mark per person, the newest, beside their other hints", () => {
dir = mkdtempSync(join(tmpdir(), "team-welcome-"));
const store = createTeamWelcomeStore(dir);
- store.save(PERSON, { hints: ["cloud-welcome-done", "teams-2026-11", "announcements-read-1763380800000"] });
+ store.save(PERSON, { hints: ["cloud-welcome-done", "teams-2026-11b", "announcements-read-1763380800000"] });
store.save(PERSON, { hints: ["announcements-read-1763467200000"] });
- expect(store.read(PERSON).hints).toEqual(["cloud-welcome-done", "teams-2026-11", "announcements-read-1763467200000"]);
+ expect(store.read(PERSON).hints).toEqual(["cloud-welcome-done", "teams-2026-11b", "announcements-read-1763467200000"]);
store.save(PERSON, { hints: ["announcements-read-1763300000000"] });
- expect(store.read(PERSON).hints, "an older one changes nothing").toEqual(["cloud-welcome-done", "teams-2026-11", "announcements-read-1763467200000"]);
+ expect(store.read(PERSON).hints, "an older one changes nothing").toEqual(["cloud-welcome-done", "teams-2026-11b", "announcements-read-1763467200000"]);
for (let index = 0; index < 80; index++) store.save(PERSON, { hints: [`announcements-read-${1763467200001 + index}`] });
- expect(store.read(PERSON).hints, "never fills the record").toEqual(["cloud-welcome-done", "teams-2026-11", "announcements-read-1763467200080"]);
+ expect(store.read(PERSON).hints, "never fills the record").toEqual(["cloud-welcome-done", "teams-2026-11b", "announcements-read-1763467200080"]);
});
diff --git a/src/components/whats-new/TeamsPopup.test.ts b/src/components/whats-new/TeamsPopup.test.ts
index 7b9b2170a3..7fe6606874 100644
--- a/src/components/whats-new/TeamsPopup.test.ts
+++ b/src/components/whats-new/TeamsPopup.test.ts
@@ -9,6 +9,8 @@ import type { TeamsAction } from "@/lib/teams-whats-new";
const avatars = vi.hoisted(() => [] as Array<{ animated?: boolean }>);
vi.mock("@/components/Avatar", () => ({ MausAvatar: (props: { animated?: boolean }) => { avatars.push(props); return null; } }));
+const opened = vi.hoisted(() => [] as string[]);
+vi.mock("@/lib/app-links", async (original) => ({ ...(await original<typeof import("@/lib/app-links")>()), openExternalLink: async (url: string) => { opened.push(url); } }));
const { TeamsPopup, TEAMS_POPUP } = await import("./TeamsPopup");
(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
@@ -25,7 +27,7 @@ const key = async (name: string, shiftKey = false) => {
const buttons = (popup: HTMLElement) => [...popup.querySelectorAll("button")].map(button => button.textContent || button.getAttribute("aria-label"));
beforeEach(() => {
- setLocale("en"); avatars.length = 0; vi.clearAllMocks();
+ setLocale("en"); avatars.length = 0; opened.length = 0; vi.clearAllMocks();
delete document.documentElement.dataset.reducedMotion;
host = document.createElement("div"); document.body.append(host);
});
@@ -37,7 +39,7 @@ describe("the Teams popup", () => {
expect(popup.getAttribute("role")).toBe("dialog");
expect(popup.textContent).toContain("MausBot is better with your team");
expect(popup.textContent).toContain("$40 a month for 2 people, $20 for each extra person.");
- expect(buttons(popup)).toEqual(["Start a team", "Not now", "Close"]);
+ expect(buttons(popup)).toEqual(["Start a team", "See Team plans", "Not now", "Close"]);
expect(document.activeElement?.textContent, "focus starts at its main button").toBe("Start a team");
await act(async () => { (popup.querySelector("[data-primary] button") as HTMLElement).click(); });
expect(onStart).toHaveBeenCalled();
@@ -46,10 +48,21 @@ describe("the Teams popup", () => {
await act(async () => root?.unmount()); root = null;
popup = await show({ kind: "got-it" });
- expect(buttons(popup)).toEqual(["Got it", "Close"]);
+ expect(buttons(popup)).toEqual(["Got it", "See Team plans", "Close"]);
await act(async () => root?.unmount()); root = null;
popup = await show({ kind: "invite", url: "https://admin.example/cloud/team/t/people?do=invite" });
- expect(buttons(popup)).toEqual(["Invite your team", "Not now", "Close"]);
+ expect(buttons(popup)).toEqual(["Invite your team", "See Team plans", "Not now", "Close"]);
+ });
+
+ it("links every audience to the website's Team plans", async () => {
+ for (const action of [{ kind: "start", inApp: false, url: "https://cloud.example/pro/buy" }, { kind: "got-it" }, { kind: "invite", url: "https://admin.example/people" }] as TeamsAction[]) {
+ const popup = await show(action);
+ const link = [...popup.querySelectorAll("button")].find(button => button.textContent === "See Team plans");
+ await act(async () => { link!.click(); });
+ expect(opened.at(-1), action.kind).toBe("https://www.openmausbot.com/pricing#teams");
+ expect(onStep, action.kind).toHaveBeenLastCalledWith("see_team_plans");
+ await act(async () => root?.unmount()); root = null;
+ }
});
it("Escape closes it, and Tab keeps focus inside", async () => {
diff --git a/src/components/whats-new/TeamsPopup.tsx b/src/components/whats-new/TeamsPopup.tsx
index 92ac5b09d3..c2f73e632d 100644
--- a/src/components/whats-new/TeamsPopup.tsx
+++ b/src/components/whats-new/TeamsPopup.tsx
@@ -7,7 +7,8 @@ import type { MausColor } from "@/lib/mascot";
import { reducedMotion } from "@/lib/onboarding";
import type { TeamsAction, TeamsStep } from "@/lib/teams-whats-new";
import type { LocaleKey } from "@/locales";
-import { CLOSE, PRIMARY, SHEET } from "../cloud-buy/parts";
+import { TEAM_PLANS_URL } from "@/lib/app-links";
+import { CLOSE, PRIMARY, QUIET, SHEET } from "../cloud-buy/parts";
import { LinkButton, NotNowButton } from "../NoticeCard";
export const TEAMS_POPUP = "[data-teams-popup]";
@@ -106,6 +107,7 @@ export function TeamsPopup({ action, onStep, onStart, onDone }: {
<p data-teams-price className="mt-3 text-[13px] leading-[18px] text-ink-secondary">{t("teamsNew.price")}</p>
<div className="mt-5 flex flex-wrap items-center gap-3">
<div data-primary="">{main}</div>
+ <LinkButton url={TEAM_PLANS_URL} label={t("teamsNew.seePlans")} className={cn(QUIET, "ui-button-lg gap-1.5")} onOpened={() => end("see_team_plans")} />
{action.kind !== "got-it" && <NotNowButton onClick={() => end("not_now")} />}
</div>
</div>
diff --git a/src/lib/announcement-history.test.ts b/src/lib/announcement-history.test.ts
index e8ff33db6b..692cefda92 100644
--- a/src/lib/announcement-history.test.ts
+++ b/src/lib/announcement-history.test.ts
@@ -113,7 +113,7 @@ describe("opening Announcements and seeing a popup", () => {
it("on a Team Cloud: the person's own record, which members may write too, then the place's record read back", async () => {
vi.mocked(api).mockImplementation(async path => (path === "/api/config" ? { onboarding: { hintsSeen: [readMark(NOW)] } } : { welcome: {} }));
const saved = vi.fn();
- markAnnouncementsRead(NOW, record(["teams-2026-11"]), { team: true, saved });
+ markAnnouncementsRead(NOW, record(["teams-2026-11b"]), { team: true, saved });
for (let i = 0; i < 5; i++) await Promise.resolve();
expect(vi.mocked(api).mock.calls).toEqual([["/api/me/welcome", { method: "PUT", body: JSON.stringify({ hints: [readMark(NOW)] }) }], ["/api/config"]]);
expect(saved).toHaveBeenCalledWith({ onboarding: { hintsSeen: [readMark(NOW)] } });
diff --git a/src/lib/app-links.ts b/src/lib/app-links.ts
index 99ef7a40af..87052fc25e 100644
--- a/src/lib/app-links.ts
+++ b/src/lib/app-links.ts
@@ -7,6 +7,8 @@ export const PASSKEY_HELP_URL = "https://docs.openmausbot.com/docs/troubleshooti
export const FEEDBACK_URL = "https://discord.gg/9Wb8MEpXRs";
export const RELEASES_URL = `${APP_REPOSITORY}/releases`;
export const PRICING_URL = "https://www.openmausbot.com/pricing";
+/** The website's Team plans: `#teams` opens the pricing page on its Team tab. */
+export const TEAM_PLANS_URL = `${PRICING_URL}#teams`;
export const CLOUD_PLAN_URL = "https://cloud.openmausbot.com/cloud";
/** The Admin's team People page (openmaus-cloud docs/team-seats.md): people, seats and roles are managed there, never in
* the app. `invite` opens its invite box (Owner and Admins); `seats` its seat stepper (the Owner, whose card pays). */
diff --git a/src/lib/notices.test.ts b/src/lib/notices.test.ts
index c1f19bdcaa..9963fa55e9 100644
--- a/src/lib/notices.test.ts
+++ b/src/lib/notices.test.ts
@@ -74,7 +74,7 @@ it("Boat's credit offer and the Grok Bot move are ones the desktop keeps for its
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, true, teams);
- expect(TEAMS_NOTICE).toBe("teams-2026-11");
+ 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();
expect(nextNotice(all(false), none)).toBe(GROK_MOVE_NOTICE);
diff --git a/src/lib/notices.ts b/src/lib/notices.ts
index acddddd19e..619b890be2 100644
--- a/src/lib/notices.ts
+++ b/src/lib/notices.ts
@@ -2,7 +2,7 @@ import { hintSeen, hintSeenPatch, type OnboardingStatus } from "@/lib/onboarding
/** "MausBot is better with your team": every person sees it once, on every surface but a branded build or an organization's
* desktop, ahead of every other notice. On a Team Cloud its record is each person's (TEAM_PERSONAL_HINTS). */
-export const TEAMS_NOTICE = "teams-2026-11";
+export const TEAMS_NOTICE = "teams-2026-11b";
/** The What's new popup's campaign: each person sees it once. A new id shows it once more. */
export const WHATS_NEW_NOTICE = "whats-new-2026-11";
export const UPDATES_CONSENT_NOTICE = "updates-consent";
diff --git a/src/lib/teams-whats-new.ts b/src/lib/teams-whats-new.ts
index 3b677c4b12..4a112b7f29 100644
--- a/src/lib/teams-whats-new.ts
+++ b/src/lib/teams-whats-new.ts
@@ -36,7 +36,7 @@ export function teamsAction({ team, viewer, account, canAddCloud }: {
return { kind: "start", inApp: canAddCloud && audience === "own", url: startTeamsUrl(account?.staging === true) };
}
-export type TeamsStep = "seen" | "invite" | "start_team" | "got_it" | "not_now" | "close";
+export type TeamsStep = "seen" | "invite" | "start_team" | "see_team_plans" | "got_it" | "not_now" | "close";
type TeamsAudience = "team_admin" | "team_member" | "no_team";
export function teamsAudience(action: TeamsAction): TeamsAudience {
diff --git a/src/locales/en.json b/src/locales/en.json
index 2bbfb6875f..9d8cc6fcd3 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -581,6 +581,7 @@
"teamsNew.invite": "Invite your team",
"teamsNew.gotIt": "Got it",
"teamsNew.start": "Start a team",
+ "teamsNew.seePlans": "See Team plans",
"announcements.title": "Announcements",
"announcements.showAgain": "Show again",
"announcements.ended": "Ended",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index d4dcede213..cf154c5659 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -556,6 +556,7 @@
"teamsNew.price": "US$ 40 por mês para 2 pessoas, US$ 20 para cada pessoa a mais.",
"teamsNew.invite": "Convide sua equipe",
"teamsNew.gotIt": "Entendi",
+ "teamsNew.seePlans": "Ver planos Team",
"teamsNew.start": "Criar uma equipe",
"announcements.title": "Anúncios",
"announcements.showAgain": "Mostrar de novo",