Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions codex-rs/tui/src/chatwidget/plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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()
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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()
}],
Expand Down Expand Up @@ -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()
}],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

› 1. Loading plugins... This updates when the marketplace list is ready.
14 changes: 5 additions & 9 deletions codex-rs/tui_app_server/src/chatwidget/plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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()
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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()
}],
Expand Down Expand Up @@ -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()
}],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

› 1. Loading plugins... This updates when the marketplace list is ready.
Loading