Syntax highlight for Senty error stacktrace
Problem to solve
We are embedding the stack trace from a Sentry error into the error detail page. When displaying code blocks in a UI, standard practice it to provide automatic syntax highlighting to assist users in quick visual consumption. This issue adds syntax highlighting to the stack trace we are embedding in the error detail page and issues.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
Further details
This work supports the Error Tracking Vision.
Proposal
To render code in stacktrace highlighted, BE endpoint should return pre-formatted code (presumably Filter::SyntaxHighlightFilter
might help). For example, check this file.
Issue will require BE improvements and minor or no work on FE side.
Permissions and Security
Documentation
No documentation required - this is a UX improvement that will be expected by our users.
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
/label feature
Edited by Sarah Waldner