Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Minor fixes for the profiler and toolbar #16023

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

Closed
wants to merge 6 commits into from

Conversation

javiereguiluz
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets partially #15439
License MIT
Doc PR -

Changes:

  • Fixed a misaligned icon
  • Changed the priorities of the collectors to better control their position and to leave a "gap" between priorities so custom panels can be displayed between the default panels. This idea came from @stof.

By the way, @stof do you know how can I set the priority of the SwiftMailer collector? Its definition is the only one that doesn't use the <tag name="data_collector" />:

<service id="swiftmailer.data_collector" class="%swiftmailer.data_collector.class%">
    <argument type="service" id="service_container" />
</service>

https://github.com/symfony/swiftmailer-bundle/blob/master/Resources/config/swiftmailer.xml#L90-L92

@wouterj
Copy link
Member

wouterj commented Sep 30, 2015

@javiereguiluz
Copy link
Member Author

@wouterj thanks!

stof added a commit to doctrine/DoctrineBundle that referenced this pull request Sep 30, 2015
This PR was merged into the 1.6.x-dev branch.

Discussion
----------

Tweaked collector priority

In symfony/symfony#16023 we're tweaking the priorities of the toolbar/profiler panels. The `265` value is the right number for Doctrine ... but maybe you don't want to merge it yet because this will change a lot the position of the Doctrine panel in the profiler/toolbar of Symfony versions older than 2.8.

Commits
-------

0606b7d Changed the priority to make it compatible with older Symfony versions
bdcac12 Fixed the priority number
41a7148 Tweaked the Doctrine priority
stof added a commit to symfony/swiftmailer-bundle that referenced this pull request Sep 30, 2015
This PR was squashed before being merged into the 2.3-dev branch (closes #116).

Discussion
----------

Tweaked the collector priority

In symfony/symfony#16023 we're tweaking the priorities of the toolbar/profiler panels. The 260 value is the right number for SwiftMailer ... but maybe you don't want to merge it yet because this will change a lot the position of the SwiftMailer panel in the profiler/toolbar of Symfony versions older than 2.8.

Commits
-------

0e85658 Tweaked the collector priority
@fabpot
Copy link
Member

fabpot commented Oct 1, 2015

Thank you @javiereguiluz.

@fabpot fabpot closed this in 559554e Oct 1, 2015
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull request Mar 25, 2018
…iluz)

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

Discussion
----------

Minor fixes for the profiler and toolbar

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | partially symfony#15439
| License       | MIT
| Doc PR        | -

Changes:

  * Fixed a misaligned icon
  * Changed the priorities of the collectors to better control their position and to leave a "gap" between priorities so custom panels can be displayed between the default panels. This idea came from @stof.

By the way, @stof do you know how can I set the priority of the SwiftMailer collector? Its definition is the only one that doesn't use the `<tag name="data_collector" />`:

```xml
<service id="swiftmailer.data_collector" class="%swiftmailer.data_collector.class%">
    <argument type="service" id="service_container" />
</service>
```

https://github.com/symfony/swiftmailer-bundle/blob/master/Resources/config/swiftmailer.xml#L90-L92

Commits
-------

bff4098 Minor fixes for the profiler and toolbar
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