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

+10 -3
View File
@@ -1,8 +1,8 @@
use std::rc::Rc;
use gpui::{
App, ElementId, FontWeight, IntoElement, ParentElement, RenderOnce, SharedString, Styled,
Window, div,
App, ElementId, FontWeight, InteractiveElement, IntoElement, ParentElement, RenderOnce,
SharedString, Styled, Window, div,
};
use super::login::Run;
@@ -121,7 +121,14 @@ impl RenderOnce for UpgradePrompt {
)
.child(words),
)
.child(div().flex().flex_col().gap_1p5().children(benefits))
.child(
div()
.debug_selector(|| "paywall-benefits".into())
.flex()
.flex_col()
.gap_1p5()
.children(benefits),
)
.child(actions),
false => div()
.flex()