mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Show a retryable error when the apps popup fails to load (#43074)
## Why An initial `/apps` request failure with no cached or partial app list left the popup showing “Loading apps...”. ## What changed Replace the loading popup with a generic failure message and a `Retry` action. Retrying forces a refresh and restores the loading state while the request runs. ## Testing Add a regression test and snapshot covering the error display, omission of raw request errors, and retry transition back to loading. GitOrigin-RevId: 9b1974dbc5065a6d3695d881f216f8060d4381a9
This commit is contained in:
1 parent
dfea985976
commit
51c97f3a67
3 files changed
+98
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/popups_and_settings.rs
|
||||
assertion_line: 2796
|
||||
expression: popup
|
||||
---
|
||||
Apps
|
||||
Failed to load apps.
|
||||
|
||||
App directory unavailable The app directory request failed. Retry, or
|
||||
press Esc to continue.
|
||||
› 1. Retry Reload installed and available apps.
|
||||
|
||||
Press enter to confirm or esc to go back
|
||||
Reference in new issue
Block a user