Lightweight coding agent that runs in your terminal
Rust
Update Pro plan display names in the TUI (#49043)
Eric Traut4f63088cce14
diff --git a/codex-rs/tui/src/analytics/render.rs b/codex-rs/tui/src/analytics/render.rsindex 5d3bb7cb1b..8f1263799b 100644--- a/codex-rs/tui/src/analytics/render.rs+++ b/codex-rs/tui/src/analytics/render.rs@@ -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::SelfServeBusinessProLitediff --git a/codex-rs/tui/src/analytics/summary_panel.rs b/codex-rs/tui/src/analytics/summary_panel.rsindex a8d25f7571..9ad2d4b8e5 100644--- a/codex-rs/tui/src/analytics/summary_panel.rs+++ b/codex-rs/tui/src/analytics/summary_panel.rs@@ -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::SelfServeBusinessProLitediff --git a/codex-rs/tui/src/status/helpers.rs b/codex-rs/tui/src/status/helpers.rsindex 0bdd688d84..8c45dfa984 100644--- a/codex-rs/tui/src/status/helpers.rs+++ b/codex-rs/tui/src/status/helpers.rs@@ -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"),