Lightweight coding agent that runs in your terminal
Rust
Tweak /plugin menu wording (#15676)
canvrno-oaib364faf4ecc6
diff --git a/codex-rs/tui/src/chatwidget/plugins.rs b/codex-rs/tui/src/chatwidget/plugins.rsindex dc1dfd5836..079f70e226 100644--- a/codex-rs/tui/src/chatwidget/plugins.rs+++ b/codex-rs/tui/src/chatwidget/plugins.rs@@ -355,9 +355,7 @@ impl ChatWidget {};items.push(SelectionItem {name: install_label.to_string(),- description: Some(- "Open the same ChatGPT app management link used by /apps.".to_string(),- ),+ description: Some("Open the ChatGPT app management page".to_string()),selected_description: Some("Open the app page in your browser.".to_string()),actions: vec![Box::new(move |tx| {tx.send(AppEvent::OpenUrlInBrowser {@@ -368,7 +366,7 @@ impl ChatWidget {});} else {items.push(SelectionItem {- name: "ChatGPT link unavailable".to_string(),+ name: "ChatGPT apps link unavailable".to_string(),description: Some("This app did not provide an install/manage URL.".to_string()),is_disabled: true,..Default::default()@@ -480,7 +478,7 @@ impl ChatWidget {header.push(Line::from("Plugins".bold()));header.push(Line::from("Loading available plugins...".dim()));header.push(Line::from(- "This first pass shows the ChatGPT marketplace only.".dim(),+ "Available marketplaces will appear here when ready.".dim(),));SelectionViewParams {@@ -508,9 +506,7 @@ impl ChatWidget {header: Box::new(header),items: vec![SelectionItem {name: "Loading plugin details...".to_string(),- description: Some(- "This updates when the plugin detail request finishes.".to_string(),- ),+ description: Some("This updates when plugin details load.".to_string()),is_disabled: true,..Default::default()}],@@ -556,7 +552,7 @@ impl ChatWidget {header: Box::new(header),items: vec![SelectionItem {name: "Uninstalling plugin...".to_string(),- description: Some("This updates when plugin removal completes.".to_string()),+ description: Some("This updates when the plugin removal completes.".to_string()),is_disabled: true,..Default::default()}],diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_loading_state.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_loading_state.snapindex 2b0f6837eb..42eff7f81f 100644--- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_loading_state.snap+++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_loading_state.snap@@ -4,6 +4,6 @@ expression: popup---PluginsLoading available plugins...- This first pass shows the ChatGPT marketplace only.+ Available marketplaces will appear here when ready.› Loading plugins... This updates when the marketplace list is ready.diff --git a/codex-rs/tui_app_server/src/chatwidget/plugins.rs b/codex-rs/tui_app_server/src/chatwidget/plugins.rsindex dc1dfd5836..079f70e226 100644--- a/codex-rs/tui_app_server/src/chatwidget/plugins.rs+++ b/codex-rs/tui_app_server/src/chatwidget/plugins.rs@@ -355,9 +355,7 @@ impl ChatWidget {};items.push(SelectionItem {name: install_label.to_string(),- description: Some(- "Open the same ChatGPT app management link used by /apps.".to_string(),- ),+ description: Some("Open the ChatGPT app management page".to_string()),selected_description: Some("Open the app page in your browser.".to_string()),actions: vec![Box::new(move |tx| {tx.send(AppEvent::OpenUrlInBrowser {@@ -368,7 +366,7 @@ impl ChatWidget {});} else {items.push(SelectionItem {- name: "ChatGPT link unavailable".to_string(),+ name: "ChatGPT apps link unavailable".to_string(),description: Some("This app did not provide an install/manage URL.".to_string()),is_disabled: true,..Default::default()@@ -480,7 +478,7 @@ impl ChatWidget {header.push(Line::from("Plugins".bold()));header.push(Line::from("Loading available plugins...".dim()));header.push(Line::from(- "This first pass shows the ChatGPT marketplace only.".dim(),+ "Available marketplaces will appear here when ready.".dim(),));SelectionViewParams {@@ -508,9 +506,7 @@ impl ChatWidget {header: Box::new(header),items: vec![SelectionItem {name: "Loading plugin details...".to_string(),- description: Some(- "This updates when the plugin detail request finishes.".to_string(),- ),+ description: Some("This updates when plugin details load.".to_string()),is_disabled: true,..Default::default()}],@@ -556,7 +552,7 @@ impl ChatWidget {header: Box::new(header),items: vec![SelectionItem {name: "Uninstalling plugin...".to_string(),- description: Some("This updates when plugin removal completes.".to_string()),+ description: Some("This updates when the plugin removal completes.".to_string()),is_disabled: true,..Default::default()}],diff --git a/codex-rs/tui_app_server/src/chatwidget/snapshots/codex_tui_app_server__chatwidget__tests__plugins_popup_loading_state.snap b/codex-rs/tui_app_server/src/chatwidget/snapshots/codex_tui_app_server__chatwidget__tests__plugins_popup_loading_state.snapindex f1f18c1eaf..846c73fe47 100644--- a/codex-rs/tui_app_server/src/chatwidget/snapshots/codex_tui_app_server__chatwidget__tests__plugins_popup_loading_state.snap+++ b/codex-rs/tui_app_server/src/chatwidget/snapshots/codex_tui_app_server__chatwidget__tests__plugins_popup_loading_state.snap@@ -4,6 +4,6 @@ expression: popup---PluginsLoading available plugins...- This first pass shows the ChatGPT marketplace only.+ Available marketplaces will appear here when ready.› Loading plugins... This updates when the marketplace list is ready.