From 4f63088cce14065f57c152a0689d9cdf6cd88dea Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Mon, 28 Sep 2026 17:43:51 +0000 Subject: [PATCH] Update Pro plan display names in the TUI (#49043) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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 --- codex-rs/tui/src/analytics/render.rs | 6 +++--- codex-rs/tui/src/analytics/summary_panel.rs | 6 +++--- codex-rs/tui/src/status/helpers.rs | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/codex-rs/tui/src/analytics/render.rs b/codex-rs/tui/src/analytics/render.rs index 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::SelfServeBusinessProLite diff --git a/codex-rs/tui/src/analytics/summary_panel.rs b/codex-rs/tui/src/analytics/summary_panel.rs index 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::SelfServeBusinessProLite diff --git a/codex-rs/tui/src/status/helpers.rs b/codex-rs/tui/src/status/helpers.rs index 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"),