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>
This commit is contained in:
@@ -157,14 +157,14 @@ function NoLimitConfiguredBanner() {
|
||||
to={v3BillingLimitsPath(organization)}
|
||||
>
|
||||
<span className="mx-auto grow self-center truncate text-text-bright system:text-white">
|
||||
Configure billing limit
|
||||
Billing limit settings
|
||||
</span>
|
||||
</LinkButton>
|
||||
) : undefined
|
||||
}
|
||||
>
|
||||
{canManageBillingLimits
|
||||
? "Protect your organization from unexpected usage spikes."
|
||||
? "Add a billing limit to your account to prevent overspending"
|
||||
: "Billing limits are not configured for this organization. Contact an organization administrator to configure them."}
|
||||
</AnimatedOrgBannerBar>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user