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

Avoid accidental removal of some frontend dependencies #7140

Merged

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented May 1, 2021

Subject

I am targeting this branch, because this is only applies to master.

Part of #7049

I tried to remove jquery-slimScroll and jquery-scrollTo but found that they are used outside this bundle:

jquery-slimScroll is kind of used for admin-lte
jquery-scrollTo is used by other sonata bundles

I just added some explanations to the javascript, just in case someone tries to remove them. Ideally the dependencies should be placed where the usage is done, but for now this is better than nothing.

I also added postcss, it was a missing dependency

@jordisala1991 jordisala1991 requested a review from a team May 1, 2021 07:45
@jordisala1991 jordisala1991 marked this pull request as draft May 1, 2021 07:47
@jordisala1991 jordisala1991 marked this pull request as ready for review May 1, 2021 08:30
@jordisala1991 jordisala1991 changed the title Remove scrollTo jquery plugin Avoid accidental removal of some frontend dependencies May 1, 2021
VincentLanglet
VincentLanglet previously approved these changes May 1, 2021
@VincentLanglet VincentLanglet requested a review from a team May 1, 2021 11:09
@OskarStark OskarStark merged commit f148d75 into sonata-project:master May 1, 2021
@jordisala1991 jordisala1991 deleted the hotfix/remove-scroll-to branch May 1, 2021 11:47
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.

3 participants