From d2d196bd6ab9b28f61234773b2f4464aac65f23f Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Sun, 20 Sep 2026 17:58:08 +0000 Subject: [PATCH] Remove analytics TUI snapshots (#46861) ## What changed Remove analytics snapshot assertions, saved snapshots, and snapshot-only setup and serialization code. Retain targeted behavior and rendering assertions, and add explicit checks for narrow-screen dollar amounts, negative usage values, metric selection, and summary scrolling. GitOrigin-RevId: 58f43f8037818d5f6d55630b0bf670b017efd8be --- .../tui/src/analytics/account_layout_tests.rs | 25 +- .../tui/src/analytics/chat_panel_tests.rs | 9 - codex-rs/tui/src/analytics/compact_tests.rs | 3 - .../tui/src/analytics/connection_tests.rs | 25 - .../src/analytics/consumer_refresh_tests.rs | 8 +- .../tui/src/analytics/navigation_tests.rs | 5 +- codex-rs/tui/src/analytics/plan_tests.rs | 1 - ..._connection_tests__account_plan_error.snap | 44 -- ...connection_tests__local_profile_error.snap | 52 -- ...ection_tests__local_profile_recovered.snap | 52 -- ...escape_closes_with_retained_expansion.snap | 64 --- ...outs_show_reports_and_wrap_navigation.snap | 505 ------------------ ...ending_and_error_do_not_start_reports.snap | 28 - ...s_chats_display_only_supplied_dollars.snap | 65 --- ...layout__business_tokens_filter_models.snap | 65 --- ...s__account_layout__legend_tall_report.snap | 64 --- ...ary_available_without_billing_reports.snap | 44 -- ...plans_hide_top_chats_and_skip_loading.snap | 28 - ...chats_range_controls_and_visible_rows.snap | 78 --- ...etails_before_they_leave_the_viewport.snap | 28 - ...tles_are_hidden_in_panel_and_overview.snap | 61 --- ...adlines_and_axes_compact_large_values.snap | 96 ---- ...fresh__consumer_chat_available_limits.snap | 34 -- ...ing_rows_and_only_offer_known_metrics.snap | 34 -- ...five_and_closes_with_retained_details.snap | 18 - ...sts__navigation__vim_chart_navigation.snap | 37 -- ...ics__tests__summary__summary_overview.snap | 68 --- ...ics__tests__summary__summary_scrolled.snap | 22 - ...ytics__tests__summary__summary_weekly.snap | 48 -- ...nal_styles__analytics_dark_business_1.snap | 103 ---- ...nal_styles__analytics_dark_business_2.snap | 103 ---- ...nal_styles__analytics_dark_business_3.snap | 103 ---- ...nal_styles__analytics_dark_business_4.snap | 98 ---- ...nal_styles__analytics_dark_business_6.snap | 103 ---- ...nal_styles__analytics_dark_business_8.snap | 98 ---- ...nal_styles__analytics_dark_consumer_1.snap | 103 ---- ...nal_styles__analytics_dark_consumer_2.snap | 103 ---- ...nal_styles__analytics_dark_consumer_4.snap | 98 ---- ...nal_styles__analytics_dark_consumer_5.snap | 103 ---- ...nal_styles__analytics_dark_consumer_6.snap | 103 ---- ...nal_styles__analytics_dark_consumer_8.snap | 98 ---- ...al_styles__analytics_light_business_1.snap | 102 ---- ...al_styles__analytics_light_business_2.snap | 102 ---- ...al_styles__analytics_light_business_3.snap | 102 ---- ...al_styles__analytics_light_business_4.snap | 98 ---- ...al_styles__analytics_light_business_6.snap | 102 ---- ...al_styles__analytics_light_business_8.snap | 98 ---- ...al_styles__analytics_light_consumer_1.snap | 102 ---- ...al_styles__analytics_light_consumer_2.snap | 102 ---- ...al_styles__analytics_light_consumer_4.snap | 98 ---- ...al_styles__analytics_light_consumer_5.snap | 102 ---- ...al_styles__analytics_light_consumer_6.snap | 102 ---- ...al_styles__analytics_light_consumer_8.snap | 98 ---- ...e_empty_days_and_independent_failures.snap | 138 ----- ...ools_reflow_and_keep_independent_days.snap | 85 --- codex-rs/tui/src/analytics/styles_tests.rs | 73 +-- codex-rs/tui/src/analytics/summary_tests.rs | 15 +- .../tui/src/analytics/tool_panel_tests.rs | 2 - codex-rs/tui/src/analytics_tests.rs | 34 +- ...ion_and_explicit_view_selects_summary.snap | 78 --- .../tui/src/app/tests/transcript_composer.rs | 13 - ...ping_preserves_selected_day_and_total.snap | 44 -- ..._navigation_keeps_geometry_and_legend.snap | 81 --- ...alytics_details_reflow_and_keep_focus.snap | 67 --- ...rns_keep_geometry_and_disable_details.snap | 159 ------ ..._exact_fit_content_has_no_scroll_hint.snap | 24 - ...s_and_tool_remainders_are_unambiguous.snap | 101 ---- ...nd_small_terminals_keep_valid_cursors.snap | 24 - ..._analytics__tests__analytics_overview.snap | 64 --- ...ranks_its_own_models_after_turns_load.snap | 42 -- 70 files changed, 15 insertions(+), 5064 deletions(-) delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__account_plan_error.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_error.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_recovered.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__plan__tests__plan_overview_escape_closes_with_retained_expansion.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_layouts_show_reports_and_wrap_navigation.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_pending_and_error_do_not_start_reports.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_chats_display_only_supplied_dollars.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_tokens_filter_models.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__legend_tall_report.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unknown_plan_keeps_summary_available_without_billing_reports.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unsupported_workspace_plans_hide_top_chats_and_skip_loading.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__chats_range_controls_and_visible_rows.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__moving_chat_selection_collapses_details_before_they_leave_the_viewport.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__unavailable_chat_titles_are_hidden_in_panel_and_overview.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__compact__report_headlines_and_axes_compact_large_values.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chat_available_limits.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chats_keep_missing_rows_and_only_offer_known_metrics.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_overview_shows_top_five_and_closes_with_retained_details.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__navigation__vim_chart_navigation.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_overview.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_scrolled.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_weekly.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_1.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_2.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_3.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_4.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_6.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_8.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_1.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_2.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_4.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_5.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_6.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_8.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_1.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_2.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_3.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_4.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_6.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_8.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_1.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_2.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_4.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_5.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_6.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_8.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_handle_empty_days_and_independent_failures.snap delete mode 100644 codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_reflow_and_keep_independent_days.snap delete mode 100644 codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__transcript_composer__analytics_menu_reopen_preserves_navigation_and_explicit_view_selects_summary.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_credits_grouping_preserves_selected_day_and_total.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_day_navigation_keeps_geometry_and_legend.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_details_reflow_and_keep_focus.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_empty_turns_keep_geometry_and_disable_details.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_exact_fit_content_has_no_scroll_hint.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_model_labels_and_tool_remainders_are_unambiguous.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_narrow_charts_and_small_terminals_keep_valid_cursors.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_overview.snap delete mode 100644 codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_usage_ranks_its_own_models_after_turns_load.snap diff --git a/codex-rs/tui/src/analytics/account_layout_tests.rs b/codex-rs/tui/src/analytics/account_layout_tests.rs index d6c7da06dc..13d80a91c1 100644 --- a/codex-rs/tui/src/analytics/account_layout_tests.rs +++ b/codex-rs/tui/src/analytics/account_layout_tests.rs @@ -8,7 +8,6 @@ use pretty_assertions::assert_eq; use crate::analytics::sections::Section; #[test] fn account_layouts_show_reports_and_wrap_navigation() { - let mut screens = Vec::new(); for (kind, expected) in [ ( models::AccountKind::Consumer, @@ -40,16 +39,12 @@ fn account_layouts_show_reports_and_wrap_navigation() { KeyCode::Char(char::from_digit(index as u32 + 1, /*radix*/ 10).unwrap()), ); assert_eq!(view.section, *section); - screens.push(screen(&mut view, /*width*/ 100, /*height*/ 30)); } press(&mut view, KeyCode::Tab); assert_eq!(view.section, expected[0]); press(&mut view, KeyCode::BackTab); assert_eq!(view.section, *expected.last().unwrap()); - view.zoomed = false; - screens.push(screen(&mut view, /*width*/ 140, /*height*/ 64)); } - insta::assert_snapshot!(screens.join("\n")); } #[tokio::test] @@ -146,12 +141,11 @@ async fn business_tokens_filter_models() { ); fixture::seed_reports(&mut view); assert_eq!(view.token_model.as_deref(), Some("GPT-5.5")); - let filtered = screen(&mut view, /*width*/ 100, /*height*/ 30); + screen(&mut view, /*width*/ 100, /*height*/ 30); press(&mut view, KeyCode::Char('m')); test_support::settle(&mut view).await; fixture::seed_reports(&mut view); assert_eq!(view.token_model, None); - insta::assert_snapshot!(format!("{all}\n{filtered}")); } #[tokio::test] @@ -180,7 +174,6 @@ async fn account_pending_and_error_do_not_start_reports() { .iter() .all(|state| matches!(state.history, Load::Unavailable)) ); - insta::assert_snapshot!(error); } #[tokio::test] @@ -327,8 +320,7 @@ fn business_chats_display_only_supplied_dollars() { } let dollars = screen(&mut view, /*width*/ 100, /*height*/ 30); assert!(dollars.contains("$123.45") && dollars.contains("Est. $ spent")); - let narrow = screen(&mut view, /*width*/ 42, /*height*/ 30); - insta::assert_snapshot!(format!("{dollars}\n{narrow}")); + assert!(screen(&mut view, /*width*/ 42, /*height*/ 30).contains("$123.45")); } #[tokio::test] @@ -374,9 +366,6 @@ async fn unsupported_workspace_plans_hide_top_chats_and_skip_loading() { press(&mut view, KeyCode::Char('6')); assert_eq!(view.section, Section::Chats); } - let mut view = fixture::view(models::AccountKind::Enterprise); - view.account = Load::Ready(codex_protocol::account::PlanType::Enterprise); - insta::assert_snapshot!(screen(&mut view, /*width*/ 110, /*height*/ 24)); } #[tokio::test] @@ -420,15 +409,6 @@ async fn unknown_plan_keeps_summary_available_without_billing_reports() { "/backend-api/wham/profiles/me" ] ); - view.end_date = "2026-09-09".parse().unwrap(); - let mut terminal = ratatui::Terminal::new(ratatui::backend::TestBackend::new( - /*width*/ 100, /*height*/ 40, - )) - .unwrap(); - terminal - .draw(|frame| view.render(frame.area(), frame.buffer_mut())) - .unwrap(); - insta::assert_snapshot!(terminal.backend().to_string()); } #[test] @@ -483,7 +463,6 @@ fn taller_report_reveals_more_legend_rows_and_keeps_timestamp_in_footer() { .take(3) .any(|line| line.contains("Updated")) ); - insta::assert_snapshot!("legend_tall_report", tall); for width in [24, 40, 64] { let narrow = screen(&mut view, width, /*height*/ 60); assert!(narrow.lines().last().unwrap().contains("UTC")); diff --git a/codex-rs/tui/src/analytics/chat_panel_tests.rs b/codex-rs/tui/src/analytics/chat_panel_tests.rs index 709d99271b..91e8d22e78 100644 --- a/codex-rs/tui/src/analytics/chat_panel_tests.rs +++ b/codex-rs/tui/src/analytics/chat_panel_tests.rs @@ -30,7 +30,6 @@ fn chats_range_controls_and_visible_rows() { ), before ); - let mut screens = Vec::new(); for key in [KeyCode::Home, KeyCode::End, KeyCode::Enter] { press(&mut view, key); let output = screen(&mut view, /*width*/ 110, /*height*/ 24); @@ -43,7 +42,6 @@ fn chats_range_controls_and_visible_rows() { visible.first().unwrap(), visible.last().unwrap() ))); - screens.push(output); } press(&mut view, KeyCode::Char('z')); press(&mut view, KeyCode::Char('r')); @@ -52,7 +50,6 @@ fn chats_range_controls_and_visible_rows() { press(&mut view, KeyCode::Char('r')); press(&mut view, KeyCode::Char('z')); assert!(screen(&mut view, /*width*/ 110, /*height*/ 24).contains("[30d]")); - insta::assert_snapshot!(screens.join("\n")); } #[test] @@ -159,16 +156,13 @@ fn unavailable_chat_titles_are_hidden_in_panel_and_overview() { usage: None, }], }); - let mut screens = Vec::new(); for zoomed in [true, false] { view.zoomed = zoomed; view.follow_selection = true; let output = screen(&mut view, /*width*/ 110, /*height*/ 28); assert!(!output.contains("Another workspace's private title")); assert!(output.contains("Chat usage unavailable")); - screens.push(output); } - insta::assert_snapshot!(screens.join("\n")); } #[test] @@ -206,9 +200,6 @@ fn moving_chat_selection_collapses_details_before_they_leave_the_viewport() { assert_eq!(view.sections[Section::Chats].detail, Some(start)); press(&mut view, key); assert_eq!(view.sections[Section::Chats].detail, None); - if key == KeyCode::End { - insta::assert_snapshot!(screen(&mut view, /*width*/ 110, /*height*/ 24)); - } press(&mut view, KeyCode::Esc); assert!(view.is_done); } diff --git a/codex-rs/tui/src/analytics/compact_tests.rs b/codex-rs/tui/src/analytics/compact_tests.rs index a500d01b3f..fcc91f98e7 100644 --- a/codex-rs/tui/src/analytics/compact_tests.rs +++ b/codex-rs/tui/src/analytics/compact_tests.rs @@ -3,7 +3,6 @@ use super::*; #[test] fn report_headlines_and_axes_compact_large_values() { - let mut screenshots = Vec::new(); for (section, unit, total, headline) in [ ( Section::Usage, @@ -42,7 +41,5 @@ fn report_headlines_and_axes_compact_large_values() { let rendered = screen(&mut view, /*width*/ 100, /*height*/ 30); assert!(rendered.contains(headline)); assert!(rendered.contains(&data::amount(total))); - screenshots.push(rendered); } - insta::assert_snapshot!(screenshots.join("\n")); } diff --git a/codex-rs/tui/src/analytics/connection_tests.rs b/codex-rs/tui/src/analytics/connection_tests.rs index 101e8dfa79..cbadc21f83 100644 --- a/codex-rs/tui/src/analytics/connection_tests.rs +++ b/codex-rs/tui/src/analytics/connection_tests.rs @@ -103,16 +103,6 @@ async fn local_reports_share_an_account_and_recover_profile_errors() { assert!(view.sections[*section].history.ready().is_some()); } } - view.select_summary(/*view*/ None); - view.end_date = "2026-09-09".parse().unwrap(); - let mut terminal = ratatui::Terminal::new(ratatui::backend::TestBackend::new( - /*width*/ 100, /*height*/ 48, - )) - .unwrap(); - terminal - .draw(|frame| view.render(frame.area(), frame.buffer_mut())) - .unwrap(); - insta::assert_snapshot!("local_profile_error", terminal.backend().to_string()); drop(failed_profile); let profile = json!({ @@ -133,11 +123,6 @@ async fn local_reports_share_an_account_and_recover_profile_errors() { view.profile.ready(), Some(&serde_json::from_value(profile).unwrap()) ); - view.end_date = "2026-09-09".parse().unwrap(); - terminal - .draw(|frame| view.render(frame.area(), frame.buffer_mut())) - .unwrap(); - insta::assert_snapshot!("local_profile_recovered", terminal.backend().to_string()); for request in http.received_requests().await.unwrap() { assert_eq!( request.headers.get("chatgpt-account-id").unwrap(), @@ -184,16 +169,6 @@ async fn account_lookup_failure_recovers_on_refresh_with_the_server_plan() { .collect::>(), ["/backend-api/wham/accounts/check"] ); - view.end_date = "2026-09-09".parse().unwrap(); - let mut terminal = ratatui::Terminal::new(ratatui::backend::TestBackend::new( - /*width*/ 100, /*height*/ 40, - )) - .unwrap(); - terminal - .draw(|frame| view.render(frame.area(), frame.buffer_mut())) - .unwrap(); - insta::assert_snapshot!("account_plan_error", terminal.backend().to_string()); - Mock::given(method("GET")) .and(wiremock::matchers::path("/backend-api/wham/accounts/check")) .and(header("chatgpt-account-id", "account-a")) diff --git a/codex-rs/tui/src/analytics/consumer_refresh_tests.rs b/codex-rs/tui/src/analytics/consumer_refresh_tests.rs index d29c272cf5..47dae4327e 100644 --- a/codex-rs/tui/src/analytics/consumer_refresh_tests.rs +++ b/codex-rs/tui/src/analytics/consumer_refresh_tests.rs @@ -44,7 +44,7 @@ fn consumer_chats_keep_missing_rows_and_only_offer_known_metrics() { assert!(!hidden.contains("Private title") && !hidden.contains("Unverified backend row")); press(&mut view, KeyCode::Up); press(&mut view, KeyCode::Enter); - insta::assert_snapshot!(screen(&mut view, /*width*/ 90, /*height*/ 30)); + assert!(screen(&mut view, /*width*/ 90, /*height*/ 30).contains("-0.000004")); let chats = match &mut view.tasks { Load::Ready(chats) => chats, _ => unreachable!(), @@ -67,10 +67,7 @@ fn consumer_chats_keep_missing_rows_and_only_offer_known_metrics() { screen(&mut view, /*width*/ 110, /*height*/ 30) ); press(&mut view, KeyCode::Char('s')); - insta::assert_snapshot!( - "consumer_chat_available_limits", - screen(&mut view, /*width*/ 58, /*height*/ 30) - ); + assert_eq!(view.task_metric(), 1); } #[test] @@ -99,7 +96,6 @@ fn consumer_overview_shows_top_five_and_closes_with_retained_details() { .collect::>() .join("\n"); assert!(content.contains("Task 5") && !content.contains("Task 0")); - insta::assert_snapshot!(content); press(&mut view, KeyCode::Esc); assert!(view.is_done); } diff --git a/codex-rs/tui/src/analytics/navigation_tests.rs b/codex-rs/tui/src/analytics/navigation_tests.rs index 7e0897fce3..e600793421 100644 --- a/codex-rs/tui/src/analytics/navigation_tests.rs +++ b/codex-rs/tui/src/analytics/navigation_tests.rs @@ -37,7 +37,7 @@ fn vim_chart_navigation_matches_arrows_in_focused_and_dashboard_views() { view.sections[section].cursor = 3; view.sections[section].detail = Some(3); } - let output = navigate( + navigate( &mut views, &[ ('h', KeyCode::Left), @@ -56,9 +56,6 @@ fn vim_chart_navigation_matches_arrows_in_focused_and_dashboard_views() { ), (section, 2, Some(2)) ); - if kind == AccountKind::Consumer && section == Section::Usage && zoomed { - insta::assert_snapshot!("vim_chart_navigation", output); - } } } } diff --git a/codex-rs/tui/src/analytics/plan_tests.rs b/codex-rs/tui/src/analytics/plan_tests.rs index bbb902dd62..43ce3eb901 100644 --- a/codex-rs/tui/src/analytics/plan_tests.rs +++ b/codex-rs/tui/src/analytics/plan_tests.rs @@ -209,7 +209,6 @@ fn plan_overview_escape_closes_with_retained_expansion() { .unwrap(); let output = terminal.backend().to_string(); assert!(output.contains("Latest period · 12 total") && output.contains("Weekly limits")); - insta::assert_snapshot!(output); view.handle_key(KeyEvent::new(KeyCode::Esc, KeyModifiers::NONE)); assert!(view.is_done); } diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__account_plan_error.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__account_plan_error.snap deleted file mode 100644 index 29304acc1a..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__account_plan_error.snap +++ /dev/null @@ -1,44 +0,0 @@ ---- -source: tui/src/analytics/connection_tests.rs -expression: terminal.backend().to_string() ---- -" Analytics · Live account " -" " -" " -" " -" " -" Couldn't load account plan. Press R to retry Analytics. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_error.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_error.snap deleted file mode 100644 index b860e2706b..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_error.snap +++ /dev/null @@ -1,52 +0,0 @@ ---- -source: tui/src/analytics/connection_tests.rs -expression: terminal.backend().to_string() ---- -" Analytics · Live account · analytics@example.test " -" " -" " -" [1 Summary] 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" Report request failed. Press R to retry. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–5 section · z dashboard " -" g view · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_recovered.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_recovered.snap deleted file mode 100644 index 251ba91728..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__client__connection_tests__local_profile_recovered.snap +++ /dev/null @@ -1,52 +0,0 @@ ---- -source: tui/src/analytics/connection_tests.rs -expression: terminal.backend().to_string() ---- -" Analytics · Live account · analytics@example.test " -" " -" " -" [1 Summary] 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" " -" " -" " -" " -" " -" Local account " -" @local-user " -" Enterprise " -" " -" 12.3K 12.3K — — — " -" Lifetime tokens Peak tokens Longest chat Current streak Longest streak " -" " -" Token activity Daily " -" Last 12 months " -" " -" Nov Dec Jan Feb Mar Apr May Jun Jul Aug " -" Su □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" Mo □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" Tu □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" We □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ ■ " -" Th □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" Fr □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" Sa □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ " -" " -" Less □ ■ ■ ■ ■ More " -" " -" Activity insights Most used plugins and skills " -" " -" Fast Mode — Plugin and skill usage unavailable. " -" Most used reasoning — " -" Skills explored — " -" Total skills used — " -" Total chats — " -" " -" " -" " -" " -" " -" " -" tab/1–5 section · z dashboard " -" g view · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__plan__tests__plan_overview_escape_closes_with_retained_expansion.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__plan__tests__plan_overview_escape_closes_with_retained_expansion.snap deleted file mode 100644 index 50ba4a826a..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__plan__tests__plan_overview_escape_closes_with_retained_expansion.snap +++ /dev/null @@ -1,64 +0,0 @@ ---- -source: tui/src/analytics/plan_tests.rs -expression: output ---- -" Analytics · Live account " -" " -" " -" ╭─ 1 Summary ────────────────────────────────────────╮ ╭─ 2 Total usage history ────────────────────────────╮ " -" │ │ │ │ " -" │ No history has been reported. │ │ 7d │ " -" │ │ │ By feature │ " -" │ │ │ Total usage · relative units │ " -" │ │ │ 20 73 64 91 81 100 86 │ " -" │ │ │ 100 ▁▁▁▁ ▅▅▅▅ ▅▅▅▅ ▇▇▇▇ ▆▆▆▆ ████ ▆▆▆▆ │ " -" │ │ │ 0 ─────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ │ │ 27 28 29 30 31 1 2 │ " -" │ │ │ │ " -" │ │ │ Sep 2 · 86 usage units │ " -" │ │ │ ● Tasks 64.0% │ " -" │ │ │ ● Code review 14.0% │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" ╭─ ▸ 3 Plan usage history ─────────────────────────────╮ ╭─ 4 Messages ───────────────────────────────────────╮ " -" │ │ │ │ " -" │ By feature │ │ 7d │ " -" │ › 5-hour limits │ │ By model │ " -" │ │ │ 574 reported messages │ " -" │ Latest period · 12 total 125% │ │ 62 83 107 75 59 85 103 │ " -" │ │ │ 150 ▃▃▃▃ ▄▄▄▄ ▅▅▅▅ ▄▄▄▄ ▃▃▃▃ ▄▄▄▄ ▅▅▅▅ │ " -" │ Weekly limits │ │ 0 ─────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ Latest period · 1 total Not available │ │ 27 28 29 30 31 1 2 │ " -" │ Some periods aren't available yet │ │ │ " -" │ Usage as of Sep 2 12:00 UTC │ │ Sep 2 · 103 messages │ " -" │ Available since Sep 1 00:00 UTC │ │ ● GPT-5.6-Sol 61 │ " -" │ … z to maximize │ │ ● GPT-5.6-Terra 25 │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Plugins called ─────────────────────────────────╮ ╭─ 6 Skills used ────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 7d │ " -" │ 186 calls │ │ 54 uses │ " -" │ 34 23 29 26 22 23 29 │ │ 8 6 9 8 7 5 11 │ " -" │ 40 ▆▆▆▆ ▄▄▄▄ ▅▅▅▅ ▅▅▅▅ ▄▄▄▄ ▄▄▄▄ ▅▅▅▅ │ │ 20 ▃▃▃▃ ▂▂▂▂ ▃▃▃▃ ▃▃▃▃ ▂▂▂▂ ▂▂▂▂ ▄▄▄▄ │ " -" │ 0 ──────────────────────────────────────────────── │ │ 0 ──────────────────────────────────────────────── │ " -" │ ▲ │ │ ▲ │ " -" │ 27 28 29 30 31 1 2 │ │ 27 28 29 30 31 1 2 │ " -" │ │ │ │ " -" │ Sep 2 · 29 calls │ │ Sep 2 · 11 uses │ " -" │ ● Slack 10 │ │ ● Testing 4 │ " -" │ ● Figma 10 │ │ ● Code review 3 │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" ╭─ 7 Top chats ──────────────────────────────────────╮ " -" │ │ " -" │ No history has been reported. │ " -" │ │ " -" tab/1–7 section · enter/z maximize " -" g group · R refresh · pgup/pgdn scroll · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_layouts_show_reports_and_wrap_navigation.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_layouts_show_reports_and_wrap_navigation.snap deleted file mode 100644 index 7856f68d76..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_layouts_show_reports_and_wrap_navigation.snap +++ /dev/null @@ -1,505 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: "screens.join(\"\\n\")" ---- -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Total usage history 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By feature " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 91 100 86 " -" 100 73 ▃▃▃▃▃▃▃▃ 81 ████████ ▁▁▁▁▁▁▁▁ " -" ▃▃▃▃▃▃▃▃ 64 ████████ ▆▆▆▆▆▆▆▆ ████████ ████████ " -" ████████ ▆▆▆▆▆▆▆▆ ████████ ████████ ████████ ████████ " -" 50 20 ████████ ████████ ████████ ████████ ████████ ████████ " -" ▁▁▁▁▁▁▁▁ ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 86 usage units " -" Feature Share " -" ● Tasks 64.0% " -" ● Code review 14.0% " -" ● Images 11.6% " -" ● Other 10.5% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history [3 Messages] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Messages By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 574 reported messages " -" " -" 150 " -" 107 103 " -" 83 ▇▇▇▇▇▇▇▇ 75 85 ▆▆▆▆▆▆▆▆ " -" 75 62 ▆▆▆▆▆▆▆▆ ████████ ▄▄▄▄▄▄▄▄ 59 ▇▇▇▇▇▇▇▇ ████████ " -" ▇▇▇▇▇▇▇▇ ████████ ████████ ████████ ▆▆▆▆▆▆▆▆ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 103 messages " -" Model Messages " -" ● GPT-5.6-Sol 61 " -" ● GPT-5.6-Terra 25 " -" ● GPT-5.5 10 " -" ● Other 7 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 34 29 29 " -" ▇▇▇▇▇▇▇▇ 23 26 23 " -" ████████ ████████ ▄▄▄▄▄▄▄▄ 22 █████████ " -" 20 ████████ ████████ ████████ ████████ ▆▆▆▆▆▆▆▆ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" 9 11 " -" 10 8 6 ▁▁▁▁▁▁▁▁ 8 7 ▆▆▆▆▆▆▆▆▆ " -" ▆▆▆▆▆▆▆▆ ████████ ▆▆▆▆▆▆▆▆ ▃▃▃▃▃▃▃▃ 5 █████████ " -" ████████ ████████ ████████ ████████ ████████ ▆▆▆▆▆▆▆▆ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · s sort · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" ╭─ 1 Summary ──────────────────────────────────────────────────╮ ╭─ 2 Total usage history ──────────────────────────────────────╮ " -" │ │ │ │ " -" │ No history has been reported. │ │ 7d │ " -" │ │ │ By feature │ " -" │ │ │ Total usage · relative units │ " -" │ │ │ 73 64 91 81 100 86 │ " -" │ │ │ 100 20 ▃▃▃▃▃ ▂▂▂▂▂ ▆▆▆▆▆ ▄▄▄▄▄ █████ ▅▅▅▅▅▅ │ " -" │ │ │ ▃▃▃▃▃ █████ █████ █████ █████ █████ ██████ │ " -" │ │ │ 0 ───────────────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ │ │ │ " -" │ │ │ Sep 2 · 86 usage units │ " -" │ │ │ ● Tasks 64.0% │ " -" │ │ │ ● Code review 14.0% │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 3 Messages ─────────────────────────────────────────────────╮ ╭─ 4 Plugins called ───────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 7d │ " -" │ By model │ │ 186 calls │ " -" │ 574 reported messages │ │ 34 23 29 26 22 23 29 │ " -" │ 83 107 85 103 │ │ 40 ▅▅▅▅▅ ▁▁▁▁▁ ▃▃▃▃▃ ▂▂▂▂▂▂ ▁▁▁▁▁ ▃▃▃▃▃▃ │ " -" │ 150 62 ▃▃▃▃▃ 75 59 ▁▁▁▁▁ ▂▂▂▂▂▂ │ │ █████ █████ █████ ██████ █████ █████ ██████ │ " -" │ ▆▆▆▆▆ █████ █████ █████ ▆▆▆▆▆ █████ ██████ │ │ 0 ────────────────────────────────────────────────────────── │ " -" │ 0 ───────────────────────────────────────────────────────── │ │ ▲ │ " -" │ ▲ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ Sep 2 · 29 calls │ " -" │ Sep 2 · 103 messages │ │ ● Slack 10 │ " -" │ ● GPT-5.6-Sol 61 │ │ ● Figma 10 │ " -" │ ● GPT-5.6-Terra 25 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ──────────────────────────────────────────────╮ ╭─ ▸ 6 Top chats ────────────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ No history has been reported. │ " -" │ 54 uses │ │ │ " -" │ 11 │ │ │ " -" │ 20 8 6 9 8 7 5 │ │ │ " -" │ ▆▆▆▆▆ ▄▄▄▄▄ ▇▇▇▇▇ ▆▆▆▆▆▆ ▅▅▅▅▅ ▄▄▄▄▄ ██████ │ │ │ " -" │ 0 ────────────────────────────────────────────────────────── │ │ │ " -" │ ▲ │ │ │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ │ " -" │ Sep 2 · 11 uses │ │ │ " -" │ ● Testing 4 │ │ │ " -" │ ● Code review 3 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" tab/1–6 section · s sort · enter/z maximize " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Credits usage history By product " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 431.00 credits " -" " -" 150 109.00 " -" 85.00 ▂▂▂▂▂▂▂▂ " -" 57.00 ▃▃▃▃▃▃▃▃ 75.00 ████████ 64.00 " -" 75 41.00 ▂▂▂▂▂▂▂▂ ████████ ████████ ████████ ▄▄▄▄▄▄▄▄ " -" ▅▅▅▅▅▅▅▅ ████████ ████████ ████████ ████████ ████████ " -" 0 ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 64.00 credits " -" Product Credits " -" ● CLI 23.00 " -" ● Desktop app 22.00 " -" ● IDE extension 10.00 " -" ● Web 9.00 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" All models · m change model " -" 4.4M tokens " -" 850K " -" 1M 773.5K 688.5K 731K " -" 620.5K 544K ▅▅▅▅▅▅▅▅ ▁▁▁▁▁▁▁▁ ████████ ▃▃▃▃▃▃▃▃ " -" ▅▅▅▅▅▅▅▅ ▂▂▂▂▂▂▂▂ ████████ ████████ ████████ ████████ " -" 500K 170K ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 731,000 tokens " -" Token type Tokens " -" ● Cached input 602,000 " -" ● Uncached input 86,000 " -" ● Output 43,000 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history [4 Plugins called] 5 Skills used 6 " -" Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" 34 " -" 40 29 29 " -" ████████ 23 ▂▂▂▂▂▂▂▂ 26 22 23 ▂▂▂▂▂▂▂▂▂ " -" ████████ ▃▃▃▃▃▃▃▃ ████████ ▇▇▇▇▇▇▇▇ ▂▂▂▂▂▂▂▂ ▃▃▃▃▃▃▃▃ █████████ " -" 20 ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called [5 Skills used] 6 " -" Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" 11 " -" 8 9 8 7 ▂▂▂▂▂▂▂▂▂ " -" 10 ▃▃▃▃▃▃▃▃ 6 ▅▅▅▅▅▅▅▅ ▃▃▃▃▃▃▃▃ 5 █████████ " -" ████████ ▆▆▆▆▆▆▆▆ ████████ ████████ ████████ ▄▄▄▄▄▄▄▄ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 " -" Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" Plan the week 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" ╭─ 1 Summary ──────────────────────────────────────────────────╮ ╭─ 2 Credits usage history ────────────────────────────────────╮ " -" │ │ │ │ " -" │ No history has been reported. │ │ 7d │ " -" │ │ │ By product │ " -" │ │ │ 431.00 credits │ " -" │ │ │ 85.00 109.00 │ " -" │ │ │ 150 41.00 57.00 ▁▁▁▁▁ 75.00 ▃▃▃▃▃ 64.00 │ " -" │ │ │ 0 ▄▄▄▄▄ ▆▆▆▆▆ █████ █████ █████ ▆▆▆▆▆▆ │ " -" │ │ │ 0 ───────────────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ │ │ │ " -" │ │ │ Sep 2 · 64.00 credits │ " -" │ │ │ ● CLI 23.00 │ " -" │ │ │ ● Desktop app 22.00 │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 3 Token usage history ──────────────────────────────────────╮ ╭─ 4 Plugins called ───────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d · All models │ │ 7d │ " -" │ By token type │ │ 186 calls │ " -" │ 4.4M tokens │ │ 34 23 29 26 22 23 29 │ " -" │ 620.5K 544K 773.5K 688.5K 850K 731K │ │ 40 ▅▅▅▅▅ ▁▁▁▁▁ ▃▃▃▃▃ ▂▂▂▂▂▂ ▁▁▁▁▁ ▃▃▃▃▃▃ │ " -" │ 1M 170K ▁▁▁▁▁ ▄▄▄▄▄ ▃▃▃▃▃ ▅▅▅▅▅ ▃▃▃▃▃ │ │ █████ █████ █████ ██████ █████ █████ ██████ │ " -" │ ▂▂▂▂▂ █████ █████ █████ █████ █████ █████ │ │ 0 ────────────────────────────────────────────────────────── │ " -" │ 0 ──────────────────────────────────────────────────────── │ │ ▲ │ " -" │ ▲ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ Sep 2 · 29 calls │ " -" │ Sep 2 · 731,000 tokens │ │ ● Slack 10 │ " -" │ ● Cached input 602,000 │ │ ● Figma 10 │ " -" │ ● Uncached input 86,000 │ │ │ " -" │ Updated Sep 2 16:00 UTC │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ──────────────────────────────────────────────╮ ╭─ ▸ 6 Top chats ────────────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 30d active · lifetime credits │ " -" │ 54 uses │ │ │ " -" │ 11 │ │ Q3 planning analysis 120.00 │ " -" │ 20 8 6 9 8 7 5 │ │ Refactor billing usage 113.00 │ " -" │ ▆▆▆▆▆ ▄▄▄▄▄ ▇▇▇▇▇ ▆▆▆▆▆▆ ▅▅▅▅▅ ▄▄▄▄▄ ██████ │ │ Other usage 109.00 │ " -" │ 0 ────────────────────────────────────────────────────────── │ │ Launch readiness review 85.00 │ " -" │ ▲ │ │ Plan the week 0.00 │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ Local chats · excludes subagents │ " -" │ Sep 2 · 11 uses │ │ │ " -" │ ● Testing 4 │ │ │ " -" │ ● Code review 3 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" tab/1–6 section · enter/z maximize " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_pending_and_error_do_not_start_reports.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_pending_and_error_do_not_start_reports.snap deleted file mode 100644 index bb29ece2da..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__account_pending_and_error_do_not_start_reports.snap +++ /dev/null @@ -1,28 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: error ---- -" Analytics · Live account " -" " -" " -" " -" " -" Sign in again to view Analytics. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_chats_display_only_supplied_dollars.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_chats_display_only_supplied_dollars.snap deleted file mode 100644 index dcdfc0d403..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_chats_display_only_supplied_dollars.snap +++ /dev/null @@ -1,65 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: "format!(\"{dollars}\\n{narrow}\")" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 " -" Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Est. $ spent Lifetime credits " -" › Q3 planning analysis $123.45 120.00 " -" Refactor billing usage — 113.00 " -" Other usage — 109.00 " -" Launch readiness review — 85.00 " -" Plan the week — 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" Summary Credits usage history Token " -" usage history Plugins called Skills " -" used [Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────── " -" Active in past 30 days · sorted by " -" lifetime credits " -" " -" Chat Est. $ / credits " -" › Q3 planning analysis " -" $123.45 120.00 " -" Refactor billing usage " -" — 113.00 " -" Other usage " -" — 109.00 " -" Launch readiness review " -" — 85.00 " -" " -" Showing 1–4 of 5 chats " -" Local chats · excludes archived chats " -" and subagent usage " -" " -" tab/1–6 section · z dashboard · ↑/↓ " -" row · enter details " -" R refresh · esc back · q close " -" " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_tokens_filter_models.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_tokens_filter_models.snap deleted file mode 100644 index d11660c49e..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__business_tokens_filter_models.snap +++ /dev/null @@ -1,65 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: "format!(\"{all}\\n{filtered}\")" ---- -" Analytics · Live account · analytics@example.test " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" All models · m change model " -" 4.4M tokens " -" 850K " -" 1M 773.5K 688.5K 731K " -" 620.5K 544K ▅▅▅▅▅▅▅▅ ▁▁▁▁▁▁▁▁ ████████ ▃▃▃▃▃▃▃▃ " -" ▅▅▅▅▅▅▅▅ ▂▂▂▂▂▂▂▂ ████████ ████████ ████████ ████████ " -" 500K 170K ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 731,000 tokens " -" Token type Tokens " -" ● Cached input 602,000 " -" ● Uncached input 86,000 " -" ● Output 43,000 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " - -" Analytics · Live account · analytics@example.test " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" GPT-5.5 · m change model " -" 4.4M tokens " -" 850K " -" 1M 773.5K 688.5K 731K " -" 620.5K 544K ▅▅▅▅▅▅▅▅ ▁▁▁▁▁▁▁▁ ████████ ▃▃▃▃▃▃▃▃ " -" ▅▅▅▅▅▅▅▅ ▂▂▂▂▂▂▂▂ ████████ ████████ ████████ ████████ " -" 500K 170K ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 731,000 tokens " -" Token type Tokens " -" ● Cached input 602,000 " -" ● Uncached input 86,000 " -" ● Output 43,000 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__legend_tall_report.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__legend_tall_report.snap deleted file mode 100644 index 7ad344cb2f..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__legend_tall_report.snap +++ /dev/null @@ -1,64 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: tall ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By feature " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 100 " -" 100 ██████████ " -" 91 ██████████ " -" ▂▂▂▂▂▂▂▂▂▂ ██████████ " -" ██████████ ██████████ 86 " -" ██████████ 81 ██████████ ▆▆▆▆▆▆▆▆▆▆ " -" ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ " -" 73 ██████████ ██████████ ██████████ ██████████ " -" ▇▇▇▇▇▇▇▇▇▇ ██████████ ██████████ ██████████ ██████████ " -" ██████████ 64 ██████████ ██████████ ██████████ ██████████ " -" ██████████ ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 50 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 86 usage units " -" Feature Share " -" ● Feature 1 10.0% " -" ● Feature 2 10.0% " -" ● Feature 3 10.0% " -" ● Feature 4 10.0% " -" ● Feature 5 10.0% " -" ● Feature 6 10.0% " -" ● Feature 7 10.0% " -" ● Feature 8 10.0% " -" ● Feature 9 10.0% " -" ● Feature 10 10.0% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unknown_plan_keeps_summary_available_without_billing_reports.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unknown_plan_keeps_summary_available_without_billing_reports.snap deleted file mode 100644 index 337a1c8a6c..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unknown_plan_keeps_summary_available_without_billing_reports.snap +++ /dev/null @@ -1,44 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: terminal.backend().to_string() ---- -" Analytics · Live account · analytics@example.test " -" " -" " -" [1 Summary] " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" " -" " -" " -" " -" " -" " -" " -" Account " -" " -" 12.3K — — — — " -" Lifetime tokens Peak tokens Longest chat Current streak Longest streak " -" " -" Token activity Daily " -" Last 12 months " -" " -" Token activity history unavailable " -" " -" Activity insights Most used plugins and skills " -" " -" Fast Mode — Plugin and skill usage unavailable. " -" Most used reasoning — " -" Skills explored — " -" Total skills used — " -" Total chats — " -" " -" " -" " -" " -" " -" " -" " -" tab/1–1 section · z dashboard " -" g view · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unsupported_workspace_plans_hide_top_chats_and_skip_loading.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unsupported_workspace_plans_hide_top_chats_and_skip_loading.snap deleted file mode 100644 index 4d434f7fb0..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__account_layout__unsupported_workspace_plans_hide_top_chats_and_skip_loading.snap +++ /dev/null @@ -1,28 +0,0 @@ ---- -source: tui/src/analytics/account_layout_tests.rs -expression: "screen(&mut view, 110, 24)" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 Skills used " -" " -" ▎ Credits usage history By product " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 431.00 credits " -" 85.00 109.00 " -" 150 41.00 57.00 ▁▁▁▁▁▁▁▁▁ 75.00 ▃▃▃▃▃▃▃▃▃ 64.00 " -" 0 ▄▄▄▄▄▄▄▄▄ ▆▆▆▆▆▆▆▆▆▆ █████████ ██████████ █████████ ▆▆▆▆▆▆▆▆▆▆ " -" 0 ───────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 64.00 credits " -" Product Credits " -" ● CLI 23.00 " -" ● Desktop app 22.00 " -" ● IDE extension 10.00 " -" ● Web 9.00 " -" tab/1–5 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__chats_range_controls_and_visible_rows.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__chats_range_controls_and_visible_rows.snap deleted file mode 100644 index d03ad5ee9c..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__chats_range_controls_and_visible_rows.snap +++ /dev/null @@ -1,78 +0,0 @@ ---- -source: tui/src/analytics/chat_panel_tests.rs -expression: "screens.join(\"\\n\")" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Chat 01 120.00 " -" Chat 02 120.00 " -" Chat 03 120.00 " -" Chat 04 120.00 " -" Chat 05 120.00 " -" Chat 06 120.00 " -" Chat 07 120.00 " -" Chat 08 120.00 " -" " -" Showing 1–8 of 30 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" Chat 23 120.00 " -" Chat 24 120.00 " -" Chat 25 120.00 " -" Chat 26 120.00 " -" Chat 27 120.00 " -" Chat 28 120.00 " -" Chat 29 120.00 " -" › Chat 30 120.00 " -" " -" Showing 23–30 of 30 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" Chat 27 120.00 " -" Chat 28 120.00 " -" Chat 29 120.00 " -" › Chat 30 120.00 " -" ────────────────────────────────────────────────────────────────────────────────────────────── " -" Model Effort Speed Credits " -" GPT-5.6-Sol high standard 120.00 " -" " -" " -" Showing 27–30 of 30 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__moving_chat_selection_collapses_details_before_they_leave_the_viewport.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__moving_chat_selection_collapses_details_before_they_leave_the_viewport.snap deleted file mode 100644 index c0d1489e00..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__moving_chat_selection_collapses_details_before_they_leave_the_viewport.snap +++ /dev/null @@ -1,28 +0,0 @@ ---- -source: tui/src/analytics/chat_panel_tests.rs -expression: "screen(&mut view, 110, 24)" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" Q3 planning analysis 120.00 " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" › Plan the week 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__unavailable_chat_titles_are_hidden_in_panel_and_overview.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__unavailable_chat_titles_are_hidden_in_panel_and_overview.snap deleted file mode 100644 index 787c135e10..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__chats_table__unavailable_chat_titles_are_hidden_in_panel_and_overview.snap +++ /dev/null @@ -1,61 +0,0 @@ ---- -source: tui/src/analytics/chat_panel_tests.rs -expression: "screens.join(\"\\n\")" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" 1 chat estimate unavailable " -" " -" Chat Lifetime credits " -" › Chat usage unavailable — " -" " -" Showing 1–1 of 1 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" │ │ │ Sep 2 · 29 calls │ " -" │ Sep 2 · 731,000 tokens │ │ ● Slack 10 │ " -" │ ● Cached input 602,000 │ │ ● Figma 10 │ " -" │ … z to maximize │ │ │ " -" │ │ │ │ " -" ╰─────────────────────────────────────────────────╯ ╰─────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ───────────────────────────────╮ ╭─ ▸ 6 Top chats ─────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 30d active · lifetime credits │ " -" │ 54 uses │ │ │ " -" │ 8 6 9 8 7 5 11 │ │ Chat usage unavailable — │ " -" │ 20 ▃▃▃▃ ▂▂▂▂ ▃▃▃▃ ▃▃▃▃ ▂▂▂▂ ▂▂▂▂ ▄▄▄▄ │ │ │ " -" │ 0 ─────────────────────────────────────────── │ │ Local chats · excludes subagents │ " -" │ ▲ │ │ Some estimates unavailable │ " -" │ 27 28 29 30 31 1 2 │ │ │ " -" │ │ │ │ " -" │ Sep 2 · 11 uses │ │ │ " -" │ ● Testing 4 │ │ │ " -" │ ● Code review 3 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰─────────────────────────────────────────────────╯ ╰─────────────────────────────────────────────────╯ " -" tab/1–6 section · enter/z maximize " -" R refresh · pgup/pgdn scroll · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__compact__report_headlines_and_axes_compact_large_values.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__compact__report_headlines_and_axes_compact_large_values.snap deleted file mode 100644 index 7094fc070b..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__compact__report_headlines_and_axes_compact_large_values.snap +++ /dev/null @@ -1,96 +0,0 @@ ---- -source: tui/src/analytics/compact_tests.rs -expression: "screenshots.join(\"\\n\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 " -" Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" All models · m change model " -" 12.3B tokens " -" " -" 15B 12.3B " -" ▄▄▄▄▄▄▄▄ " -" ████████ " -" ████████ " -" 7.5B ████████ " -" ████████ " -" ████████ " -" — — — — — — ████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 12,280,365,226 tokens " -" Token type Tokens " -" ● Example 12,280,365,226 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history [4 Plugins called] 5 Skills used 6 " -" Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 9.7K calls " -" 9.7K " -" 10K ▆▆▆▆▆▆▆▆ " -" ████████ " -" ████████ " -" ████████ " -" 5K ████████ " -" ████████ " -" ████████ " -" ████████ " -" — — — — — — ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 9,749 calls " -" Plugin Calls " -" ● Example 9,749 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called [5 Skills used] 6 " -" Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 2.9K uses " -" 2.9K " -" 3K ▅▅▅▅▅▅▅▅ " -" ████████ " -" ████████ " -" ████████ " -" 1.5K ████████ " -" ████████ " -" ████████ " -" ████████ " -" — — — — — — ████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 2,901 uses " -" Skill Uses " -" ● Example 2,901 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chat_available_limits.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chat_available_limits.snap deleted file mode 100644 index 2215a45acd..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chat_available_limits.snap +++ /dev/null @@ -1,34 +0,0 @@ ---- -source: tui/src/analytics/consumer_refresh_tests.rs -expression: "screen(&mut view, 58, 30)" ---- -" Analytics · Live account " -" " -" " -" Summary Total usage history Messages Plugins called " -" Skills used [Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────── " -" Usage estimates · active in past 30 days · sorted by " -" 5-hour % " -" Recorded usage / current full limit · may exceed 100% " -" Partial ranking · 1 partial · 2 unavailable " -" " -" Chat 5-hour % " -" › Refunded task · partial 0.0% " -" Chat usage unavailable — " -" Chat usage unavailable — " -" " -" Showing 1–3 of 3 chats " -" Local chats · includes discovered descendants · " -" excludes archived roots " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · s sort · z dashboard · ↑/↓ row · " -" enter details " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chats_keep_missing_rows_and_only_offer_known_metrics.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chats_keep_missing_rows_and_only_offer_known_metrics.snap deleted file mode 100644 index 4e048b6d5a..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_chats_keep_missing_rows_and_only_offer_known_metrics.snap +++ /dev/null @@ -1,34 +0,0 @@ ---- -source: tui/src/analytics/consumer_refresh_tests.rs -expression: "screen(&mut view, 90, 30)" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called 5 Skills used [6 Top " -" chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────────────────────────────────────── " -" Usage estimates · active in past 30 days · sorted by Balance credits " -" Credits debited from balance · includes adjustments " -" Partial ranking · 1 partial · 2 unavailable " -" " -" Chat Balance credits " -" › Refunded task · partial -0.000004 " -" ────────────────────────────────────────────────────────────────────────────────────── " -" Refunded task " -" Balance credits -0.000004 " -" " -" Model / effort / speed Balance credits " -" gpt-5.5 -0.000004 " -" high · fast · codex " -" " -" Chat usage unavailable — " -" Chat usage unavailable — " -" " -" Showing 1–3 of 3 chats " -" Local chats · includes discovered descendants · excludes archived roots " -" " -" tab/1–6 section · s sort · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_overview_shows_top_five_and_closes_with_retained_details.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_overview_shows_top_five_and_closes_with_retained_details.snap deleted file mode 100644 index 72d74b7c6a..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__consumer_refresh__consumer_overview_shows_top_five_and_closes_with_retained_details.snap +++ /dev/null @@ -1,18 +0,0 @@ ---- -source: tui/src/analytics/consumer_refresh_tests.rs -assertion_line: 93 -expression: content ---- -Usage estimates · active in past 30 days · sorted by Balance credits -Credits debited from balance · includes adjustments - - Chat Balance credits - Task 5 5 - Task 4 4 - Task 3 3 - Task 2 2 - Task 1 1 - -Showing top 5 of 6 chats -Local chats · includes discovered descendants · excludes archived -roots diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__navigation__vim_chart_navigation.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__navigation__vim_chart_navigation.snap deleted file mode 100644 index cd5d4772b0..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__navigation__vim_chart_navigation.snap +++ /dev/null @@ -1,37 +0,0 @@ ---- -source: tui/src/analytics/navigation_tests.rs -assertion_line: 60 -expression: output ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By feature " -" ──────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 91 100 " -" 100 ▂▂▂▂▂▂▂▂ 81 ████████ 86 " -" 73 64 ████████ ▃▃▃▃▃▃▃▃ ████████ ▇▇▇▇▇▇▇▇ " -" ▆▆▆▆▆▆▆▆ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" 50 ████████ ████████ ████████ ████████ ████████ ████████ " -" 20 ████████ ████████ ████████ ████████ ████████ ████████ " -" ▄▄▄▄▄▄▄▄ ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Aug 29 · 64 usage units " -" Feature Share " -" ● Tasks 64.1% " -" ● Code review 14.1% " -" ● Images 10.9% " -" ● Other 10.9% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_overview.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_overview.snap deleted file mode 100644 index 610cbe249b..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_overview.snap +++ /dev/null @@ -1,68 +0,0 @@ ---- -source: tui/src/analytics/summary_tests.rs -expression: "screen(&mut view, 144, 64)" ---- -" Analytics · Live account " -" " -" " -" ╭─ ▸ 1 Summary ────────────────────────────────────────────────────╮ ╭─ 2 Total usage history ────────────────────────────────────────╮ " -" │ │ │ │ " -" │ Example User │ │ 7d │ " -" │ @example.user │ │ By feature │ " -" │ Plus │ │ Total usage · relative units │ " -" │ │ │ │ " -" │ Lifetime tokens 142.3B │ │ 1 │ " -" │ Peak tokens 7B │ │ — — — — — — — │ " -" │ Longest chat 44h 7m │ │ 0 ─────────────────────────────────────────────────────────── │ " -" │ Current streak 158 days │ │ ▲ │ " -" │ Longest streak 160 days │ │ Sep 3 Sep 4 Sep 5 Sep 6 Sep 7 Sep 8 Sep 9 │ " -" │ │ │ │ " -" │ │ │ Sep 9 · Not reported │ " -" │ │ │ ● Tasks — │ " -" │ │ │ ● Code review — │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 3 Messages ───────────────────────────────────────────────────╮ ╭─ 4 Plugins called ─────────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 7d │ " -" │ By model │ │ 186 calls │ " -" │ 574 reported messages │ │ │ " -" │ │ │ 2 │ " -" │ 2 │ │ — — — — — — — │ " -" │ — — — — — — — │ │ 0 ───────────────────────────────────────────────────────────── │ " -" │ 0 ───────────────────────────────────────────────────────────── │ │ ▲ │ " -" │ ▲ │ │ Sep 3 Sep 4 Sep 5 Sep 6 Sep 7 Sep 8 Sep 9 │ " -" │ Sep 3 Sep 4 Sep 5 Sep 6 Sep 7 Sep 8 Sep 9 │ │ │ " -" │ │ │ Data not reported for Sep 9. │ " -" │ Data not reported for Sep 9. │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ────────────────────────────────────────────────╮ ╭─ 6 Top chats ──────────────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ No history has been reported. │ " -" │ 54 uses │ │ │ " -" │ │ │ │ " -" │ 2 │ │ │ " -" │ — — — — — — — │ │ │ " -" │ 0 ───────────────────────────────────────────────────────────── │ │ │ " -" │ ▲ │ │ │ " -" │ Sep 3 Sep 4 Sep 5 Sep 6 Sep 7 Sep 8 Sep 9 │ │ │ " -" │ │ │ │ " -" │ Data not reported for Sep 9. │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────────────────╯ " -" tab/1–6 section · enter/z maximize " -" g view · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_scrolled.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_scrolled.snap deleted file mode 100644 index 811912d0a6..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_scrolled.snap +++ /dev/null @@ -1,22 +0,0 @@ ---- -source: tui/src/analytics/summary_tests.rs -expression: "screen(&mut view, 64, 18)" ---- -" Analytics · Live account " -" " -" " -" [Summary] Total usage history Messages Plugins called " -" Skills used Top chats " -" " -" Skills explored 147 " -" Total skills used 13,190 " -" Total chats 21,482 " -" " -" Most used plugins and skills " -" " -" $review 1,142 runs " -" @GitHub 1,059 runs " -" " -" Statistics as of Sep 9, 2026 " -" tab/1–6 section · z dashboard · ↑/↓ scroll " -" g view · R refresh · pgup/pgdn scroll · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_weekly.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_weekly.snap deleted file mode 100644 index b27b760030..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__summary__summary_weekly.snap +++ /dev/null @@ -1,48 +0,0 @@ ---- -source: tui/src/analytics/summary_tests.rs -expression: "screen(&mut view, 110, 44)" ---- -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Total usage history 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" " -" " -" Example User " -" @example.user " -" Plus " -" " -" 142.3B 7B 44h 7m 158 days 160 days " -" Lifetime tokens Peak tokens Longest chat Current streak Longest streak " -" " -" Token activity Weekly " -" Last 12 months " -" " -" Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug " -" max █ " -" █ " -" █ " -" █ " -" █ " -" █ " -" 0 █ " -" " -" Each column = 1 week · tallest 300 " -" " -" Activity insights Most used plugins and skills " -" " -" Fast Mode 37% $review 1,142 runs " -" Most used reasoning high · 26% @GitHub 1,059 runs " -" Skills explored 147 " -" Total skills used 13,190 " -" Total chats 21,482 " -" " -" Statistics as of Sep 9, 2026 " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_1.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_1.snap deleted file mode 100644 index 460aadeb4e..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_1.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" All models · m change model " -" 4.4M tokens " -" " -" 1M " -" 850K " -" ▁▁▁▁▁▁▁▁▁▁ " -" 773.5K ██████████ " -" ▅▅▅▅▅▅▅▅▅▅ 688.5K ██████████ 731K " -" ██████████ ██████████ ▇▇▇▇▇▇▇▇▇▇ " -" 620.5K ██████████ ██████████ ██████████ ██████████ " -" ▆▆▆▆▆▆▆▆▆▆ 544K ██████████ ██████████ ██████████ ██████████ " -" ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ ██████████ ██████████ ██████████ " -" 500K ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 170K ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 731,000 tokens " -" Token type Tokens " -" ● Cached input 602,000 " -" ● Uncached input 86,000 " -" ● Output 43,000 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: White|Reset|Reset|BOLD -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 38:3 63:2 107:0 -4: 0:0 -5: 0:0 2:3 23:0 105:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 29:0 -8: 0:0 2:3 13:0 -9: 0:0 -10: 0:0 5:2 7:0 -11: 0:0 91:4 95:0 -12: 0:0 89:5 99:0 -13: 0:0 59:4 65:0 89:5 99:0 -14: 0:0 57:5 67:0 74:4 80:0 89:6 99:0 107:7 111:0 -15: 0:0 57:6 67:0 89:6 99:0 105:5 115:0 -16: 0:0 27:4 33:0 57:6 67:0 73:5 83:0 89:8 99:0 105:6 115:0 -17: 0:0 26:5 36:0 44:4 48:0 57:8 67:0 73:6 83:0 89:8 99:0 105:6 115:0 -18: 0:0 26:6 36:0 42:5 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -19: 0:0 3:2 7:0 26:8 36:0 42:6 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -20: 0:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -21: 0:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -22: 0:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -23: 0:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -24: 0:0 13:4 17:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -25: 0:0 10:5 20:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 10:8 20:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 10:8 20:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 10:8 20:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -29: 0:0 6:2 7:0 8:4 118:0 -30: 0:0 109:3 110:0 -31: 0:0 12:2 18:0 27:2 33:0 43:2 49:0 59:2 65:0 74:2 80:0 91:2 96:0 107:9 112:0 -32: 0:0 -33: 0:0 2:4 58:0 -34: 0:0 2:1 7:3 24:0 -35: 0:0 2:1 12:0 52:1 58:0 -36: 0:0 2:8 4:0 -37: 0:0 2:6 4:0 -38: 0:0 2:5 4:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 22:10 23:2 34:10 37:2 45:10 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_2.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_2.snap deleted file mode 100644 index c696e96599..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_2.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 " -" 34 " -" ▁▁▁▁▁▁▁▁▁▁ " -" ██████████ " -" ██████████ 29 29 " -" ██████████ ▆▆▆▆▆▆▆▆▆▆ 26 ▆▆▆▆▆▆▆▆▆▆ " -" ██████████ ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ " -" ██████████ 23 ██████████ ██████████ 22 23 ██████████ " -" ██████████ ▇▇▇▇▇▇▇▇▇▇ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ▇▇▇▇▇▇▇▇▇▇ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: White|Reset|Reset|BOLD -6: Green|Reset|Reset|NONE -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 61:3 81:2 107:0 -4: 0:0 -5: 0:0 2:3 18:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 11:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 12:4 14:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 46:0 108:5 110:0 -14: 0:0 9:6 19:0 60:4 62:0 -15: 0:0 9:6 19:0 -16: 0:0 9:6 19:0 28:4 30:0 41:6 51:0 76:4 78:0 92:4 94:0 105:6 115:0 -17: 0:0 9:7 19:0 41:6 51:0 105:6 115:0 -18: 0:0 3:2 5:0 9:7 19:0 41:6 51:0 57:6 67:0 105:6 115:0 -19: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -20: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -21: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -22: 0:0 9:8 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -23: 0:0 9:8 19:0 25:7 35:0 41:8 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:8 115:0 -24: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -25: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 18:0 -34: 0:0 2:1 8:0 53:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 24:10 27:2 35:10 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_3.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_3.snap deleted file mode 100644 index fccb190361..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_3.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Credits usage history By product " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 17.2K credits " -" " -" 5K " -" 4,360.00 " -" ▄▄▄▄▄▄▄▄▄▄ " -" ██████████ " -" ██████████ " -" 3,400.00 ██████████ " -" ▇▇▇▇▇▇▇▇▇▇ 3,000.00 ██████████ " -" ██████████ ▃▃▃▃▃▃▃▃▃▃ ██████████ " -" ██████████ ██████████ ██████████ 2,560.00 " -" 2.5K 2,280.00 ██████████ ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ " -" ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ ██████████ " -" 1,640.00 ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 2,560.00 credits " -" Product Credits " -" ● CLI 920.00 " -" ● Desktop app 880.00 " -" ● IDE extension 400.00 " -" ● Web 360.00 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: White|Reset|Reset|BOLD -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 13:3 40:2 107:0 -4: 0:0 -5: 0:0 2:3 25:0 108:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 15:0 -8: 0:0 -9: 0:0 5:2 7:0 -10: 0:0 89:4 97:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 58:4 66:0 89:5 99:0 -15: 0:0 73:4 81:0 89:5 99:0 -16: 0:0 89:6 99:0 -17: 0:0 57:5 67:0 89:6 99:0 105:7 113:0 -18: 0:0 3:2 7:0 42:4 50:0 57:5 67:0 73:5 83:0 89:6 99:0 -19: 0:0 57:6 67:0 73:5 83:0 89:6 99:0 -20: 0:0 26:4 34:0 57:6 67:0 73:6 83:0 89:6 99:0 105:5 115:0 -21: 0:0 42:5 52:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -22: 0:0 42:6 52:0 57:6 67:0 73:6 83:0 89:8 99:0 105:6 115:0 -23: 0:0 26:5 36:0 42:6 52:0 57:8 67:0 73:6 83:0 89:8 99:0 105:6 115:0 -24: 0:0 26:6 36:0 42:6 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:6 115:0 -25: 0:0 26:6 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 15:4 16:0 26:8 36:0 42:8 52:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 6:2 7:0 8:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 12:2 18:0 27:2 33:0 43:2 49:0 59:2 65:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 26:0 -34: 0:0 2:1 9:0 51:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 24:10 27:2 35:10 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_4.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_4.snap deleted file mode 100644 index 936e828772..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_4.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" ────────────────────────────────────────────────────────────────────────────────────────────── " -" Model Effort Speed Credits " -" GPT-5.6-Sol high standard 120.00 " -" " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" Plan the week 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:2 94:3 107:0 -4: 0:0 -5: 0:0 2:3 13:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 53:0 -8: 0:0 -9: 0:0 2:1 8:0 82:1 98:0 -10: 0:0 2:3 24:0 92:3 98:0 -11: 0:0 2:4 98:0 -12: 0:0 2:2 82:0 91:1 98:0 -13: 0:0 2:1 54:2 82:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 2:2 24:0 -21: 0:0 2:2 58:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 34:5 37:2 44:5 49:2 118:0 -41: 0:0 2:5 3:2 14:5 17:2 25:5 26:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_6.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_6.snap deleted file mode 100644 index fa9bac691b..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_6.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" " -" " -" " -" " -" " -" 11 " -" ▃▃▃▃▃▃▃▃▃▃ " -" 10 9 ██████████ " -" 8 ▄▄▄▄▄▄▄▄▄▄ 8 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ▄▄▄▄▄▄▄▄▄▄ 7 ██████████ " -" ██████████ 6 ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ " -" ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ 5 ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: White|Reset|Reset|BOLD -6: Green|Reset|Reset|NONE -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 79:3 96:2 107:0 -4: 0:0 -5: 0:0 2:3 15:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 9:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 108:5 110:0 -17: 0:0 -18: 0:0 3:2 5:0 45:4 46:0 -19: 0:0 13:4 14:0 61:4 62:0 105:6 115:0 -20: 0:0 41:6 51:0 77:4 78:0 105:6 115:0 -21: 0:0 9:6 19:0 29:4 30:0 41:6 51:0 57:6 67:0 105:7 115:0 -22: 0:0 9:6 19:0 41:6 51:0 57:6 67:0 73:6 83:0 93:4 94:0 105:7 115:0 -23: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -24: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:8 115:0 -25: 0:0 9:8 19:0 25:7 35:0 41:7 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:7 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 17:0 -34: 0:0 2:1 7:0 54:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 24:10 27:2 35:10 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_8.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_8.snap deleted file mode 100644 index 5cb858f651..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_business_8.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:3 15:2 107:0 -4: 0:0 -5: 0:0 2:3 11:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 118:0 -41: 0:0 2:5 3:2 11:5 12:2 23:5 26:2 34:5 35:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_1.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_1.snap deleted file mode 100644 index c712bee228..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_1.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By feature " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 100 " -" 100 91 ██████████ " -" ▃▃▃▃▃▃▃▃▃▃ ██████████ 86 " -" ██████████ 81 ██████████ ▃▃▃▃▃▃▃▃▃▃ " -" 73 ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ " -" ██████████ 64 ██████████ ██████████ ██████████ ██████████ " -" ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 50 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 86 usage units " -" Feature Share " -" ● Tasks 64.0% " -" ● Code review 14.0% " -" ● Images 11.6% " -" ● Other 10.5% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: White|Reset|Reset|BOLD -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 13:3 38:2 94:0 -4: 0:0 -5: 0:0 2:3 23:0 108:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 30:0 -8: 0:0 2:2 44:0 -9: 0:0 92:4 95:0 -10: 0:0 3:2 6:0 60:4 62:0 -11: 0:0 89:5 99:0 108:6 110:0 -12: 0:0 76:4 78:0 89:5 99:0 -13: 0:0 28:4 30:0 57:5 67:0 89:5 99:0 -14: 0:0 57:5 67:0 89:7 99:0 105:5 115:0 -15: 0:0 44:4 46:0 57:7 67:0 73:5 83:0 89:7 99:0 105:5 115:0 -16: 0:0 25:5 35:0 57:7 67:0 73:7 83:0 89:8 99:0 105:7 115:0 -17: 0:0 25:5 35:0 57:8 67:0 73:7 83:0 89:8 99:0 105:7 115:0 -18: 0:0 25:7 35:0 41:5 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -19: 0:0 4:2 6:0 25:7 35:0 41:7 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -20: 0:0 25:8 35:0 41:7 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -21: 0:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -22: 0:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -23: 0:0 13:4 15:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -24: 0:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -25: 0:0 9:7 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 5:2 6:0 7:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 11:2 17:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 24:0 -34: 0:0 2:1 9:0 53:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 22:10 23:2 34:10 37:2 45:10 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_2.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_2.snap deleted file mode 100644 index 38f4881a07..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_2.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 " -" 34 " -" ▁▁▁▁▁▁▁▁▁▁ " -" ██████████ " -" ██████████ 29 29 " -" ██████████ ▆▆▆▆▆▆▆▆▆▆ 26 ▆▆▆▆▆▆▆▆▆▆ " -" ██████████ ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ " -" ██████████ 23 ██████████ ██████████ 22 23 ██████████ " -" ██████████ ▇▇▇▇▇▇▇▇▇▇ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ▇▇▇▇▇▇▇▇▇▇ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: White|Reset|Reset|BOLD -6: Green|Reset|Reset|NONE -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 48:3 68:2 94:0 -4: 0:0 -5: 0:0 2:3 18:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 11:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 12:4 14:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 46:0 108:5 110:0 -14: 0:0 9:6 19:0 60:4 62:0 -15: 0:0 9:6 19:0 -16: 0:0 9:6 19:0 28:4 30:0 41:6 51:0 76:4 78:0 92:4 94:0 105:6 115:0 -17: 0:0 9:7 19:0 41:6 51:0 105:6 115:0 -18: 0:0 3:2 5:0 9:7 19:0 41:6 51:0 57:6 67:0 105:6 115:0 -19: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -20: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -21: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -22: 0:0 9:8 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -23: 0:0 9:8 19:0 25:7 35:0 41:8 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:8 115:0 -24: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -25: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 18:0 -34: 0:0 2:1 8:0 53:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 24:10 27:2 35:10 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_4.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_4.snap deleted file mode 100644 index a1cb1fa49c..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_4.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · s sort · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:2 81:3 94:0 -4: 0:0 -5: 0:0 2:3 13:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 29:5 30:2 43:5 46:2 53:5 58:2 118:0 -41: 0:0 2:5 3:2 14:5 17:2 25:5 26:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_5.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_5.snap deleted file mode 100644 index afffb965e7..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_5.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history [3 Messages] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Messages By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 574 reported messages " -" " -" 150 " -" " -" " -" " -" 107 103 " -" ▄▄▄▄▄▄▄▄▄▄ " -" ██████████ ██████████ " -" 83 ██████████ 85 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ 75 ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" 75 ██████████ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ " -" 62 ██████████ ██████████ ██████████ 59 ██████████ ██████████ " -" ▆▆▆▆▆▆▆▆▆▆ ██████████ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 103 messages " -" Model Messages " -" ● GPT-5.6-Sol 61 " -" ● GPT-5.6-Terra 25 " -" ● GPT-5.5 10 " -" ● Other 7 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: White|Reset|Reset|BOLD -6: Green|Reset|Reset|NONE -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 36:3 50:2 94:0 -4: 0:0 -5: 0:0 2:3 12:0 110:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 23:0 -8: 0:0 -9: 0:0 3:2 6:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 47:0 108:5 111:0 -14: 0:0 -15: 0:0 41:6 51:0 -16: 0:0 28:4 30:0 41:6 51:0 92:4 94:0 105:6 115:0 -17: 0:0 41:7 51:0 60:4 62:0 105:7 115:0 -18: 0:0 4:2 6:0 25:6 35:0 41:7 51:0 89:6 99:0 105:7 115:0 -19: 0:0 13:4 15:0 25:7 35:0 41:7 51:0 57:6 67:0 76:4 78:0 89:7 99:0 105:7 115:0 -20: 0:0 25:7 35:0 41:8 51:0 57:7 67:0 89:7 99:0 105:8 115:0 -21: 0:0 9:7 19:0 25:7 35:0 41:8 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:8 115:0 -22: 0:0 9:7 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -23: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -24: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -25: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 5:2 6:0 7:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 11:2 17:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 22:0 -34: 0:0 2:1 7:0 50:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 22:10 23:2 34:10 37:2 45:10 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_6.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_6.snap deleted file mode 100644 index 55c7516092..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_6.snap +++ /dev/null @@ -1,103 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" " -" " -" " -" " -" " -" 11 " -" ▃▃▃▃▃▃▃▃▃▃ " -" 10 9 ██████████ " -" 8 ▄▄▄▄▄▄▄▄▄▄ 8 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ▄▄▄▄▄▄▄▄▄▄ 7 ██████████ " -" ██████████ 6 ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ " -" ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ 5 ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: White|Reset|Reset|BOLD -6: Green|Reset|Reset|NONE -7: Magenta|Reset|Reset|NONE -8: Cyan|Reset|Reset|NONE -9: Rgb(99, 168, 248)|Reset|Reset|BOLD | UNDERLINED -10: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 66:3 83:2 94:0 -4: 0:0 -5: 0:0 2:3 15:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 9:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 108:5 110:0 -17: 0:0 -18: 0:0 3:2 5:0 45:4 46:0 -19: 0:0 13:4 14:0 61:4 62:0 105:6 115:0 -20: 0:0 41:6 51:0 77:4 78:0 105:6 115:0 -21: 0:0 9:6 19:0 29:4 30:0 41:6 51:0 57:6 67:0 105:7 115:0 -22: 0:0 9:6 19:0 41:6 51:0 57:6 67:0 73:6 83:0 93:4 94:0 105:7 115:0 -23: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -24: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:8 115:0 -25: 0:0 9:8 19:0 25:7 35:0 41:7 51:0 57:8 67:0 73:7 83:0 89:8 99:0 105:8 115:0 -26: 0:0 9:8 19:0 25:7 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -27: 0:0 9:8 19:0 25:8 35:0 41:8 51:0 57:8 67:0 73:8 83:0 89:8 99:0 105:8 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:9 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 17:0 -34: 0:0 2:1 7:0 54:1 58:0 -35: 0:0 2:8 4:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:10 9:2 20:10 21:2 34:10 37:2 44:10 49:2 118:0 -41: 0:0 2:10 3:2 12:10 13:2 24:10 27:2 35:10 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_8.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_8.snap deleted file mode 100644 index 122ec68267..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_dark_consumer_8.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Total usage history 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(165, 165, 165)|Reset|Reset|NONE -3: Rgb(99, 168, 248)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(230, 230, 230)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:3 15:2 94:0 -4: 0:0 -5: 0:0 2:3 11:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 118:0 -41: 0:0 2:5 3:2 11:5 12:2 23:5 26:2 34:5 35:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_1.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_1.snap deleted file mode 100644 index 9861d8e10a..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_1.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history [3 Token usage history] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Token usage history By token type " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" All models · m change model " -" 4.4M tokens " -" " -" 1M " -" 850K " -" ▁▁▁▁▁▁▁▁▁▁ " -" 773.5K ██████████ " -" ▅▅▅▅▅▅▅▅▅▅ 688.5K ██████████ 731K " -" ██████████ ██████████ ▇▇▇▇▇▇▇▇▇▇ " -" 620.5K ██████████ ██████████ ██████████ ██████████ " -" ▆▆▆▆▆▆▆▆▆▆ 544K ██████████ ██████████ ██████████ ██████████ " -" ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ ██████████ ██████████ ██████████ " -" 500K ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 170K ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 731,000 tokens " -" Token type Tokens " -" ● Cached input 602,000 " -" ● Uncached input 86,000 " -" ● Output 43,000 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close Updated Sep 2 16:00 UTC " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 38:3 63:2 107:0 -4: 0:0 -5: 0:0 2:3 23:0 105:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 29:0 -8: 0:0 2:3 13:0 -9: 0:0 -10: 0:0 5:2 7:0 -11: 0:0 91:4 95:0 -12: 0:0 89:5 99:0 -13: 0:0 59:4 65:0 89:5 99:0 -14: 0:0 57:5 67:0 74:4 80:0 89:6 99:0 107:1 111:0 -15: 0:0 57:6 67:0 89:6 99:0 105:5 115:0 -16: 0:0 27:4 33:0 57:6 67:0 73:5 83:0 89:7 99:0 105:6 115:0 -17: 0:0 26:5 36:0 44:4 48:0 57:7 67:0 73:6 83:0 89:7 99:0 105:6 115:0 -18: 0:0 26:6 36:0 42:5 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -19: 0:0 3:2 7:0 26:7 36:0 42:6 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -20: 0:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -21: 0:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -22: 0:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -23: 0:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -24: 0:0 13:4 17:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -25: 0:0 10:5 20:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 10:7 20:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 10:7 20:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 10:7 20:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -29: 0:0 6:2 7:0 8:4 118:0 -30: 0:0 109:3 110:0 -31: 0:0 12:2 18:0 27:2 33:0 43:2 49:0 59:2 65:0 74:2 80:0 91:2 96:0 107:8 112:0 -32: 0:0 -33: 0:0 2:4 58:0 -34: 0:0 2:1 7:3 24:0 -35: 0:0 2:1 12:0 52:1 58:0 -36: 0:0 2:7 4:0 -37: 0:0 2:6 4:0 -38: 0:0 2:5 4:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 22:9 23:2 34:9 37:2 45:9 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_2.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_2.snap deleted file mode 100644 index 7e6cd04148..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_2.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 " -" 34 " -" ▁▁▁▁▁▁▁▁▁▁ " -" ██████████ " -" ██████████ 29 29 " -" ██████████ ▆▆▆▆▆▆▆▆▆▆ 26 ▆▆▆▆▆▆▆▆▆▆ " -" ██████████ ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ " -" ██████████ 23 ██████████ ██████████ 22 23 ██████████ " -" ██████████ ▇▇▇▇▇▇▇▇▇▇ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ▇▇▇▇▇▇▇▇▇▇ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 61:3 81:2 107:0 -4: 0:0 -5: 0:0 2:3 18:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 11:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 12:4 14:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 46:0 108:1 110:0 -14: 0:0 9:5 19:0 60:4 62:0 -15: 0:0 9:5 19:0 -16: 0:0 9:5 19:0 28:4 30:0 41:5 51:0 76:4 78:0 92:4 94:0 105:5 115:0 -17: 0:0 9:6 19:0 41:5 51:0 105:5 115:0 -18: 0:0 3:2 5:0 9:6 19:0 41:5 51:0 57:5 67:0 105:5 115:0 -19: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:5 99:0 105:6 115:0 -20: 0:0 9:6 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:6 99:0 105:6 115:0 -21: 0:0 9:6 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -22: 0:0 9:7 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -23: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -24: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -25: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 18:0 -34: 0:0 2:1 8:0 53:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 24:9 27:2 35:9 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_3.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_3.snap deleted file mode 100644 index a28457a2cd..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_3.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Credits usage history By product " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 17.2K credits " -" " -" 5K " -" 4,360.00 " -" ▄▄▄▄▄▄▄▄▄▄ " -" ██████████ " -" ██████████ " -" 3,400.00 ██████████ " -" ▇▇▇▇▇▇▇▇▇▇ 3,000.00 ██████████ " -" ██████████ ▃▃▃▃▃▃▃▃▃▃ ██████████ " -" ██████████ ██████████ ██████████ 2,560.00 " -" 2.5K 2,280.00 ██████████ ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ " -" ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ ██████████ " -" 1,640.00 ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 2,560.00 credits " -" Product Credits " -" ● CLI 920.00 " -" ● Desktop app 880.00 " -" ● IDE extension 400.00 " -" ● Web 360.00 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 13:3 40:2 107:0 -4: 0:0 -5: 0:0 2:3 25:0 108:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 15:0 -8: 0:0 -9: 0:0 5:2 7:0 -10: 0:0 89:4 97:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 58:4 66:0 89:5 99:0 -15: 0:0 73:4 81:0 89:5 99:0 -16: 0:0 89:6 99:0 -17: 0:0 57:5 67:0 89:6 99:0 105:1 113:0 -18: 0:0 3:2 7:0 42:4 50:0 57:5 67:0 73:5 83:0 89:6 99:0 -19: 0:0 57:6 67:0 73:5 83:0 89:6 99:0 -20: 0:0 26:4 34:0 57:6 67:0 73:6 83:0 89:6 99:0 105:5 115:0 -21: 0:0 42:5 52:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -22: 0:0 42:6 52:0 57:6 67:0 73:6 83:0 89:7 99:0 105:6 115:0 -23: 0:0 26:5 36:0 42:6 52:0 57:7 67:0 73:6 83:0 89:7 99:0 105:6 115:0 -24: 0:0 26:6 36:0 42:6 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:6 115:0 -25: 0:0 26:6 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 15:4 16:0 26:7 36:0 42:7 52:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 6:2 7:0 8:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 12:2 18:0 27:2 33:0 43:2 49:0 59:2 65:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 26:0 -34: 0:0 2:1 9:0 51:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 24:9 27:2 35:9 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_4.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_4.snap deleted file mode 100644 index e8858d06c5..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_4.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" ────────────────────────────────────────────────────────────────────────────────────────────── " -" Model Effort Speed Credits " -" GPT-5.6-Sol high standard 120.00 " -" " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" Plan the week 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:2 94:3 107:0 -4: 0:0 -5: 0:0 2:3 13:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 53:0 -8: 0:0 -9: 0:0 2:1 8:0 82:1 98:0 -10: 0:0 2:3 24:0 92:3 98:0 -11: 0:0 2:4 98:0 -12: 0:0 2:2 82:0 91:1 98:0 -13: 0:0 2:1 54:2 82:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 2:2 24:0 -21: 0:0 2:2 58:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 34:5 37:2 44:5 49:2 118:0 -41: 0:0 2:5 3:2 14:5 17:2 25:5 26:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_6.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_6.snap deleted file mode 100644 index 9567ca60cb..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_6.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" " -" " -" " -" " -" " -" 11 " -" ▃▃▃▃▃▃▃▃▃▃ " -" 10 9 ██████████ " -" 8 ▄▄▄▄▄▄▄▄▄▄ 8 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ▄▄▄▄▄▄▄▄▄▄ 7 ██████████ " -" ██████████ 6 ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ " -" ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ 5 ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 79:3 96:2 107:0 -4: 0:0 -5: 0:0 2:3 15:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 9:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 108:1 110:0 -17: 0:0 -18: 0:0 3:2 5:0 45:4 46:0 -19: 0:0 13:4 14:0 61:4 62:0 105:5 115:0 -20: 0:0 41:5 51:0 77:4 78:0 105:5 115:0 -21: 0:0 9:5 19:0 29:4 30:0 41:5 51:0 57:5 67:0 105:6 115:0 -22: 0:0 9:5 19:0 41:5 51:0 57:5 67:0 73:5 83:0 93:4 94:0 105:6 115:0 -23: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:5 99:0 105:6 115:0 -24: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -25: 0:0 9:7 19:0 25:6 35:0 41:6 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 17:0 -34: 0:0 2:1 7:0 54:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 24:9 27:2 35:9 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_8.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_8.snap deleted file mode 100644 index fce5f75cf4..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_business_8.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:3 15:2 107:0 -4: 0:0 -5: 0:0 2:3 11:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 118:0 -41: 0:0 2:5 3:2 11:5 12:2 23:5 26:2 34:5 35:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_1.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_1.snap deleted file mode 100644 index c200c6da5d..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_1.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By feature " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 100 " -" 100 91 ██████████ " -" ▃▃▃▃▃▃▃▃▃▃ ██████████ 86 " -" ██████████ 81 ██████████ ▃▃▃▃▃▃▃▃▃▃ " -" 73 ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ " -" ▁▁▁▁▁▁▁▁▁▁ ██████████ ██████████ ██████████ ██████████ " -" ██████████ 64 ██████████ ██████████ ██████████ ██████████ " -" ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 50 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 86 usage units " -" Feature Share " -" ● Tasks 64.0% " -" ● Code review 14.0% " -" ● Images 11.6% " -" ● Other 10.5% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 13:3 38:2 94:0 -4: 0:0 -5: 0:0 2:3 23:0 108:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:2 30:0 -8: 0:0 2:2 44:0 -9: 0:0 92:4 95:0 -10: 0:0 3:2 6:0 60:4 62:0 -11: 0:0 89:5 99:0 108:1 110:0 -12: 0:0 76:4 78:0 89:5 99:0 -13: 0:0 28:4 30:0 57:5 67:0 89:5 99:0 -14: 0:0 57:5 67:0 89:6 99:0 105:5 115:0 -15: 0:0 44:4 46:0 57:6 67:0 73:5 83:0 89:6 99:0 105:5 115:0 -16: 0:0 25:5 35:0 57:6 67:0 73:6 83:0 89:7 99:0 105:6 115:0 -17: 0:0 25:5 35:0 57:7 67:0 73:6 83:0 89:7 99:0 105:6 115:0 -18: 0:0 25:6 35:0 41:5 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -19: 0:0 4:2 6:0 25:6 35:0 41:6 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -20: 0:0 25:7 35:0 41:6 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -21: 0:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -22: 0:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -23: 0:0 13:4 15:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -24: 0:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -25: 0:0 9:6 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 5:2 6:0 7:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 11:2 17:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 24:0 -34: 0:0 2:1 9:0 53:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 22:9 23:2 34:9 37:2 45:9 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_2.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_2.snap deleted file mode 100644 index 4503d2ceb0..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_2.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 " -" 34 " -" ▁▁▁▁▁▁▁▁▁▁ " -" ██████████ " -" ██████████ 29 29 " -" ██████████ ▆▆▆▆▆▆▆▆▆▆ 26 ▆▆▆▆▆▆▆▆▆▆ " -" ██████████ ██████████ ▂▂▂▂▂▂▂▂▂▂ ██████████ " -" ██████████ 23 ██████████ ██████████ 22 23 ██████████ " -" ██████████ ▇▇▇▇▇▇▇▇▇▇ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ▇▇▇▇▇▇▇▇▇▇ ██████████ " -" 20 ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 48:3 68:2 94:0 -4: 0:0 -5: 0:0 2:3 18:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 11:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 12:4 14:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 46:0 108:1 110:0 -14: 0:0 9:5 19:0 60:4 62:0 -15: 0:0 9:5 19:0 -16: 0:0 9:5 19:0 28:4 30:0 41:5 51:0 76:4 78:0 92:4 94:0 105:5 115:0 -17: 0:0 9:6 19:0 41:5 51:0 105:5 115:0 -18: 0:0 3:2 5:0 9:6 19:0 41:5 51:0 57:5 67:0 105:5 115:0 -19: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:5 99:0 105:6 115:0 -20: 0:0 9:6 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:6 99:0 105:6 115:0 -21: 0:0 9:6 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -22: 0:0 9:7 19:0 25:6 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:6 115:0 -23: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -24: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -25: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 18:0 -34: 0:0 2:1 8:0 53:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 24:9 27:2 35:9 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_4.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_4.snap deleted file mode 100644 index fadeb43c44..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_4.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · s sort · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:2 81:3 94:0 -4: 0:0 -5: 0:0 2:3 13:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 29:5 30:2 43:5 46:2 53:5 58:2 118:0 -41: 0:0 2:5 3:2 14:5 17:2 25:5 26:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_5.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_5.snap deleted file mode 100644 index 12f5d44320..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_5.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history [3 Messages] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Messages By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 574 reported messages " -" " -" 150 " -" " -" " -" " -" 107 103 " -" ▄▄▄▄▄▄▄▄▄▄ " -" ██████████ ██████████ " -" 83 ██████████ 85 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ 75 ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" 75 ██████████ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██████████ " -" 62 ██████████ ██████████ ██████████ 59 ██████████ ██████████ " -" ▆▆▆▆▆▆▆▆▆▆ ██████████ ██████████ ██████████ ▃▃▃▃▃▃▃▃▃▃ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 103 messages " -" Model Messages " -" ● GPT-5.6-Sol 61 " -" ● GPT-5.6-Terra 25 " -" ● GPT-5.5 10 " -" ● Other 7 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 36:3 50:2 94:0 -4: 0:0 -5: 0:0 2:3 12:0 110:2 118:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 23:0 -8: 0:0 -9: 0:0 3:2 6:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 44:4 47:0 108:1 111:0 -14: 0:0 -15: 0:0 41:5 51:0 -16: 0:0 28:4 30:0 41:5 51:0 92:4 94:0 105:5 115:0 -17: 0:0 41:6 51:0 60:4 62:0 105:6 115:0 -18: 0:0 4:2 6:0 25:5 35:0 41:6 51:0 89:5 99:0 105:6 115:0 -19: 0:0 13:4 15:0 25:6 35:0 41:6 51:0 57:5 67:0 76:4 78:0 89:6 99:0 105:6 115:0 -20: 0:0 25:6 35:0 41:7 51:0 57:6 67:0 89:6 99:0 105:7 115:0 -21: 0:0 9:6 19:0 25:6 35:0 41:7 51:0 57:6 67:0 73:5 83:0 89:6 99:0 105:7 115:0 -22: 0:0 9:6 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -23: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -24: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -25: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 5:2 6:0 7:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 11:2 17:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 22:0 -34: 0:0 2:1 7:0 50:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 22:9 23:2 34:9 37:2 45:9 46:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_6.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_6.snap deleted file mode 100644 index 71f2b5f8eb..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_6.snap +++ /dev/null @@ -1,102 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" " -" " -" " -" " -" " -" 11 " -" ▃▃▃▃▃▃▃▃▃▃ " -" 10 9 ██████████ " -" 8 ▄▄▄▄▄▄▄▄▄▄ 8 ██████████ " -" ▄▄▄▄▄▄▄▄▄▄ ██████████ ▄▄▄▄▄▄▄▄▄▄ 7 ██████████ " -" ██████████ 6 ██████████ ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ " -" ██████████ ▅▅▅▅▅▅▅▅▅▅ ██████████ ██████████ ██████████ 5 ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ▆▆▆▆▆▆▆▆▆▆ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Planning 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Green|Reset|Reset|NONE -6: Magenta|Reset|Reset|NONE -7: Cyan|Reset|Reset|NONE -8: Rgb(28, 100, 200)|Reset|Reset|BOLD | UNDERLINED -9: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 2:3 6:0 11:2 34:0 -2: 0:0 -3: 0:0 2:2 66:3 83:2 94:0 -4: 0:0 -5: 0:0 2:3 15:0 -6: 0:0 2:4 118:0 -7: 0:0 2:3 9:0 -8: 0:0 -9: 0:0 3:2 5:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 108:1 110:0 -17: 0:0 -18: 0:0 3:2 5:0 45:4 46:0 -19: 0:0 13:4 14:0 61:4 62:0 105:5 115:0 -20: 0:0 41:5 51:0 77:4 78:0 105:5 115:0 -21: 0:0 9:5 19:0 29:4 30:0 41:5 51:0 57:5 67:0 105:6 115:0 -22: 0:0 9:5 19:0 41:5 51:0 57:5 67:0 73:5 83:0 93:4 94:0 105:6 115:0 -23: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:5 83:0 89:5 99:0 105:6 115:0 -24: 0:0 9:6 19:0 25:5 35:0 41:6 51:0 57:6 67:0 73:6 83:0 89:6 99:0 105:7 115:0 -25: 0:0 9:7 19:0 25:6 35:0 41:6 51:0 57:7 67:0 73:6 83:0 89:7 99:0 105:7 115:0 -26: 0:0 9:7 19:0 25:6 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -27: 0:0 9:7 19:0 25:7 35:0 41:7 51:0 57:7 67:0 73:7 83:0 89:7 99:0 105:7 115:0 -28: 0:0 4:2 5:0 6:4 118:0 -29: 0:0 109:3 110:0 -30: 0:0 10:2 16:0 26:2 32:0 42:2 48:0 58:2 64:0 74:2 80:0 91:2 96:0 107:8 112:0 -31: 0:0 -32: 0:0 2:4 58:0 -33: 0:0 2:1 7:3 17:0 -34: 0:0 2:1 7:0 54:1 58:0 -35: 0:0 2:7 4:0 -36: 0:0 2:6 4:0 -37: 0:0 2:5 4:0 -38: 0:0 -39: 0:0 -40: 0:0 2:9 9:2 20:9 21:2 34:9 37:2 44:9 49:2 118:0 -41: 0:0 2:9 3:2 12:9 13:2 24:9 27:2 35:9 36:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_8.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_8.snap deleted file mode 100644 index ef848bd058..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__terminal_styles__analytics_light_consumer_8.snap +++ /dev/null @@ -1,98 +0,0 @@ ---- -source: tui/src/analytics/styles_tests.rs -expression: snapshot ---- -120x42 -Text: -" Analytics · Live account " -" " -" " -" [1 Summary] 2 Total usage history 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Summary " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" No history has been reported. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard " -" g view · R refresh · esc back · q close " -Palette (foreground|background|underline|modifiers): -0: Reset|Reset|Reset|NONE -1: Reset|Reset|Reset|BOLD -2: Rgb(76, 76, 76)|Reset|Reset|NONE -3: Rgb(28, 100, 200)|Reset|Reset|BOLD -4: Reset|Reset|Reset|DIM -5: Rgb(38, 38, 38)|Reset|Reset|BOLD -Rows (column:palette): -0: 0:0 2:1 11:2 28:0 -1: 0:0 -2: 0:0 -3: 0:0 2:3 15:2 94:0 -4: 0:0 -5: 0:0 2:3 11:0 -6: 0:0 2:4 118:0 -7: 0:0 -8: 0:0 -9: 0:0 -10: 0:0 -11: 0:0 -12: 0:0 -13: 0:0 -14: 0:0 -15: 0:0 -16: 0:0 -17: 0:0 -18: 0:0 -19: 0:0 -20: 0:0 -21: 0:0 -22: 0:0 -23: 0:0 -24: 0:0 -25: 0:0 -26: 0:0 -27: 0:0 -28: 0:0 -29: 0:0 -30: 0:0 -31: 0:0 -32: 0:0 -33: 0:0 -34: 0:0 -35: 0:0 -36: 0:0 -37: 0:0 -38: 0:0 -39: 0:0 -40: 0:0 2:5 9:2 20:5 21:2 118:0 -41: 0:0 2:5 3:2 11:5 12:2 23:5 26:2 34:5 35:2 118:0 diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_handle_empty_days_and_independent_failures.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_handle_empty_days_and_independent_failures.snap deleted file mode 100644 index d1fce9fa86..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_handle_empty_days_and_independent_failures.snap +++ /dev/null @@ -1,138 +0,0 @@ ---- -source: tui/src/analytics/tool_panel_tests.rs -expression: "format!(\"{empty}\\n{missing}\\n{partial}\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 38 uses " -" " -" 10 " -" 9 " -" ▇▇▇▇▇▇▇▇▇▇▇▇ " -" 8 ████████████ 8 " -" ▆▆▆▆▆▆▆▆▆▆▆▆ ████████████ ▆▆▆▆▆▆▆▆▆▆▆▆ " -" ████████████ ████████████ ████████████ 7 " -" ████████████ ████████████ ████████████ ▅▅▅▅▅▅▅▅▅▅▅▅ " -" ████████████ 6 ████████████ ████████████ ████████████ " -" ████████████ ▄▄▄▄▄▄▄▄▄▄▄▄ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" 5 ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ — 0 " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" No uses reported for Sep 2. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 38 uses " -" " -" 10 " -" 9 " -" ▇▇▇▇▇▇▇▇▇▇▇▇ " -" 8 ████████████ 8 " -" ▆▆▆▆▆▆▆▆▆▆▆▆ ████████████ ▆▆▆▆▆▆▆▆▆▆▆▆ " -" ████████████ ████████████ ████████████ 7 " -" ████████████ ████████████ ████████████ ▅▅▅▅▅▅▅▅▅▅▅▅ " -" ████████████ 6 ████████████ ████████████ ████████████ " -" ████████████ ▄▄▄▄▄▄▄▄▄▄▄▄ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" 5 ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ — 0 " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Data not reported for Sep 1. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Skills could not be loaded. Press R to retry. " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_reflow_and_keep_independent_days.snap b/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_reflow_and_keep_independent_days.snap deleted file mode 100644 index 484164656c..0000000000 --- a/codex-rs/tui/src/analytics/snapshots/codex_tui__analytics__tests__tools_panel__analytics_tools_reflow_and_keep_independent_days.snap +++ /dev/null @@ -1,85 +0,0 @@ ---- -source: tui/src/analytics/tool_panel_tests.rs -expression: "format!(\"{wide}\\n{narrow}\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills used 6 Top chats " -" " -" ▎ Plugins called " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 186 calls " -" " -" 40 " -" " -" 34 " -" ▂▂▂▂▂▂▂▂▂▂▂▂ " -" ████████████ " -" ████████████ 29 29 " -" ████████████ ▁▁▁▁▁▁▁▁▁▁▁▁ ▁▁▁▁▁▁▁▁▁▁▁▁ " -" ████████████ ████████████ 26 ████████████ " -" ████████████ ████████████ ▂▂▂▂▂▂▂▂▂▂▂▂ ████████████ " -" ████████████ 23 ████████████ ████████████ 23 ████████████ " -" ████████████ ▃▃▃▃▃▃▃▃▃▃▃▃ ████████████ ████████████ 22 ▃▃▃▃▃▃▃▃▃▃▃▃ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ▆▆▆▆▆▆▆▆▆▆▆▆ ████████████ ████████████ " -" 20 ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ ████████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 29 calls " -" Plugin Calls " -" ● Slack 10 " -" ● Figma 10 " -" ● GitHub 5 " -" ● Notion 4 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" Summary Total usage history Messages Plugins called " -" [Skills used] Top chats " -" " -" ▎ Skills used " -" ────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" 11 " -" 8 9 8 7 ▂▂▂▂▂ " -" 10 ▃▃▃▃ 6 ▅▅▅▅ ▃▃▃▃ 5 █████ " -" ████ ▆▆▆▆ ████ ████ ████ ▄▄▄▄ █████ " -" ████ ████ ████ ████ ████ ████ █████ " -" 0 ────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ────────────────────────────────────────────────────── " -" Sep 1 · 5 uses " -" Skill Uses " -" ● Testing 3 " -" ● Code review 1 " -" ● Planning 1 " -" ● Debugging 0 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter " -" details " -" r 7/30d · R refresh · esc back · q close " -" " diff --git a/codex-rs/tui/src/analytics/styles_tests.rs b/codex-rs/tui/src/analytics/styles_tests.rs index 25f7e3a62e..b26795e7f1 100644 --- a/codex-rs/tui/src/analytics/styles_tests.rs +++ b/codex-rs/tui/src/analytics/styles_tests.rs @@ -42,22 +42,12 @@ fn analytics_sections_adapt_to_terminal_colors() { ), ] { with_test_default_colors(colors, || { - for business in [false, true] { - let mut view = fixture::view(models::AccountKind::Consumer); - if business { - view = fixture::view(models::AccountKind::Enterprise); - } + for kind in [ + models::AccountKind::Consumer, + models::AccountKind::Enterprise, + ] { + let mut view = fixture::view(kind); view.sections[Section::Chats].detail = Some(0); - // Exercise the reported credit range and preserve exact amounts below the plot. - let mut credits = - fixture::history(/*report*/ 1, /*range*/ 0, /*group*/ 0); - for day in &mut credits.data { - day.total *= 40.0; - for value in &mut day.values { - value.value *= 40.0; - } - } - view.sections[Section::Credits].history = Load::Ready(credits); for section in view.visible_sections() { let section = *section; view.section = section; @@ -101,59 +91,6 @@ fn analytics_sections_adapt_to_terminal_colors() { ); } } - // Preserve every symbol and style while sharing repeated styles in a palette. - let mut palette = Vec::new(); - let mut text = Vec::new(); - let mut runs = Vec::new(); - for (y, row) in buffer.content.chunks(usize::from(area.width)).enumerate() { - text.push(format!( - "{:?}", - row.iter() - .map(ratatui::buffer::Cell::symbol) - .collect::() - )); - let mut previous = None; - let mut changes = Vec::new(); - for (x, cell) in row.iter().enumerate() { - let style = format!( - "{:?}|{:?}|{:?}|{:?}", - cell.fg, cell.bg, cell.underline_color, cell.modifier - ); - let index = palette - .iter() - .position(|candidate| *candidate == style) - .unwrap_or_else(|| { - palette.push(style); - palette.len() - 1 - }); - if previous != Some(index) { - changes.push(format!("{x}:{index}")); - previous = Some(index); - } - } - runs.push(format!("{y}: {}", changes.join(" "))); - } - let palette = palette - .iter() - .enumerate() - .map(|(index, style)| format!("{index}: {style}")) - .collect::>() - .join("\n"); - let snapshot = format!( - "{}x{}\nText:\n{}\nPalette (foreground|background|underline|modifiers):\n{palette}\nRows (column:palette):\n{}", - area.width, - area.height, - text.join("\n"), - runs.join("\n") - ); - insta::assert_snapshot!( - format!( - "analytics_{theme}_{}_{}", - if business { "business" } else { "consumer" }, - section as usize + 1 - ), - snapshot - ); } } }); diff --git a/codex-rs/tui/src/analytics/summary_tests.rs b/codex-rs/tui/src/analytics/summary_tests.rs index faf84d765b..363f2a7212 100644 --- a/codex-rs/tui/src/analytics/summary_tests.rs +++ b/codex-rs/tui/src/analytics/summary_tests.rs @@ -29,10 +29,6 @@ fn summary_modes_reflow_and_keep_selection_across_tabs() { press(&mut view, KeyCode::Char('g')); assert_eq!(view.sections[Section::Summary].group, 1); assert!(view.profile.ready().is_some()); - insta::assert_snapshot!( - "summary_weekly", - screen(&mut view, /*width*/ 110, /*height*/ 44) - ); press(&mut view, KeyCode::Tab); press(&mut view, KeyCode::BackTab); assert_eq!(view.sections[Section::Summary].group, 1); @@ -47,16 +43,11 @@ fn summary_modes_reflow_and_keep_selection_across_tabs() { } screen(&mut view, /*width*/ 64, /*height*/ 18); press(&mut view, KeyCode::End); - insta::assert_snapshot!( - "summary_scrolled", - screen(&mut view, /*width*/ 64, /*height*/ 18) - ); + screen(&mut view, /*width*/ 64, /*height*/ 18); + assert!(view.scroll_offset > 0); press(&mut view, KeyCode::Home); + assert_eq!(view.scroll_offset, 0); press(&mut view, KeyCode::Char('z')); - insta::assert_snapshot!( - "summary_overview", - screen(&mut view, /*width*/ 144, /*height*/ 64) - ); press(&mut view, KeyCode::Esc); assert!(view.is_done); } diff --git a/codex-rs/tui/src/analytics/tool_panel_tests.rs b/codex-rs/tui/src/analytics/tool_panel_tests.rs index 87a5f0cc7c..7a32b8718a 100644 --- a/codex-rs/tui/src/analytics/tool_panel_tests.rs +++ b/codex-rs/tui/src/analytics/tool_panel_tests.rs @@ -43,7 +43,6 @@ fn analytics_tools_reflow_and_keep_independent_days() { ), (6, 5, Some(5)) ); - insta::assert_snapshot!(format!("{wide}\n{narrow}")); } #[test] @@ -75,7 +74,6 @@ fn analytics_tools_handle_empty_days_and_independent_failures() { assert!(partial.contains("Skills could not be loaded")); press(&mut view, KeyCode::Char('4')); assert!(screen(&mut view, /*width*/ 140, /*height*/ 44).contains("186 calls")); - insta::assert_snapshot!(format!("{empty}\n{missing}\n{partial}")); } #[test] diff --git a/codex-rs/tui/src/analytics_tests.rs b/codex-rs/tui/src/analytics_tests.rs index 042b460a85..86b45095ff 100644 --- a/codex-rs/tui/src/analytics_tests.rs +++ b/codex-rs/tui/src/analytics_tests.rs @@ -57,19 +57,6 @@ fn analytics_exact_fit_content_has_no_scroll_hint() { let exact = screen(&mut view, /*width*/ 120, exact_height); assert!(!exact.contains("scroll")); assert_eq!(view.viewport_height, content_height); - - insta::assert_snapshot!(exact); -} - -#[test] -fn analytics_overview() { - let mut view = fixture::view(models::AccountKind::Consumer); - press(&mut view, KeyCode::Char('z')); - let wide = screen(&mut view, /*width*/ 120, /*height*/ 60); - for section in view.visible_sections() { - assert!(wide.contains(view.section_title(*section))); - } - insta::assert_snapshot!(wide); } #[test] @@ -95,9 +82,6 @@ fn analytics_narrow_charts_and_small_terminals_keep_valid_cursors() { } let empty = ratatui::layout::Rect::default(); view.render(empty, &mut ratatui::buffer::Buffer::empty(empty)); - press(&mut view, KeyCode::Char('5')); - let tools = screen(&mut view, /*width*/ 58, /*height*/ 20); - insta::assert_snapshot!(tools); } #[tokio::test] @@ -137,9 +121,6 @@ async fn analytics_credits_grouping_preserves_selected_day_and_total() { before ); } - view.end_date = fixture::END_DATE; - fixture::seed_reports(&mut view); - insta::assert_snapshot!(screen(&mut view, /*width*/ 85, /*height*/ 40)); } #[tokio::test] @@ -359,7 +340,6 @@ fn analytics_model_labels_and_tool_remainders_are_unambiguous() { press(&mut view, KeyCode::Enter); let skills = screen(&mut view, /*width*/ 100, /*height*/ 32); assert!(skills.contains("Other")); - insta::assert_snapshot!(format!("{overview}\n{skills}")); } #[test] @@ -393,7 +373,6 @@ fn analytics_day_navigation_keeps_geometry_and_legend() { history.data.remove(/*index*/ 2); view.sections[Section::Credits].history = Load::Ready(history); press(&mut view, KeyCode::Char('2')); - let mut snapshots = Vec::new(); for width in [58, 160] { let mut terminal = Terminal::new(TestBackend::new(width, /*height*/ 38)).unwrap(); for expanded in [false, true] { @@ -428,9 +407,6 @@ fn analytics_day_navigation_keeps_geometry_and_legend() { } previous = Some(geometry); assert!(output.contains("● CLI") && output.contains("● Desktop app")); - if view.sections[Section::Credits].cursor == 2 && !expanded { - snapshots.push(output); - } press(&mut view, KeyCode::Right); } if expanded { @@ -438,7 +414,6 @@ fn analytics_day_navigation_keeps_geometry_and_legend() { } } } - insta::assert_snapshot!(snapshots.join("\n")); } #[test] @@ -552,7 +527,7 @@ fn analytics_usage_ranks_its_own_models_after_turns_load() { value.value = amount; } view.sections[Section::Usage].history = Load::Ready(history); - let selected_day = screen(&mut view, /*width*/ 100, /*height*/ 38); + for _ in 0..7 { screen(&mut view, /*width*/ 100, /*height*/ 38); let expected = if view.sections[Section::Usage].cursor == 6 { @@ -582,7 +557,6 @@ fn analytics_usage_ranks_its_own_models_after_turns_load() { assert_eq!(legend, expected); press(&mut view, KeyCode::Left); } - insta::assert_snapshot!(selected_day); } #[test] @@ -596,7 +570,6 @@ fn analytics_empty_turns_keep_geometry_and_disable_details() { history.data.remove(/*index*/ 6); view.sections[Section::Activity].history = Load::Ready(history); press(&mut view, KeyCode::Char('3')); - let mut snapshots = Vec::new(); for width in [58, 100] { view.sections[Section::Activity].cursor = 4; let populated = screen(&mut view, width, /*height*/ 38); @@ -619,7 +592,6 @@ fn analytics_empty_turns_keep_geometry_and_disable_details() { ); press(&mut view, KeyCode::Enter); assert_eq!(view.sections[Section::Activity].detail, None); - snapshots.push(empty); } view.sections[Section::Activity].cursor = 4; press(&mut view, KeyCode::Enter); @@ -637,7 +609,6 @@ fn analytics_empty_turns_keep_geometry_and_disable_details() { assert_eq!(view.sections[Section::Activity].detail, details); view.sections[Section::Activity].detail = None; } - insta::assert_snapshot!(snapshots.join("\n")); } #[path = "analytics/chat_panel_tests.rs"] @@ -652,11 +623,10 @@ fn analytics_details_reflow_and_keep_focus() { press(&mut view, KeyCode::Enter); assert!(view.zoomed); press(&mut view, KeyCode::Enter); - let wide = screen(&mut view, /*width*/ 120, /*height*/ 42); + screen(&mut view, /*width*/ 120, /*height*/ 42); view.follow_selection = true; let narrow = screen(&mut view, /*width*/ 58, /*height*/ 20); assert!(narrow.contains("Q3 planning analysis") && narrow.contains("GPT-5.6-Sol")); - insta::assert_snapshot!(format!("{wide}\n{narrow}")); let before = ( view.section, view.sections.0.each_ref().map(|state| state.cursor), diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__transcript_composer__analytics_menu_reopen_preserves_navigation_and_explicit_view_selects_summary.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__transcript_composer__analytics_menu_reopen_preserves_navigation_and_explicit_view_selects_summary.snap deleted file mode 100644 index 3980dcd75b..0000000000 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__transcript_composer__analytics_menu_reopen_preserves_navigation_and_explicit_view_selects_summary.snap +++ /dev/null @@ -1,78 +0,0 @@ ---- -source: tui/src/app/tests/transcript_composer.rs -expression: snapshot ---- - Analytics · Live account - [7d] 30d · [date range] - - 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills - used 6 Top chats - - ▎ Plugins called - ──────────────────────────────────────────────────────────────────────────── - No data reported for this range. - - - - - - - - - - - - - - tab/1–6 section · z dashboard · ←/→ day - r 7/30d · R refresh · esc back · q close - - Analytics · Live account - [7d] 30d · [date range] - - 1 Summary 2 Total usage history 3 Messages [4 Plugins called] 5 Skills - used 6 Top chats - - ▎ Plugins called - ──────────────────────────────────────────────────────────────────────────── - No data reported for this range. - - - - - - - - - - - - - - tab/1–6 section · z dashboard · ←/→ day - r 7/30d · R refresh · esc back · q close - - Analytics · Live account - - - [1 Summary] 2 Total usage history 3 Messages 4 Plugins called 5 Skills - used 6 Top chats - - ▎ Summary - ──────────────────────────────────────────────────────────────────────────── - Plus - - 12.3K — — - Lifetime tokens Peak tokens Longest chat - - — — - Current streak Longest streak - - Token activity Weekly - Last 12 months - - Token activity history unavailable - - Activity insights Most used plugins and skills - tab/1–6 section · z dashboard · ↑/↓ scroll - g view · R refresh · pgup/pgdn scroll · esc back · q close diff --git a/codex-rs/tui/src/app/tests/transcript_composer.rs b/codex-rs/tui/src/app/tests/transcript_composer.rs index f4aac4d92e..38f100f44f 100644 --- a/codex-rs/tui/src/app/tests/transcript_composer.rs +++ b/codex-rs/tui/src/app/tests/transcript_composer.rs @@ -164,19 +164,6 @@ async fn analytics_menu_reopen_preserves_navigation_and_explicit_view_selects_su assert!(screens[1].contains("[4 Plugins called]")); assert!(screens[2].contains("[1 Summary]")); assert!(screens[2].contains("Weekly")); - let snapshot = screens.join("\n\n"); - let snapshot = snapshot - .lines() - .map(|line| { - if line.starts_with(" [7d] 30d · ") { - " [7d] 30d · [date range]" - } else { - line - } - }) - .collect::>() - .join("\n"); - insta::assert_snapshot!(snapshot); Ok(()) } diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_credits_grouping_preserves_selected_day_and_total.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_credits_grouping_preserves_selected_day_and_total.snap deleted file mode 100644 index 47a9ac2585..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_credits_grouping_preserves_selected_day_and_total.snap +++ /dev/null @@ -1,44 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: "screen(&mut view, 85, 40)" ---- -" Analytics · Live account · analytics@example.test " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 " -" Skills used 6 Top chats " -" " -" ▎ Credits usage history By product " -" ───────────────────────────────────────────────────────────────────────────────── " -" 431.00 credits " -" " -" 150 " -" " -" " -" 109.00 " -" ▅▅▅▅▅▅▅ " -" 85.00 ███████ " -" ███████ " -" ███████ 75.00 ███████ " -" 75 57.00 ███████ ███████ ███████ 64.00 " -" ███████ ███████ ███████ ▆▆▆▆▆▆▆ " -" 41.00 ███████ ███████ ███████ ███████ ███████ " -" ▂▂▂▂▂▂▂ ███████ ███████ ███████ ███████ ███████ " -" ███████ ███████ ███████ ███████ ███████ ███████ " -" ███████ ███████ ███████ ███████ ███████ ███████ " -" ███████ ███████ ███████ ███████ ███████ ███████ " -" 0 ███████ ███████ ███████ ███████ ███████ ███████ " -" 0 ──────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 1 · 109.00 credits " -" Product Credits " -" ● CLI 39.00 " -" ● Desktop app 38.00 " -" ● IDE extension 18.00 " -" ● Web 14.00 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_day_navigation_keeps_geometry_and_legend.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_day_navigation_keeps_geometry_and_legend.snap deleted file mode 100644 index a30174ec2c..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_day_navigation_keeps_geometry_and_legend.snap +++ /dev/null @@ -1,81 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: "snapshots.join(\"\\n\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" Summary [Credits usage history] Token usage history " -" Plugins called Skills used Top chats " -" " -" ▎ Credits usage history By product " -" ────────────────────────────────────────────────────── " -" 347.00 credits " -" " -" 150 " -" " -" 109.00 " -" ▅▅▅▅ " -" 85.00 ████ " -" ▆▆▆▆ 75.00 ████ 64.00 " -" 75 ████ ████ ████ " -" ████ ████ ████ ████ " -" ████ ████ ████ ████ " -" 14.00 ████ ████ ████ ████ " -" ████ ████ ████ ████ " -" 0 ████ — ████ ████ ████ ████ " -" 0 ───────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ────────────────────────────────────────────────────── " -" Aug 29 · Not reported " -" Product Credits " -" ● Desktop app — " -" ● CLI — " -" ● IDE extension — " -" ● Web — " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter " -" details " -" r 7/30d · R refresh · esc back · q close " -" " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Credits usage history] 3 Token usage history 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Credits usage history By product " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" 347.00 credits " -" " -" 150 " -" " -" " -" 109.00 " -" ▇▇▇▇▇▇▇▇▇▇▇▇ " -" 85.00 ████████████ " -" ▄▄▄▄▄▄▄▄▄▄▄▄ 75.00 ████████████ " -" 75 ████████████ ▄▄▄▄▄▄▄▄▄▄▄▄ ████████████ 64.00 " -" ████████████ ████████████ ████████████ ▃▃▃▃▃▃▃▃▃▃▃▃ " -" ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ " -" ████████████ ████████████ ████████████ ████████████ " -" 14.00 ████████████ ████████████ ████████████ ████████████ " -" ▃▃▃▃▃▃▃▃▃▃▃▃ ████████████ ████████████ ████████████ ████████████ " -" 0 ████████████ — ████████████ ████████████ ████████████ ████████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Aug 29 · Not reported " -" Product Credits " -" ● Desktop app — " -" ● CLI — " -" ● IDE extension — " -" ● Web — " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_details_reflow_and_keep_focus.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_details_reflow_and_keep_focus.snap deleted file mode 100644 index e6f8747544..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_details_reflow_and_keep_focus.snap +++ /dev/null @@ -1,67 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: "format!(\"{wide}\\n{narrow}\")" ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" ────────────────────────────────────────────────────────────────────────────────────────────── " -" Model Effort Speed Credits " -" GPT-5.6-Sol high standard 120.00 " -" " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" Plan the week 0.00 " -" " -" Showing 1–5 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " - -" Analytics · Live account " -" " -" " -" Summary Credits usage history Token usage history " -" Plugins called Skills used [Top chats] " -" " -" ▎ Top chats " -" ────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" ──────────────────────────────────────────────────── " -" Model / effort / speed Credits " -" GPT-5.6-Sol 120.00 " -" high · standard " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter " -" details " -" R refresh · pgup/pgdn scroll · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_empty_turns_keep_geometry_and_disable_details.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_empty_turns_keep_geometry_and_disable_details.snap deleted file mode 100644 index 8b7a48d2f0..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_empty_turns_keep_geometry_and_disable_details.snap +++ /dev/null @@ -1,159 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: "snapshots.join(\"\\n\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" Summary Total usage history [Messages] Plugins " -" called Skills used Top chats " -" " -" ▎ Messages By model " -" ────────────────────────────────────────────────────── " -" 386 reported messages " -" " -" 150 " -" " -" 107 " -" ▄▄▄▄ " -" 83 ████ " -" ▅▅▅▅ ████ 75 " -" 75 62 ████ ████ ████ 59 " -" ▇▇▇▇ ████ ████ ████ ▅▅▅▅ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ 0 — " -" 0 ───────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ────────────────────────────────────────────────────── " -" No messages reported for Sep 1. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · g group · R refresh · esc back · q close " -" " -" " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" Summary Total usage history [Messages] Plugins " -" called Skills used Top chats " -" " -" ▎ Messages By model " -" ────────────────────────────────────────────────────── " -" 386 reported messages " -" " -" 150 " -" " -" 107 " -" ▄▄▄▄ " -" 83 ████ " -" ▅▅▅▅ ████ 75 " -" 75 62 ████ ████ ████ 59 " -" ▇▇▇▇ ████ ████ ████ ▅▅▅▅ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ " -" ████ ████ ████ ████ ████ 0 — " -" 0 ───────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ────────────────────────────────────────────────────── " -" Data not reported for Sep 2. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · g group · R refresh · esc back · q close " -" " -" " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history [3 Messages] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Messages By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 386 reported messages " -" " -" 150 " -" " -" " -" 107 " -" ▅▅▅▅▅▅▅▅ " -" 83 ████████ " -" ▂▂▂▂▂▂▂▂ ████████ 75 " -" 75 62 ████████ ████████ ▄▄▄▄▄▄▄▄ " -" ▁▁▁▁▁▁▁▁ ████████ ████████ ████████ 59 " -" ████████ ████████ ████████ ████████ ▇▇▇▇▇▇▇▇ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ 0 — " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" No messages reported for Sep 1. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · g group · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history [3 Messages] 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Messages By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 386 reported messages " -" " -" 150 " -" " -" " -" 107 " -" ▅▅▅▅▅▅▅▅ " -" 83 ████████ " -" ▂▂▂▂▂▂▂▂ ████████ 75 " -" 75 62 ████████ ████████ ▄▄▄▄▄▄▄▄ " -" ▁▁▁▁▁▁▁▁ ████████ ████████ ████████ 59 " -" ████████ ████████ ████████ ████████ ▇▇▇▇▇▇▇▇ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ 0 — " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Data not reported for Sep 2. " -" " -" " -" " -" " -" " -" " -" tab/1–6 section · z dashboard · ←/→ day " -" r 7/30d · g group · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_exact_fit_content_has_no_scroll_hint.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_exact_fit_content_has_no_scroll_hint.snap deleted file mode 100644 index f279d346ca..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_exact_fit_content_has_no_scroll_hint.snap +++ /dev/null @@ -1,24 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: exact ---- -" Analytics · Live account " -" " -" " -" 1 Summary 2 Credits usage history 3 Token usage history 4 Plugins called 5 Skills used [6 Top chats] " -" " -" ▎ Top chats " -" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── " -" Active in past 30 days · sorted by lifetime credits " -" " -" Chat Lifetime credits " -" › Q3 planning analysis 120.00 " -" Refactor billing usage 113.00 " -" Other usage 109.00 " -" Launch readiness review 85.00 " -" " -" Showing 1–4 of 5 chats " -" Local chats · excludes archived chats and subagent usage " -" " -" tab/1–6 section · z dashboard · ↑/↓ row · enter details " -" R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_model_labels_and_tool_remainders_are_unambiguous.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_model_labels_and_tool_remainders_are_unambiguous.snap deleted file mode 100644 index 5a3ae89fd2..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_model_labels_and_tool_remainders_are_unambiguous.snap +++ /dev/null @@ -1,101 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: "format!(\"{overview}\\n{skills}\")" ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" ╭─ 1 Summary ──────────────────────────────────────────────────╮ ╭─ 2 Total usage history ──────────────────────────────────────╮ " -" │ │ │ │ " -" │ No history has been reported. │ │ 7d │ " -" │ │ │ By feature │ " -" │ │ │ Total usage · relative units │ " -" │ │ │ 73 64 91 81 100 86 │ " -" │ │ │ 100 20 ▃▃▃▃▃ ▂▂▂▂▂ ▆▆▆▆▆ ▄▄▄▄▄ █████ ▅▅▅▅▅▅ │ " -" │ │ │ ▃▃▃▃▃ █████ █████ █████ █████ █████ ██████ │ " -" │ │ │ 0 ───────────────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ │ │ │ " -" │ │ │ Sep 2 · 86 usage units │ " -" │ │ │ ● Tasks 64.0% │ " -" │ │ │ ● Code review 14.0% │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ ▸ 3 Messages ─────────────────────────────────────────────────╮ ╭─ 4 Plugins called ───────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 7d │ " -" │ By model │ │ 186 calls │ " -" │ 574 reported messages │ │ 34 23 29 26 22 23 29 │ " -" │ 83 107 85 103 │ │ 40 ▅▅▅▅▅ ▁▁▁▁▁ ▃▃▃▃▃ ▂▂▂▂▂▂ ▁▁▁▁▁ ▃▃▃▃▃▃ │ " -" │ 150 62 ▃▃▃▃▃ 75 59 ▁▁▁▁▁ ▂▂▂▂▂▂ │ │ █████ █████ █████ ██████ █████ █████ ██████ │ " -" │ ▆▆▆▆▆ █████ █████ █████ ▆▆▆▆▆ █████ ██████ │ │ 0 ────────────────────────────────────────────────────────── │ " -" │ 0 ───────────────────────────────────────────────────────── │ │ ▲ │ " -" │ ▲ │ │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ Sep 2 · 29 calls │ " -" │ Sep 2 · 103 messages │ │ ● Slack 10 │ " -" │ ● Friendly model 61 │ │ ● Figma 10 │ " -" │ ● GPT-5.6-Terra 25 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ──────────────────────────────────────────────╮ ╭─ 6 Top chats ────────────────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ No history has been reported. │ " -" │ 54 uses │ │ │ " -" │ 11 │ │ │ " -" │ 20 8 6 9 8 7 5 │ │ │ " -" │ ▆▆▆▆▆ ▄▄▄▄▄ ▇▇▇▇▇ ▆▆▆▆▆▆ ▅▅▅▅▅ ▄▄▄▄▄ ██████ │ │ │ " -" │ 0 ────────────────────────────────────────────────────────── │ │ │ " -" │ ▲ │ │ │ " -" │ Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 │ │ │ " -" │ │ │ │ " -" │ Sep 2 · 11 uses │ │ │ " -" │ ● Testing 4 │ │ │ " -" │ ● Code review 3 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰────────────────────────────────────────────────────────────────╯ ╰────────────────────────────────────────────────────────────────╯ " -" tab/1–6 section · enter/z maximize " -" r 7/30d · g group · R refresh · esc back · q close " - -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary 2 Total usage history 3 Messages 4 Plugins called [5 Skills used] 6 Top chats " -" " -" ▎ Skills used " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" 54 uses " -" " -" 20 " -" " -" " -" 9 11 " -" 10 8 8 7 ▇▇▇▇▇▇▇▇▇ " -" ▄▄▄▄▄▄▄▄ 6 ████████ ▄▄▄▄▄▄▄▄ ▁▁▁▁▁▁▁▁ 5 █████████ " -" ████████ ▅▅▅▅▅▅▅▅ ████████ ████████ ████████ ▂▂▂▂▂▂▂▂ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ █████████ " -" 0 ──────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 11 uses " -" Skill Uses " -" ● Testing 4 " -" ● Code review 3 " -" ● Other 3 " -" ● Debugging 1 " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_narrow_charts_and_small_terminals_keep_valid_cursors.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_narrow_charts_and_small_terminals_keep_valid_cursors.snap deleted file mode 100644 index a5b20f4a04..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_narrow_charts_and_small_terminals_keep_valid_cursors.snap +++ /dev/null @@ -1,24 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: tools ---- -" Analytics · Live account " -" 7d [30d] · Aug 4–Sep 2, 2026 " -" " -" ╭─ ▸ 5 Skills used ──────────────────────────────────╮ " -" │ │ " -" │ 30d │ " -" │ 169 uses │ " -" │ 11 │ " -" │ 20 ▂▂ ▂▂ ▂▂ ▂▂ ▂▂ ▂▂ ▂▂ ▂ ▂▂ ▂▂ ▂▂ ▂▂ ▃▂ ▃▃ ▂▂ ▄ │ " -" │ 0 ────────────────────────────────────────────── │ " -" │ ▲ │ " -" │ Aug 4 Aug 11 Aug 18 Aug 25 Sep 2 │ " -" │ │ " -" │ Sep 2 · 11 uses │ " -" │ ● Testing 4 │ " -" │ ● Code review 3 │ " -" │ │ " -" tab/1–6 section · enter/z maximize " -" r 7/30d · R refresh · pgup/pgdn scroll · esc back · q " -" close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_overview.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_overview.snap deleted file mode 100644 index 1e49c634bd..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_overview.snap +++ /dev/null @@ -1,64 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: wide ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" ╭─ 1 Summary ────────────────────────────────────────╮ ╭─ ▸ 2 Total usage history ────────────────────────────╮ " -" │ │ │ │ " -" │ No history has been reported. │ │ 7d │ " -" │ │ │ By feature │ " -" │ │ │ Total usage · relative units │ " -" │ │ │ 20 73 64 91 81 100 86 │ " -" │ │ │ 100 ▁▁▁▁ ▅▅▅▅ ▅▅▅▅ ▇▇▇▇ ▆▆▆▆ ████ ▆▆▆▆ │ " -" │ │ │ 0 ─────────────────────────────────────────────── │ " -" │ │ │ ▲ │ " -" │ │ │ 27 28 29 30 31 1 2 │ " -" │ │ │ │ " -" │ │ │ Sep 2 · 86 usage units │ " -" │ │ │ ● Tasks 64.0% │ " -" │ │ │ ● Code review 14.0% │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" ╭─ 3 Messages ───────────────────────────────────────╮ ╭─ 4 Plugins called ─────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ 7d │ " -" │ By model │ │ 186 calls │ " -" │ 574 reported messages │ │ 34 23 29 26 22 23 29 │ " -" │ 62 83 107 75 59 85 103 │ │ 40 ▆▆▆▆ ▄▄▄▄ ▅▅▅▅ ▅▅▅▅ ▄▄▄▄ ▄▄▄▄ ▅▅▅▅ │ " -" │ 150 ▃▃▃▃ ▄▄▄▄ ▅▅▅▅ ▄▄▄▄ ▃▃▃▃ ▄▄▄▄ ▅▅▅▅ │ │ 0 ──────────────────────────────────────────────── │ " -" │ 0 ─────────────────────────────────────────────── │ │ ▲ │ " -" │ ▲ │ │ 27 28 29 30 31 1 2 │ " -" │ 27 28 29 30 31 1 2 │ │ │ " -" │ │ │ Sep 2 · 29 calls │ " -" │ Sep 2 · 103 messages │ │ ● Slack 10 │ " -" │ ● GPT-5.6-Sol 61 │ │ ● Figma 10 │ " -" │ ● GPT-5.6-Terra 25 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" ╭─ 5 Skills used ────────────────────────────────────╮ ╭─ 6 Top chats ──────────────────────────────────────╮ " -" │ │ │ │ " -" │ 7d │ │ No history has been reported. │ " -" │ 54 uses │ │ │ " -" │ 8 6 9 8 7 5 11 │ │ │ " -" │ 20 ▃▃▃▃ ▂▂▂▂ ▃▃▃▃ ▃▃▃▃ ▂▂▂▂ ▂▂▂▂ ▄▄▄▄ │ │ │ " -" │ 0 ──────────────────────────────────────────────── │ │ │ " -" │ ▲ │ │ │ " -" │ 27 28 29 30 31 1 2 │ │ │ " -" │ │ │ │ " -" │ Sep 2 · 11 uses │ │ │ " -" │ ● Testing 4 │ │ │ " -" │ ● Code review 3 │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" │ │ │ │ " -" ╰──────────────────────────────────────────────────────╯ ╰──────────────────────────────────────────────────────╯ " -" " -" " -" tab/1–6 section · enter/z maximize " -" r 7/30d · g group · R refresh · esc back · q close " diff --git a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_usage_ranks_its_own_models_after_turns_load.snap b/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_usage_ranks_its_own_models_after_turns_load.snap deleted file mode 100644 index 934222448e..0000000000 --- a/codex-rs/tui/src/snapshots/codex_tui__analytics__tests__analytics_usage_ranks_its_own_models_after_turns_load.snap +++ /dev/null @@ -1,42 +0,0 @@ ---- -source: tui/src/analytics_tests.rs -expression: selected_day ---- -" Analytics · Live account " -" [7d] 30d · Aug 27–Sep 2, 2026 " -" " -" 1 Summary [2 Total usage history] 3 Messages 4 Plugins called 5 Skills used 6 Top chats " -" " -" ▎ Total usage history By model " -" ──────────────────────────────────────────────────────────────────────────────────────────────── " -" Total usage · relative units " -" Approximate · may be delayed up to 6 hours " -" 100 100 " -" 100 91 ████████ ▇▇▇▇▇▇▇▇ " -" ▇▇▇▇▇▇▇▇ 81 ████████ ████████ " -" 73 ████████ ▅▅▅▅▅▅▅▅ ████████ ████████ " -" ▆▆▆▆▆▆▆▆ 64 ████████ ████████ ████████ ████████ " -" ████████ ▅▅▅▅▅▅▅▅ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" 50 ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ " -" 20 ████████ ████████ ████████ ████████ ████████ ████████ " -" ▃▃▃▃▃▃▃▃ ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" ████████ ████████ ████████ ████████ ████████ ████████ ████████ " -" 0 ─────────────────────────────────────────────────────────────────────────────────────────── " -" ▲ " -" Aug 27 Aug 28 Aug 29 Aug 30 Aug 31 Sep 1 Sep 2 " -" " -" ──────────────────────────────────────────────────────── " -" Sep 2 · 100 usage units " -" Model Share " -" ● Remote GPT-5.6-Sol 91.1% " -" ● Remote GPT-5.5 6.8% " -" ● Remote Other 2.1% " -" ● Remote GPT-5.6-Terra 0.0% " -" ● Remote Model E 0.0% " -" ● Remote Model F 0.0% " -" " -" tab/1–6 section · z dashboard · ←/→ day · enter details " -" r 7/30d · g group · R refresh · esc back · q close "