usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
25.67k stars 1.17k forks source link

feat: updated global error boundary, added error boundary for codeeditor, singleline editor, multiline editor #3166

Open lohxt1 opened 5 days ago

lohxt1 commented 5 days ago

~ updated the global error boundary component logic to reset the app [ reset redux state, reset watcher, open the lastOpenedCollections ]

~ added component level error boundary for codeeditor, singleline editor and multiline editor components


before:

global error

https://github.com/user-attachments/assets/09ebe86f-d8d7-47b5-8fc4-76ef2e03547d


after:

global error - reset app

https://github.com/user-attachments/assets/a1011731-ca5d-4f01-94c2-1a77b21b156f

buttons_update

component level error boundary

https://github.com/user-attachments/assets/42f3d0e4-d6d4-4fe7-abc8-538bcaa956bd