-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Update Profiler UI for Symfony 6.2+. #1607
Conversation
Not sure why the test fails btw. If I add |
7bda184
to
dfb9891
Compare
I changed the PR quite a bit and only updated the icon and added the metric groups. Once this is merged we can work from there to add the tabs for the different things. I also didn't drop any metrics or changed any order anymore. |
<span class="value">{{ collector.invalidEntityCount }}</span> | ||
<span class="label">Invalid entities</span> | ||
</div> | ||
<div class="metric-group"> |
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.
What are these for? Is it so that it stretches to full width?
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 “groups” the metrics. Look at the screenshots: in 6.1 it is 4 blocks, in 6.2 it is 4 parts of a bigger block. Without it, there would be whitespace between the blocks
This is based on the closed PR #1558, but only does two changes:
I will do a separate PR to add the tabs.
Screenshot on 6.1:
![image](https://user-images.githubusercontent.com/550145/210865401-fdae5616-9c9b-43ee-b1c7-1333e4aac4bf.png)
And on 6.2:
![image](https://user-images.githubusercontent.com/550145/210865433-b98a0b67-1aaa-4867-bb2d-e54c11e0fbcb.png)