Update Pro plan display names in the TUI (#49043)

## What changed

Update plan labels in the analytics views and status display:

- `PlanType::Pro`: `Pro (More)` → `Pro Extra`
- `PlanType::ProLite`: `Pro` → `Pro Standard`
- `PlanType::ProMax`: `Pro (Max)` → `Pro Max`

## Testing

Update the status display-name test expectations for all three Pro tiers.

GitOrigin-RevId: 9bd9f1cd8a701019fd40047cd8131e6193f66cb9
This commit is contained in:
Eric Traut
2026-09-28 17:58:35 +00:00
committed by copyberry
parent 3074be908a
commit 4f63088cce
3 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -108,9 +108,9 @@ impl AnalyticsView {
PlanType::Free => "Free",
PlanType::Go => "Go",
PlanType::Plus => "Plus",
PlanType::Pro => "Pro (More)",
PlanType::ProLite => "Pro",
PlanType::ProMax => "Pro (Max)",
PlanType::Pro => "Pro Extra",
PlanType::ProLite => "Pro Standard",
PlanType::ProMax => "Pro Max",
PlanType::Team
| PlanType::Business
| PlanType::SelfServeBusinessProLite
+3 -3
View File
@@ -62,9 +62,9 @@ impl AnalyticsView {
PlanType::Free => "Free",
PlanType::Go => "Go",
PlanType::Plus => "Plus",
PlanType::Pro => "Pro (More)",
PlanType::ProLite => "Pro",
PlanType::ProMax => "Pro (Max)",
PlanType::Pro => "Pro Extra",
PlanType::ProLite => "Pro Standard",
PlanType::ProMax => "Pro Max",
PlanType::Team
| PlanType::Business
| PlanType::SelfServeBusinessProLite
+6 -6
View File
@@ -107,11 +107,11 @@ pub(crate) fn plan_type_display_name(plan_type: PlanType) -> String {
} else if plan_type.is_business_like() {
"Enterprise".to_string()
} else if plan_type == PlanType::Pro {
"Pro (More)".to_string()
"Pro Extra".to_string()
} else if plan_type == PlanType::ProMax {
"Pro (Max)".to_string()
"Pro Max".to_string()
} else if plan_type == PlanType::ProLite {
"Pro".to_string()
"Pro Standard".to_string()
} else if plan_type == PlanType::EduPlus {
"Edu Plus".to_string()
} else if plan_type == PlanType::EduPro {
@@ -233,9 +233,9 @@ mod tests {
(PlanType::Free, "Free"),
(PlanType::Go, "Go"),
(PlanType::Plus, "Plus"),
(PlanType::Pro, "Pro (More)"),
(PlanType::ProLite, "Pro"),
(PlanType::ProMax, "Pro (Max)"),
(PlanType::Pro, "Pro Extra"),
(PlanType::ProLite, "Pro Standard"),
(PlanType::ProMax, "Pro Max"),
(PlanType::Team, "Business"),
(PlanType::SelfServeBusinessUsageBased, "Business"),
(PlanType::Business, "Enterprise"),