Commit b1987dc
authored
feat(webapp): billing limits — pause, reject, recovery, and settings UI (#3996)
## Summary
Adds Billing Limits to the webapp.
Customers can set a monthly spend cap. When usage crosses the limit,
billable environments enter a grace period. If the limit is not resolved
before grace expires, new triggers are rejected until the organization
increases or removes the limit.1 parent 5d99457 commit b1987dc
89 files changed
Lines changed: 7176 additions & 635 deletions
File tree
- .server-changes
- apps/webapp
- app
- components
- billing
- layout
- primitives
- hooks
- models
- presenters
- v3
- routes
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues
- _app.orgs.$organizationSlug.settings.billing-alerts
- _app.orgs.$organizationSlug.settings.billing-limits
- _app.orgs.$organizationSlug.settings.usage
- _app.orgs.$organizationSlug
- storybook.callout
- runEngine/validators
- services
- routeBuilders
- utils
- v3
- services
- billingLimit
- bulk
- test
- docs
- internal-packages/database/prisma
- migrations
- 20260614120000_add_environment_pause_source_billing_limit
- 20260626120000_bulk_action_group_dedupe_key_column
- 20260626120001_bulk_action_group_dedupe_key_index
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments