Skip to content
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

Sidebar menu toggle with admin-lte 2.4 #7085

Merged
merged 2 commits into from
Apr 18, 2021

Conversation

jordisala1991
Copy link
Member

Subject

I am targeting this branch, because this is a bug fix.

Changelog

### Fixed
- Fixed main sidebar toggling

The upgrade to admin lte v4: #7032 broke the sidebar menu, we are unable to toggle (open/close) it.

It is kind of bc break on their side: ColorlibHQ/AdminLTE#1666

This change fixes it.

@jordisala1991 jordisala1991 requested a review from a team April 18, 2021 15:52
@jordisala1991
Copy link
Member Author

This is the complete upgrade guide: https://adminlte.io/docs/2.4/upgrade-guide

@core23 can you take a look at it, just in case we missed something else?

@VincentLanglet
Copy link
Member

This upgrade guide is basically saying that the fact we upgraded admin-lte to 2.4 is a BC-break for the user.

Simple example: If I override {% block sonata_nav %} and use data-toggle="offcanvas", it won't work in the next minor version of SonataAdmin.

Should we revert the bump or at least adding the upgrade guide in our Changelog ?

@jordisala1991
Copy link
Member Author

I added an upgrade note. Not sure about this BC break. To me it is not so important and it can be documented. wdyt?

@VincentLanglet VincentLanglet requested a review from a team April 18, 2021 16:18
@VincentLanglet VincentLanglet merged commit 7ad4c38 into sonata-project:3.x Apr 18, 2021
@jordisala1991 jordisala1991 deleted the hotfix/toggle-menu branch April 18, 2021 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants