Skip to content

site(pricing): split /pricing into ObjectOS Cloud and Self-hosted tabs - #455

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/pm-dispatch-objectos-ju9td1-issue-324
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/pm-dispatch-objectos-ju9td1-issue-324

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #324

This PR supersedes #327, which had fallen 108 commits behind main. The branch content is the same as #327's, carried forward by a merge commit onto main at 29a6a01; no history was rewritten. The www seat took this over on the maintainer's instruction of 2026-11-15: 「www 相关任务接受你的建议,你接手继续处理」. The merge follows the rule #327 itself stated: keep the two-tab structure, and take every price, plan name, feature line, intro and billing sentence verbatim from main.

维护者速读

  • 改了什么:
    • /pricing 拆成同一页上的两个标签:「ObjectOS Cloud」是默认标签,含 Free 和 Team,Team 高亮;「私有部署」标签含 Community 和 Enterprise。
    • Enterprise 按 main 现行口径写:只有一个版本,按 AI 用户数授权,最低 25 人起;不公开报价,按钮「联系销售」跳到 /contact/。
  • 为什么改:原来一行 4 张卡把托管和自管混在一起,访客分不清自己该看哪一档。
  • 风险与代价:
    • 已合入最新 main,带上了 main 在这两个文件上的两次改动:f6b0820(Enterprise 单一版本)和 e28006f(Enterprise 按钮指向 /contact/)。
    • 渲染出来的文字已与 main 的构建逐条对比,每张卡、每个链接都相同。唯一的差别是介绍和计费说明各拆成两段,分属两个标签。
    • 切换只用 CSS,CSP 不变。回滚就是 revert 本 PR。
  • 席位意见:建议合并。没有新的说法,结构更清楚,对比结果完全一致。
  • 你要做的:无。维护者已把 www 积压 PR 交给席位处理;席位审核后落地,合并后关闭 site(pricing): split /pricing into ObjectOS Cloud and Self-hosted tabs #327。

Changes

  • src/lib/pricing.ts:
    • adds PricingTab (label, intro, billingNote, plans);
    • PricingCopy carries switchLabel and tabs: { cloud, selfHosted };
    • plan objects are main's, verbatim, regrouped: Cloud = Free, Team; Self-hosted = Community, Enterprise;
    • planHref and the locale ctaHref from main are kept, and zh-Hant is still derived.
  • src/components/Pricing.astro:
    • takes main's locale prop and renders CTAs through planHref(plan, locale);
    • both panels render statically, a two-link nav points at #cloud / #self-hosted, and :target ~ selectors pick the panel; with no fragment, Cloud shows;
    • panels get visually hidden headings, and plan names are h3.

Merge resolution (0153a9b)

Two files conflicted. In every hunk the tab structure came from the branch and all copy came from main. A script compared all 8 locales against main's pricingCopy:

  • every plan object deep-equals main's;
  • each tab's intro and billing text, joined in main's order, equals main's string;
  • git grep finds no retired wording (540, Single-Node, 单机, attestation), and the retired T4 is absent.

Verification (head 0153a9b)

  • pnpm content:lint, check (0 errors), build and seo:smoke all pass.
  • The rendered text of /en, /zh-Hans and /zh-Hant/pricing/ matches a build of main 29a6a01 card for card and href for href.
  • Playwright: /en and /zh-Hans/pricing/ at 1440 and 390, light and dark, each tab, 16 runs.
    • The correct panel shows, with no horizontal overflow.
    • axe reports 0 violations.
    • Keyboard: Tab reaches the switch with a visible focus ring, and Enter switches tabs.

Acceptance notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01FeA1nwBz1ohH65dvffUGKr

#324)

One page, two tabs, both in the static HTML. The switch is CSS-only: two
links to empty fragment targets at the top of the section, with :target ~
sibling selectors, so no inline script is added (the CSP in public/_headers
stays at four digests), it works with JavaScript off, and
/pricing/#self-hosted deep links to the Self-hosted tab.

