-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WIP][DX] Better exception page #12363
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
Conversation
Woh, the before and after is amazing! Great idea - especially the Twig inclusion. |
@@ -1,6 +1,12 @@ | |||
CHANGELOG | |||
========= | |||
|
|||
2.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's going to be in 2.7. 2.6 is closed for new features.
@hason It looks awesome. In the after screenshot there is a line break in the PHP code line 4701. I would prefer if you make the area to scroll instead of the line break. |
…onProcessor into the bundles
{ | ||
protected $regexString = '"[^"\\\\]*?(?:\\\\.[^"\\\\]*?)*?"|\'[^\'\\\\]*?(?:\\\\.[^\'\\\\]*?)*?\''; | ||
protected $regexTags; | ||
protected $regex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be private
@@ -17,7 +17,7 @@ | |||
<a id="traces-link-{{ position }}"></a> | |||
<ol class="traces list-exception" id="traces-{{ position }}" style="display: {{ 0 == count ? 'block' : 'none' }}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the same twig cycle technique you used below for inline style this also? and thus make it a class?
@hason do you have some time to update this PR for the suggested changes? I'd still like to see this, e.g. for 2.8. Thanks! |
@hason Do you time to finish this one? Or perhaps @javiereguiluz can take over? |
Closing in favour of #15792. |
Before:

After:
