Skip to content

[ErrorHandler] Fix the design of the exception page tabs #50242

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

Merged
merged 1 commit into from
May 5, 2023

Conversation

javiereguiluz
Copy link
Member

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

In Symfony 6.3 we've updated the tabs of the Profiler to make them accessible. In turn, this also updates the tabs of the exception page from ErrorHandler. However, the design of that exception page hasn't been updated yet, so it looks like this:

exception-page-tabs

Now the tabs look like the profiler. It's not perfect, but it's better than the current broken situation. The proper fix is to update a bit the design of the exception page. Let's do that for Symfony 6.4/7.0. Thanks!

@fabpot
Copy link
Member

fabpot commented May 5, 2023

Thank you @javiereguiluz.

@fabpot fabpot merged commit e498b54 into symfony:6.3 May 5, 2023
@javiereguiluz javiereguiluz deleted the fix_exception_page branch May 5, 2023 12:52
@fabpot fabpot mentioned this pull request May 7, 2023
fabpot added a commit that referenced this pull request May 12, 2023
…atTheCat)

This PR was merged into the 6.3 branch.

Discussion
----------

[ErrorHandler] Sync `createTabs` from WebProfilerBundle

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

WebProfilerBundle’s `base_js.html.twig` and ErrorHandler’s `exception.js` are out of sync: the latter won’t affect the `tab-control` class. This break the exception page tabs’ style after it was updated by #50242

Before:
![](https://github.com/symfony/symfony/assets/1898254/544741c6-585e-48c2-b16a-3a97c84054c1)

After:
![](https://github.com/symfony/symfony/assets/1898254/8649861d-ea89-49ae-8658-156e7ef86ec5)

Commits
-------

18df31b Sync `createTabs` from WebProfilerBundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants