]> cat aescling's git repositories - mastodon.git/commit
Show disappointed elephant if web UI crashes (#10275)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 15 Mar 2019 04:35:45 +0000 (05:35 +0100)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2019 04:35:45 +0000 (05:35 +0100)
commitc20d096e6a251e1b84ac47b751d2eb065743dbc2
treef3e9fa961ba9170e1a70b3854bbe0711ec560b2f
parentff565524aa6aa35c07557ea02d8d04bb3a9e1a97
Show disappointed elephant if web UI crashes (#10275)

* Do not crash the whole UI when loading an invalid column

* Add error boundary component to catch Web UI crashes

* Add stack trace on supported browsers

* Add component stack info, pre-format everything for github

* Make “Reload” a clickable link that calls window.location.reload()

* Remove elephant friend from error boundary, make title stand out more

* Simplify error boundary to only a graphic
app/javascript/mastodon/components/error_boundary.js [new file with mode: 0644]
app/javascript/mastodon/containers/mastodon.js
app/javascript/mastodon/features/ui/components/bundle.js