-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add error boundaries to the widgets screens #33620
Copy link
Copy link
Closed
Labels
Needs DesignNeeds design efforts.Needs design efforts.[Feature] Widgets CustomizerAbility to add and edit blocks in Customize → Widgets.Ability to add and edit blocks in Customize → Widgets.[Feature] Widgets ScreenThe block-based screen that replaced widgets.php.The block-based screen that replaced widgets.php.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Milestone
Description
What problem does this address?
Some users are reporting JavaScript errors and white screens when loading the new widget screens in 5.8.
What is your proposed solution?
I couldn't see any existing implementation, but it'd be good to add ErrorBoundary components to help users debug those kind of issues. This is what the post editor does when a JavaScript error occurs:

The Customizer implementation might be a little different, that might need some design input.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs DesignNeeds design efforts.Needs design efforts.[Feature] Widgets CustomizerAbility to add and edit blocks in Customize → Widgets.Ability to add and edit blocks in Customize → Widgets.[Feature] Widgets ScreenThe block-based screen that replaced widgets.php.The block-based screen that replaced widgets.php.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.