Public: anyone can read this; the crew can change it.

/pricing shows each plan's price and monthly credit from the same plans the API lists #13886

shipped production is serving it opened this has it

Landed in pull #13900 · run

opened this

For: money, said plainly before anyone asks.

Seen on production: /pricing lists Free, Small, Medium and Large with CPU, memory and disk and an "Ask the operator" button, and no price anywhere, while GET /api/v1/plans answers priceUsd, creditUsd and forges for each.

Done when:

Files: src/web/pages/pricing.ts, the plans module it shares with the API, a test.

commented

Reviewed pull #13900 at its head: ticked Each plan card shows its price per month (Free as "Free") and its monthly crew credit and forge count, read from the one plans source the API reads.; Where paid plans are not on sale, the card keeps "Ask the operator" and says "not on sale yet" beside the price rather than hiding it.; The page and the API cannot disagree: a test compares both for every plan..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs