mirror of
https://github.com/openai/codex.git
synced 2026-04-27 09:51:03 +03:00
Tweak /plugin menu wording (#15676)
- Updated `/plugin` UI messaging for clearer wording. - Synced the same copy changes across `tui` and `tui_app_server`.
This commit is contained in:
@@ -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()
|
||||
}],
|
||||
|
||||
@@ -4,6 +4,6 @@ expression: popup
|
||||
---
|
||||
Plugins
|
||||
Loading 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.
|
||||
|
||||
@@ -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()
|
||||
}],
|
||||
|
||||
@@ -4,6 +4,6 @@ expression: popup
|
||||
---
|
||||
Plugins
|
||||
Loading 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.
|
||||
|
||||
Reference in New Issue
Block a user