Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Tweaked the collector priority #116

Closed

Conversation

javiereguiluz
Copy link
Member

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.

@stof
Copy link
Member

stof commented Sep 30, 2015

what would be the behavior on older versions ?

@javiereguiluz
Copy link
Member Author

In the old Symfony versions, this panel will appear before any panel which doesn't define the priority (most of them) or define a priority lower than 260 (all of them). For some users it may be confusing because they are used to certain panel order.

@stof
Copy link
Member

stof commented Sep 30, 2015

Coudln't we use 255 or 254, to keep it after core panels in Symfony 2.7 and older (they are at 255) ?

@javiereguiluz
Copy link
Member Author

Good idea! I've used 250 for Doctrine and 245 for SwiftMailer. This should work right in any Symfony version.

@stof
Copy link
Member

stof commented Sep 30, 2015

I'm just waiting for Travis to run (but the Travis quota is per repo owner, and symfony/symfony has a bunch of queued builds right now)

@stof
Copy link
Member

stof commented Sep 30, 2015

Thank you @javiereguiluz.

@stof stof closed this in 6febf55 Sep 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants