-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[RNMobile] Improve UI of error boundary component #59823
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: 0 B Total Size: 1.71 MB ℹ️ View Unchanged
|
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.
Looks good
@osullivanchris let me know if you have any thoughts/feedback about the UI changes. In the meantime, I'm going to merge this PR so it's included in the next GBM version (being cut tomorrow March 14th, 2024). |
Thanks @osullivanchris for the feedback 🙇 ! I'll address this in a separate PR.
The text is wrapped based on the device's width, so I don't think there's an attribute to avoid a single ophan word in the last line. To achieve this, we'd need to perform different layout calculations, so not sure if it's worth the effort for a screen that (hopefully) not many users will see. WDYT? Alternatively, we could break the line to ensure there's two words in the last line. But this would imply setting a fixed width so the rest of the content fits a similar layout. I.e. the second paragraph has a similar width.
Good point. I'm not sure if the GitHub label |
Hey @fluiddot 👋 it appears the usage of |
Good observation. I'll take a look and see if we can use the new format. Since we transform SASS code, I'm not sure if importing the |
What?
This PR is a follow-up of #59221. Update the UI of the Error Boundary component that is displayed in editor-level exceptions.
Why?
This enhancement will provide a better experience when the user encounters editor-level exceptions.
How?
ErrorBoundary
component, located in the editor package.Warning
component as the design of theErrorBoundary
component is now custom.Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast
iPhone:
iPad:
Android: