Account · Billing and team: a meter's name gives way, a month past 12 says so

A Meter's name takes the free width and ends in an ellipsis while its
count stays whole, so a long quota name keeps "9 of 12 seats" inside a
280px box. `expiry` says why it refuses a date, and Expires reads
"There is no month 13." apart from "This date has passed.". Tests now
cover an American Express card's fifteen digits and four-digit code,
the address emptying once an invitation goes, a quota past its limit,
and a prompt with benefits standing as a paywall and one without as a
line.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-27 14:05:34 -04:00
1 parent 431aab594f
commit a2f654044e
7 files changed
+205 -33

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ pub fn plan(window: &mut Window, cx: &mut App) -> impl IntoElement + use<> {
UsageQuota::new(
"account-quota",
[
quota("seats", "Seats", 9.0, 12.0, "seats"),
quota("seats", "Seats across every workspace you own", 9.0, 12.0, "seats"),
quota("storage", "Storage", 96.5, 100.0, "GB"),
quota("runs", "Automation runs", 1_240.0, 2_000.0, "runs"),
],