[COMPASS-5074] Add error boundary to Compass sidebar Created: 08/Sep/21 Updated: 28/Sep/22 Resolved: 14/Sep/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Sidebar, Tech debt |
| Affects Version/s: | None |
| Fix Version/s: | 1.34.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rhys Howell | Assignee: | Rhys Howell |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | COMPASS-5486 | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Sprint: | Iteration Jellyfish | ||||||||
| Description |
|
Currently we only have react error boundaries set up for the various tabs in compass (databases, collections, collection views). We should add error boundaries to the rendering of the sidebar as well. It will help gracefully handle errors that occur when a component is rendered. This should ideally should never happen, but in the case that it does happen, a user should be able to use other parts of Compass without the entire react window/instance breaking. React error boundaries: Here's how we currently handle them in Compass: |
| Comments |
| Comment by Githook User [ 28/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 15/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 15/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 14/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 14/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 14/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |
| Comment by Githook User [ 14/Sep/22 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(sidebar): Add error boundary to sidebar |