- Cloud (default): Free, Team (highlighted), Enterprise. Enterprise carries
  Business on Cloud ($45 billed annually / $54 monthly) as a contract option.
- Self-hosted: Community (Apache-2.0) and Enterprise, from $540 per AI seat
  per year for single-node Business Self-Managed, custom beyond one node,
  with air-gap, clustering/HA, SCIM and SLA.
- Each tab gets its own intro and billing note in place of the mixed
  intro/billingNote; the MoR note and refunds link stay shared.
- PricingCopy gains switchLabel and tabs.{cloud,selfHosted}; toHant follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibxtdRRynGt3qUDruMH
… plan table (#324)

The Cloud Enterprise card read thin next to Team (three bullets). Its bullets
now come from docs.objectos.ai content/docs/cloud/plans-and-seats.mdx, the
Enterprise column of the Cloud plan table and its Business section: Business
(SSO with your identity provider and AI governance, by contract), approval
workflows, uncapped storage per environment, an AI allowance that grows with
AI seats plus AI credit packs, archived development environments kept for a
year, and priority support (replacing "Commercial support"). The two Business
bullets become one; the $45 annual / $54 monthly price stays in the Cloud
billing note. en and zh-Hans; zh-Hant follows through toHant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibxtdRRynGt3qUDruMH
Maintainer ruling (www #327, 2026-10-30): the Self-hosted tab's Enterprise
card shows "Custom / contact sales", as the Cloud Enterprise card does, not
"From $540". billedNote and altPrice go. The $540 single-node entry price
stays in the card's first bullet (Business Self-Managed) and in the
Self-hosted billing note. en and zh-Hans; zh-Hant follows through toHant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibxtdRRynGt3qUDruMH
Conflicts in src/lib/pricing.ts and src/components/Pricing.astro, resolved
by keeping the branch's two-tab structure and taking all copy and styling
from main.

- pricing.ts: main's copy, verbatim, regrouped into tabs. Cloud: Free and
  Team (highlighted). Self-hosted: Community and Enterprise ("Contact sales",
  no public price, per the #377 ruling). The branch's Cloud Enterprise card
  is dropped. main's intro and billingNote are split by sentence: the Cloud
  sentences go to the Cloud tab, the Community and Enterprise sentences to
  Self-hosted; no sentence is reworded. The zh-Hans Cloud tab label is
  "ObjectOS Cloud", following main's English edition names.
- Pricing.astro: the :target switch, panels, hidden panel headings, h3 plan
  names and the .plans.pair cap stay; main's card/btn classes, tokens, 2px
  brand highlight and type scale are adopted. The switch is restyled on the
  same tokens (--brand on --brand-soft for the active tab, --r-pill,
  --fs-14); the pair cap is now --measure-wide, since both tabs hold two
  plans.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibxtdRRynGt3qUDruMH
Conflicts in src/lib/pricing.ts and src/components/Pricing.astro resolved
by the PR's rule: keep the two-tab structure (PricingTab, the :target
switch), take every plan, price, feature line, intro and billing sentence
verbatim from main.

Carried from main into the tabs:
- f6b0820: one Enterprise edition, per AI user, 25-user minimum, contact
  sales only; Enterprise Single-Node retired; HA "in development, not yet
  offered"; SSO open source (self-hosted intro and billing note, Enterprise
  card, en and zh-Hans; zh-Hant generated).
- e28006f: Enterprise CTA goes to the locale's /contact/ page through
  planHref(plan, locale); Pricing takes the locale prop.

Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

席位核对

ACCEPT(席位按维护者 2026-11-15「www 相关任务接受你的建议,你接手继续处理」接手 #327)。


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 15, 2026 06:46
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 2eccb2a Nov 15, 2026
2 checks passed
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Landed: merge commit 2eccb2a on main. Push Build and deploy and Post-deploy probe both succeeded, and live /zh-Hans/pricing/ returns 200. Fixes #324. Supersedes #327, which I close next.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pricing: split /pricing into "ObjectOS Cloud" and "Self-hosted" tabs on one page

2 participants