10000 [WebProfilerBundle] Re add missing link to the controller by lyrixx · Pull Request #23676 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Re add missing link to the controller #23676

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
Aug 22, 2017

Conversation

lyrixx
Copy link
Member
@lyrixx lyrixx commented Jul 26, 2017
Q A
Branch? 3.3
Bug fix? yes (because it was on 3.2 but not in 3.3)
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

screenshot at 2017-07-26 10-54-16

@javiereguiluz
Copy link
Member

It's nice to have this feature back ... but I'm afraid it looks very ugly.

What if we use a style similar to the sub-requests?

subrequests

We could display the controller only in the Request tab, like this:

controller

@lyrixx
Copy link
Member Author
lyrixx commented Jul 26, 2017

Oh you find it ugly :( My bad I was proud of my work :D

Actually, my first attempt was what you proposed. And I found it ugly; jajaja.

Note: I moved the link on top of the tab name because the controller is related to the request / response et / etc. and not only the request.

@lyrixx lyrixx force-pushed the profiler-controller branch from 82556e7 to 25aed5c Compare July 26, 2017 09:23
@javiereguiluz
Copy link
Member

What if we display the controller like this:

controller-1

And reduce the font-size of sub-requests controllers to 18px to display a better hierarchy:

controller-2

@nicolas-grekas nicolas-grekas added this to the 3.3 milestone Jul 26, 2017
@lyrixx lyrixx force-pushed the profiler-controller branch from 25aed5c to 1d10857 Compare August 18, 2017 14:34
@lyrixx
Copy link
Member Author
lyrixx commented Aug 18, 2017

image

WDYT? As you can see, I did not had to change the CSS, And I'm quite happy to not add special rules for this.

@fabpot
Copy link
Member
fabpot commented Aug 22, 2017

Thank you @lyrixx.

8000

@fabpot fabpot merged commit 1d10857 into symfony:3.3 Aug 22, 2017
fabpot added a commit that referenced this pull request Aug 22, 2017
…(lyrixx)

This PR was merged into the 3.3 branch.

Discussion
----------

[WebProfilerBundle] Re add missing link to the controller

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes (because it was on 3.2 but not in 3.3)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

---

![screenshot at 2017-07-26 10-54-16](https://user-images.githubusercontent.com/408368/28612883-ea88f398-71f0-11e7-8361-a8e95036cf07.png)

Commits
-------

1d10857 [WebProfilerBundle] Re add missing link to the controller
@lyrixx lyrixx deleted the profiler-controller branch August 22, 2017 14:27
@fabpot fabpot mentioned this pull request Aug 28, 2017
javiereguiluz added a commit that referenced this pull request Sep 27, 2017
…tsykun)

This PR was merged into the 3.3 branch.

Discussion
----------

[WebProfilerBundle] Added missing link to profile token

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes, it was on 3.3.6 (before merge #23676)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

On v3.3.6 I can open profiles for sub-request on this link
![selection_188](https://user-images.githubusercontent.com/21358010/30518552-dc6a1f72-9b89-11e7-9d2f-d348846d7285.png)

But after 3.3.7 it was replaced by links to the controller. In this pull request was added missing link to the profile
![selection_186](https://user-images.githubusercontent.com/21358010/30518572-7a1420c4-9b8a-11e7-8514-098c4ec2c3d6.png)

Commits
-------

c388b25 [WebProfilerBundle] Added missing link to profile token
symfony-splitter pushed a commit to symfony/web-profiler-bundle that referenced this pull request Sep 27, 2017
…tsykun)

This PR was merged into the 3.3 branch.

Discussion
----------

[WebProfilerBundle] Added missing link to profile token

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes, it was on 3.3.6 (before merge symfony/symfony#23676)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

On v3.3.6 I can open profiles for sub-request on this link
![selection_188](https://user-images.githubusercontent.com/21358010/30518552-dc6a1f72-9b89-11e7-9d2f-d348846d7285.png)

But after 3.3.7 it was replaced by links to the controller. In this pull request was added missing link to the profile
![selection_186](https://user-images.githubusercontent.com/21358010/30518572-7a1420c4-9b8a-11e7-8514-098c4ec2c3d6.png)

Commits
-------

c388b25cbb [WebProfilerBundle] Added missing link to profile token
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
0