pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

"Unexpected extension point type" isn't handled

Open fregante opened this issue 3 years ago • 0 comments

Issue

The bricks table is correctly rendered but then an uncaught error replaces the whole page. I feel that the error should either be shown inline next to the broken item or as a banner, like in https://github.com/pixiebrix/pixiebrix-extension/pull/2587

Main takeaway

Data error in a single element probably shouldn't crash the whole list/view

Notes

  • This is probably not a common error (unless the user can save incorrect bricks somehow)
  • The Blueprints page work being done by Misha may supersede this, however I think that new component has a similar issue

Demo

Example error caused by some changes made while testing https://github.com/pixiebrix/pixiebrix-extension/pull/2777

https://user-images.githubusercontent.com/1402241/154798304-d5b0af74-c1d9-43a9-a2b1-694253f0d91d.mov

Related

  • https://github.com/pixiebrix/pixiebrix-extension/issues/4215

fregante avatar Feb 19 '22 11:02 fregante