mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Keep command center errors visible and preserve drafts (#44651)
## Why Command center failures need to remain visible while users retain their task selection and composer draft, including when a task is already managed by another app server. ## What changed - Show action errors above the retained dashboard with a return option and a clear explanation for tasks open elsewhere. - Keep the dashboard open until task attachment succeeds, and return to the conversation when selecting the already displayed task. - Offer “View unsent task” in a pager when restoring a failed submission would overwrite newer input. - Show task refresh failures inline and clear the notice after a successful refresh. ## Testing Add regression tests and snapshots for attachment conflicts, preserved selection and drafts, successful attachment, inline refresh recovery, unsent task viewing, and visible action failures. GitOrigin-RevId: 19670c5ea506414a835296141004db567b0cafef
This commit is contained in:
1 parent
1aaa453ce2
commit
db2e09106c
14 files changed
+411
-65
No files matched your search
@@ -224,6 +224,8 @@ impl Renderable for AgentsOverviewView {
|
||||
let attention = format!("{needs_you} need input");
|
||||
if let Some(notice) = self.state().connection_notice {
|
||||
Line::from(notice.cyan()).render(inset(summary), buf);
|
||||
} else if self.state().refresh_failed {
|
||||
Line::from("Error loading tasks".red()).render(inset(summary), buf);
|
||||
} else {
|
||||
Line::from(format!("{attention} {working} working {ready} ready").dim())
|
||||
.render(inset(summary), buf);
|
||||
|
||||
Reference in new issue
Block a user