Skip to content

Commit f01fba1

Browse files
authored
fix: update plans (#8755)
* fix: update plans * fix: lint * change base price * fix: concurrent devboxes
1 parent be57601 commit f01fba1

File tree

10 files changed

+177
-240
lines changed

10 files changed

+177
-240
lines changed

packages/app/src/app/components/StripeMessages/AcquisitionAnnouncement.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/app/src/app/components/WorkspaceSetup/Summary.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export const Summary: React.FC<{
2828

2929
const isAnnual =
3030
newSubscription?.billingInterval === SubscriptionInterval.Yearly;
31-
const allowAnnualSwitch = flow !== 'manage-addons';
31+
32+
// This will enable annual switch if we decide to bring it back
33+
const allowAnnualSwitch = false;
3234

3335
return (
3436
<Stack
@@ -101,7 +103,7 @@ export const Summary: React.FC<{
101103
)}
102104

103105
<Text size={3}>
104-
Additional VM credits are available on-demand for $0.018/credit.
106+
Additional VM credits are available on-demand for $0.015/credit.
105107
<br />
106108
Spending limit: ${spendingLimit}
107109
</Text>

packages/app/src/app/components/WorkspaceSetup/steps/ChangeLegacyPlan.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const ChangeLegacyPlan: React.FC<StepProps> = ({
6868
</Stack>
6969

7070
<Text>
71-
Additional VM credits are available on-demand for $0.018/credit.
71+
Additional VM credits are available on-demand for $0.015/credit.
7272
<br />
7373
Spending limit: ${checkout.spendingLimit} / month
7474
</Text>

packages/app/src/app/components/WorkspaceSetup/steps/ChangePlan.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const ChangePlan: React.FC<StepProps> = ({
7777
</Stack>
7878

7979
<Text>
80-
Additional VM credits are available on-demand for $0.018/credit.
80+
Additional VM credits are available on-demand for $0.015/credit.
8181
<br />
8282
Spending limit: ${checkout.spendingLimit} / month
8383
</Text>

packages/app/src/app/components/WorkspaceSetup/steps/FAQ.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ const content = {
123123
{
124124
question:
125125
'How much do credits cost and how can I add more to my workspace?',
126-
answer: `VM credits are only used on Devboxes and repositories, to translate virtual machine (VM) runtime per hour into precise costs. They are priced at $0.018 each.
126+
answer: `VM credits are only used on Devboxes and repositories, to translate virtual machine (VM) runtime per hour into precise costs. They are priced at $0.015 each.
127127
128128
You can conveniently purchase credits as add-ons to your base package. Adding more credits is a breeze. From your workspace dashboard, go to the settings and navigate to billing. You'll find the option to add to or upgrade your plan effortlessly.`,
129129
},
130130
{
131131
question: 'What is the ideal plan for my team size?',
132132
answer: `The base Pro plan includes up to 40 hours of runtime per month in our Nano VMs (2 vCPU + 4 GB RAM), which is an excellent place to start if you're an individual developer or a small team.
133133
134-
If you have a larger team or require additional VM usage, you can either rely on on-demand credits ($0.018/credit) or purchase a discounted add-on package of VM credits.
134+
If you have a larger team or require additional VM usage, you can either rely on on-demand credits ($0.015/credit) or purchase a discounted add-on package of VM credits.
135135
136136
For example, a team with 7 collaborators, each using 2 hours of VM runtime per day on our default VM size (Micro) would require 8400 credits. The 7400 credits required on top of the 1000 included in the base Pro plan can be obtained either on-demand or by purchasing two add-on packages of 4000 VM credits each.`,
137137
},

0 commit comments

Comments
 (0)