Show better detected build errors in the Builds panel for iOS - #8793
Merged
Conversation
When a build fails, display any errors detected from the build log (stored on the build by the build-api) as an expandable "Details" section, replacing the generic "Something wrong happened" message. Falls back to the generic message when no known error was detected. - Add detectedErrors to the Build type. - BuildDetectedErrors.js maps each error code to a translatable message; unknown codes are ignored so a newer backend never renders a blank message. - Show an optional "Learn more" button when the detected error carries a helpUrl. - Add Storybook stories exercising the new UI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UnBwRuxJxy98emhfh5CrPo
Fixes a no-use-before-define lint warning by moving the BuildDetectedError type above the Build type that references it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UnBwRuxJxy98emhfh5CrPo
Replace the plain "Something wrong happened" text with an error-kind AlertMessage (matching the iOS certificate dialog), shown for every failed build and above the detected-error "Details" section. Space the detected message and its "Learn more" button with a ColumnStackLayout and make the message text selectable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UnBwRuxJxy98emhfh5CrPo
Detected error codes without a known message are now still listed in the "Details" section, showing the code and inviting the user to upgrade GDevelop to learn more about the error. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UnBwRuxJxy98emhfh5CrPo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base case:

With detected issue:
