-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: add error details modal with on-demand display #9985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add errorDetails prop to ErrorRow component - Show Info icon on hover in error header when errorDetails is provided - Display detailed error message in modal dialog on Info icon click - Add Copy to Clipboard button in error details modal - Update generic error case to show localized message with details on demand - Add i18n translations for error details UI
Review complete. No issues found. The latest commit (6e8b0b7) applies lighter visual treatment for errors by adjusting text colors and spacing. The changes are purely cosmetic refinements that improve the error display UX without introducing any functional issues. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Review complete. No issues found. The implementation correctly adds an error details modal with on-demand display. The changes follow existing patterns in the codebase:
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
cte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes the issue where PR #9954 started showing the entirety of errors in ErrorRow. This PR restores the original intent from PR #9777 to keep error messages limited to defined messages, while adding the ability for users to view detailed error messages on demand.
In the process, I changed how we're tracking the retry timer to something a bit cleaner, which gives us more control and flexibility on the UI side, so the design looks a tad improved.
Hovering the item shows an
iicon which, when clicked, shows the raw error message in a modal.Keep in mind the quality of the content in the modal is 100% dependent on the quality of the error we send.
Changes
errorDetailsprop toErrorRowcomponent<Info />icon on hover in error header when errorDetails is provided<Copy />icon in error details modalChatRowto show localized "Error" message with full details available on demandapi_req_retry_delayedcase to store non-HTTP error messages as errorDetailsen/chat.jsonTesting
View task on Roo Code Cloud
Important
Adds error details modal in
ErrorRow.tsxfor on-demand viewing and refines retry timer logic inTask.ts.errorDetailsprop toErrorRowinErrorRow.tsxfor detailed error messages.<Info />icon on hover in error header whenerrorDetailsis provided.ChatRow.tsxto show localized "Error" message with full details on demand.errorDetailsinapi_req_retry_delayedcase.en/chat.json.Task.tsfor cleaner tracking and improved UI control.This description was created by
for 6e8b0b7. You can customize this summary. It will automatically update as commits are pushed.