Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function PaywallModal() {
{recovery.paymentFailed ? (
<PaymentRecoveryCard
payment={recovery.payment}
fallback="Update your payment method in billing to continue. Your chats, agents and results are saved."
fallback="Update your payment method in billing to continue. Your chats, workflows and results are saved."
/>
) : (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ test("sends a failed charge without a readable invoice to billing", async () =>

expect(
await screen.findByText(
"Update your payment method in billing to continue. Your chats, agents and results are saved.",
"Update your payment method in billing to continue. Your chats, workflows and results are saved.",
),
).toBeDefined();
expect(screen.queryByRole("button", { name: /^Start/ })).toBeNull();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function PaywallHeader() {
Choose a plan to keep working
</Text>
<Text variant="body" className="!text-zinc-500">
Your chats, agents and files are saved.
Your chats, workflows and files are saved.
</Text>
<Link
href="/tour/chat?utm_source=platform_paywall"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function PaywallPlanChoices({
</div>
)}
<Text variant="small" tone="secondary" className="text-center text-xs">
Your conversations and agents stay saved. Cancel anytime.
Your conversations and workflows stay saved. Cancel anytime.
</Text>
</section>
);
Expand All @@ -115,7 +115,7 @@ function PlanChoice({
const features = isPro
? [
"Experts for content, sales and research, with Otto coordinating",
"Agents that keep working in the background on a schedule",
"Workflows that keep working in the background on a schedule",
]
: [
plan.usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe("Usage limit dialog", () => {
);
expect(
screen.getByText(
"Pro was due to start on Oct 12, but the $50 charge didn’t go through. Pay now and Pro starts right away. Your chats, agents and results are saved.",
"Pro was due to start on Oct 12, but the $50 charge didn’t go through. Pay now and Pro starts right away. Your chats, workflows and results are saved.",
),
).toBeDefined();
for (const amount of screen.getAllByText(/\$50/)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ it.each(["past_due", "unpaid"])(
expect(screen.getByText("Your payment didn’t go through")).toBeDefined();
expect(
screen.getByText(
"Pro was due to start on Sep 17, but the $54.13 charge didn’t go through. Pay now and Pro starts right away. Your chats, agents and results are saved.",
"Pro was due to start on Sep 17, but the $54.13 charge didn’t go through. Pay now and Pro starts right away. Your chats, workflows and results are saved.",
),
).toBeDefined();
for (const amount of screen.getAllByText(/\$54\.13/)) {
Expand All @@ -75,7 +75,7 @@ it("points to the payment method row when the open invoice can't be read", async
render(<SettingsBillingPage />);
expect(
await screen.findByText(
"Update your payment method below to continue. Your chats, agents and results are saved.",
"Update your payment method below to continue. Your chats, workflows and results are saved.",
),
).toBeDefined();
expect(screen.queryByRole("link", { name: /^Pay / })).toBeNull();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function AutopilotUsageCard({ index = 0 }: Props) {
<Text variant="small" tone="secondary" className="leading-6">
{state.unlimited
? "Your plan has no daily or weekly usage limits."
: "Choose a plan to continue working with your saved conversations and agents."}
: "Choose a plan to continue working with your saved conversations and workflows."}
</Text>
</div>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function BillingOffer({ controller }: Props) {
<SupportOffer
eyebrow="AutoGPT Pro"
title="Pro is active"
description="Pro is active. Pick up where you left off with your conversations and agents."
description="Pro is active. Pick up where you left off with your conversations and workflows."
label="Back to your work"
href="/copilot"
ready
Expand Down Expand Up @@ -79,7 +79,7 @@ export function BillingOffer({ controller }: Props) {
const benefits = isTrial
? [
"A full daily and weekly allowance once payment goes through",
"Your chats, agents and files stay where they are",
"Your chats, workflows and files stay where they are",
]
: target === "Max"
? [
Expand All @@ -90,7 +90,7 @@ export function BillingOffer({ controller }: Props) {
]
: [
"Experts for content, sales and research, with Otto coordinating",
"Agents that keep working in the background on a schedule",
"Workflows that keep working in the background on a schedule",
];
const quiet =
isTrial &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function SubscriptionTab({ isPlanCheckoutReturn = false }: Props) {
{paymentFailed ? (
<PaymentRecoveryCard
payment={payment}
fallback="Update your payment method below to continue. Your chats, agents and results are saved."
fallback="Update your payment method below to continue. Your chats, workflows and results are saved."
/>
) : null}
{showTrialCard ? <TrialCard /> : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export function PlanOffer({
? "A full daily and weekly allowance once payment goes through"
: "Experts for content, sales and research, with Otto coordinating",
freshUsage
? "Your chats, agents and files stay where they are"
: "Agents that keep working in the background on a schedule",
? "Your chats, workflows and files stay where they are"
: "Workflows that keep working in the background on a schedule",
]
: [
usageMultiplier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe("usage messages", () => {
expect(usagePresentation(experience)).toMatchObject({
title: "You can continue today at 5:00 PM",
noticeTitle: "You can continue today at 5:00 PM",
description: "Your chats, agents and results are saved.",
description: "Your chats, workflows and results are saved.",
});
});
it("states the amount and start date of a failed first trial charge", () => {
Expand All @@ -109,7 +109,7 @@ describe("usage messages", () => {
expect(usagePresentation(experience)).toMatchObject({
title: "Your payment didn’t go through",
description:
"Pro was due to start on Oct 12, but the $54.13 charge didn’t go through. Pay now and Pro starts right away. Your chats, agents and results are saved.",
"Pro was due to start on Oct 12, but the $54.13 charge didn’t go through. Pay now and Pro starts right away. Your chats, workflows and results are saved.",
});
});
it("keeps the billing route when the open invoice is unavailable", () => {
Expand All @@ -119,7 +119,7 @@ describe("usage messages", () => {
"NO_TIER",
);
expect(usagePresentation(experience).description).toBe(
"Review your billing details to continue. Your chats, agents and results are saved.",
"Review your billing details to continue. Your chats, workflows and results are saved.",
);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export function formatPaymentDue(payment: UsageExperience["payment"]) {
return {
url: payment.payment_url,
actionLabel: `Pay ${amount} now`,
description: `${plan} was due to start${date ? ` on ${date}` : ""}, but the ${amount} charge didn’t go through. Pay now and ${plan === "Your plan" ? "your plan" : plan} starts right away. Your chats, agents and results are saved.`,
description: `${plan} was due to start${date ? ` on ${date}` : ""}, but the ${amount} charge didn’t go through. Pay now and ${plan === "Your plan" ? "your plan" : plan} starts right away. Your chats, workflows and results are saved.`,
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export function usagePresentation(
noticeTitle: title,
description: payment
? (formatPaymentDue(experience.payment)?.description ??
"Review your billing details to continue. Your chats, agents and results are saved.")
"Review your billing details to continue. Your chats, workflows and results are saved.")
: canceled
? "Your trial won’t turn into a paid subscription. Your chats, agents and results are saved whenever you’re ready to choose a plan."
: "Your chats, agents and results are saved. Choose a plan to keep going.",
? "Your trial won’t turn into a paid subscription. Your chats, workflows and results are saved whenever you’re ready to choose a plan."
: "Your chats, workflows and results are saved. Choose a plan to keep going.",
supportLabel: "Contact support",
secondary: "Back to my work",
trialSpent: false,
Expand All @@ -60,11 +60,11 @@ export function usagePresentation(
description: trialSpent
? experience.freshProUsage
? formatTrialStartDescription(experience.trialEndsAt)
: "Choose your next plan to continue. Your chats, agents and results are saved."
: "Choose your next plan to continue. Your chats, workflows and results are saved."
: isTopTier
? "Your chats, agents and results are saved."
? "Your chats, workflows and results are saved."
: !experience.resetsAt
? "Choose a plan to continue. Your chats, agents and results are saved."
? "Choose a plan to continue. Your chats, workflows and results are saved."
: tier === "PRO"
? `${resume}, or upgrade to Max for ${usageMultiplier ? `${usageMultiplier} times the usage` : "more usage"}.`
: `${resume}, or ${tier === "BASIC" ? "upgrade to Pro" : "start Pro"}.`,
Expand Down
Loading