Skip to content

Commit d7056a9

Browse files
claude[bot]claude
andauthored
chore(webapp): reword the no-billing-limit banner copy (#4656)
<!-- ccr-slack-attribution --> _Requested by **Matt Aitken** · [Slack thread](https://triggerdotdev.slack.com/archives/C0BKB98B84W/p1787045331358929)_ Copy-only reword of the banner shown to org admins who have not set a billing limit yet. **Before** — the banner read "Protect your organization from unexpected usage spikes." with a button labelled "Configure billing limit". **After** — it reads "Add a billing limit to your account to prevent overspending" with a button labelled "Billing limit settings". The new wording names the action up front and matches the destination it sends you to, so the banner reads as a settings link rather than a one-off setup step. ## ✅ Checklist - [x] I have followed every step in the [contributing guide](https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md) - [x] The PR title follows the convention. - [x] I ran and tested the code works --- ## Testing Formatting and linting pass (`oxfmt --check`, `oxlint`). No tests or snapshots assert this copy. The change is two string literals in one component, with no behaviour attached. --- ## Changelog Reworded the billing-limit banner for organizations without a limit configured, and relabelled its button to "Billing limit settings". --- ## How Both strings live in `NoLimitConfiguredBanner` in `apps/webapp/app/components/billing/OrgBanner.tsx`: the heading is the `canManageBillingLimits` branch of the banner's children, and the label is the `<span>` inside the `LinkButton`. Only those two literals changed. The button still points at `v3BillingLimitsPath(organization)` (`/orgs/{slug}/settings/billing-limits`), so routing, permissions and the non-admin variant of the message are untouched. Co-authored-by: Claude <noreply@anthropic.com>
1 parent e91fb74 commit d7056a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/webapp/app/components/billing/OrgBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,14 @@ function NoLimitConfiguredBanner() {
157157
to={v3BillingLimitsPath(organization)}
158158
>
159159
<span className="mx-auto grow self-center truncate text-text-bright system:text-white">
160-
Configure billing limit
160+
Billing limit settings
161161
</span>
162162
</LinkButton>
163163
) : undefined
164164
}
165165
>
166166
{canManageBillingLimits
167-
? "Protect your organization from unexpected usage spikes."
167+
? "Add a billing limit to your account to prevent overspending"
168168
: "Billing limits are not configured for this organization. Contact an organization administrator to configure them."}
169169
</AnimatedOrgBannerBar>
170170
);

0 commit comments

Comments
 (0)