Skip to content

[WebProfilerBundle] Fix time panel legend buttons #33575

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

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets #33536
License MIT
Doc PR -

It fixes the buttons multiple generations and the toggle behavior as well.

this.categories = Array.from(Object.keys(classnames)).map(this.createCategory);
this.categories = [];

Object.keys(classnames).forEach(this.createCategory);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.theme.getDefaultCategories().forEach(this.createCategory) on 4.4.

@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Sep 14, 2019
@fabpot
Copy link
Member

fabpot commented Sep 15, 2019

Thank you @fancyweb.

fabpot added a commit that referenced this pull request Sep 15, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[WebProfilerBundle] Fix time panel legend buttons

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #33536
| License       | MIT
| Doc PR        | -

It fixes the buttons multiple generations and the toggle behavior as well.

Commits
-------

7f4c8d3 [WebProfilerBundle] Fix time panel legend buttons
@fabpot fabpot merged commit 7f4c8d3 into symfony:4.3 Sep 15, 2019
@fancyweb fancyweb deleted the web-profiler-bundle-fix-time-legend-buttons branch September 15, 2019 11:48
@fabpot fabpot mentioned this pull request Oct 7, 2019
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