Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(exception-group): Move related exceptions out of the stack trace and sort properly #48167

Merged
merged 2 commits into from
May 1, 2023

Conversation

malwilley
Copy link
Member

Closes #48115, #47957

  • Related exceptions are now above the stack trace. This simplified the code quite a bit and means we don't need to prop-drill mechanism and isNewestFrame any longer, which is the reason for so many deleted lines.
  • The child exceptions in the tree are now sorted according to the selected stack trace order preference (newest vs oldest first).

Before:

CleanShot 2023-04-28 at 10 30 01

After:

CleanShot 2023-04-28 at 10 29 45

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 28, 2023
@malwilley malwilley linked an issue Apr 28, 2023 that may be closed by this pull request
@malwilley malwilley requested a review from a team as a code owner April 28, 2023 23:33
@malwilley malwilley merged commit b49868f into master May 1, 2023
@malwilley malwilley deleted the malwilley/feat/exception-tree-placement branch May 1, 2023 15:53
@github-actions github-actions bot locked and limited conversation to collaborators May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
2 participants