Skip to content

Conversation

@javiereguiluz
Copy link
Member

Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR
  • Performance panel now displays Sub-Requests a bit separated from the normal metrics
  • Singular/plural: when there is 1 sub-request, we don't display "sub-requests" anymore

Before

before_subrequests

After

after_subrequests

  • Add bottom margin to metrics so they are correctly displayed when the screen is very small.

Before & After

metrics-small-screens

@javiereguiluz javiereguiluz changed the base branch from master to 2.7 October 25, 2016 09:24
@javiereguiluz javiereguiluz changed the base branch from 2.7 to 2.8 October 25, 2016 09:24
@ro0NL
Copy link
Contributor

ro0NL commented Oct 26, 2016

Btw, shouldnt this remove the margin bottom from .metrics, to avoid double margins here

image

and here

image

The extra space for sub requests to me looks weird, and semi out of place;
image

Imo. separating groups (of metrics) should look different.

@javiereguiluz
Copy link
Member Author

@ro0NL you are right about the excessive bottom margin. It has been fixed now. Thanks!

About the horizontal divider, I don't agree with you ... but this is design and not code, so people can say opposite things and both be right :)

@robfrawley
Copy link
Contributor

@ro0NL @javiereguiluz I think the added horizontal space (divider) separation is sensible and clean. 👍

@fabpot
Copy link
Member

fabpot commented Nov 4, 2016

Thank you @javiereguiluz.

fabpot added a commit that referenced this pull request Nov 4, 2016
…eguiluz)

This PR was squashed before being merged into the 2.8 branch (closes #20294).

Discussion
----------

Improved the design of the metrics in the profiler

| Q | A |
| --- | --- |
| Branch? | 2.8 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | - |
| License | MIT |
| Doc PR |  |
- Performance panel now displays Sub-Requests a bit separated from the normal metrics
- Singular/plural: when there is 1 sub-request, we don't display "sub-request**s**" anymore
### Before

![before_subrequests](https://cloud.githubusercontent.com/assets/73419/19680261/5289fd26-9aa5-11e6-8702-1ac50997da78.png)
### After

![after_subrequests](https://cloud.githubusercontent.com/assets/73419/19680272/57324b44-9aa5-11e6-8d85-44cc089bd9f4.png)
- Add bottom margin to metrics so they are correctly displayed when the screen is very small.
### Before & After

![metrics-small-screens](https://cloud.githubusercontent.com/assets/73419/19680259/4f826654-9aa5-11e6-9ed8-1ffe9a3db8bf.png)

Commits
-------

d030a9d Improved the design of the metrics in the profiler
@fabpot fabpot closed this Nov 4, 2016
This was referenced Nov 17, 2016
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.

5 participants