mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +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:
@@ -274,6 +274,10 @@ pub(crate) enum AppEvent {
|
||||
CloseMisalignmentReview,
|
||||
/// Open the daemon-wide overview of recent and locally retained root sessions.
|
||||
OpenAgentsOverview,
|
||||
/// Present a failed command-center action above the retained dashboard.
|
||||
AgentsOverviewError(String),
|
||||
/// Show a failed draft without replacing newer composer input.
|
||||
ViewAgentsOverviewUnsentPrompt(String),
|
||||
/// Update the daemon-wide overview after a background thread listing finishes.
|
||||
AgentsOverviewThreadsLoaded {
|
||||
request_id: Uuid,
|
||||
|
||||
Reference in New Issue
Block a user