Lightweight coding agent that runs in your terminal
Rust
Fix CLI feedback link (#13086)
Eric Traute6032eb0b74c
diff --git a/codex-rs/tui/src/bottom_pane/feedback_view.rs b/codex-rs/tui/src/bottom_pane/feedback_view.rsindex 03d3779c57..4144c87f97 100644--- a/codex-rs/tui/src/bottom_pane/feedback_view.rs+++ b/codex-rs/tui/src/bottom_pane/feedback_view.rs@@ -27,8 +27,8 @@ use super::popup_consts::standard_popup_hint_line;use super::textarea::TextArea;use super::textarea::TextAreaState;-const BASE_BUG_ISSUE_URL: &str =- "https://github.com/openai/codex/issues/new?template=2-bug-report.yml";+const BASE_CLI_BUG_ISSUE_URL: &str =+ "https://github.com/openai/codex/issues/new?template=3-cli.yml";/// Internal routing link for employee feedback follow-ups. This must not be shown to external users.const CODEX_FEEDBACK_INTERNAL_URL: &str = "http://go/codex-feedback-internal";@@ -389,7 +389,7 @@ fn issue_url_for_category(| FeedbackCategory::Other => Some(match feedback_audience {FeedbackAudience::OpenAiEmployee => slack_feedback_url(thread_id),FeedbackAudience::External => {- format!("{BASE_BUG_ISSUE_URL}&steps=Uploaded%20thread:%20{thread_id}")+ format!("{BASE_CLI_BUG_ISSUE_URL}&steps=Uploaded%20thread:%20{thread_id}")}}),FeedbackCategory::GoodResult => None,@@ -675,10 +675,7 @@ mod tests {);let bug_url_non_employee =issue_url_for_category(FeedbackCategory::Bug, "t", FeedbackAudience::External);- let expected_external_url = format!("{BASE_BUG_ISSUE_URL}&steps=Uploaded%20thread:%20t");- assert_eq!(- bug_url_non_employee.as_deref(),- Some(expected_external_url.as_str())- );+ let expected_external_url = "https://github.com/openai/codex/issues/new?template=3-cli.yml&steps=Uploaded%20thread:%20t";+ assert_eq!(bug_url_non_employee.as_deref(), Some(expected_external_url));}}