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

Replace oudated jqueryuiSortable by modern SortableJS #78

Merged
merged 5 commits into from
Jan 9, 2023

Conversation

leemyongpakvn
Copy link
Contributor

@leemyongpakvn leemyongpakvn commented Nov 5, 2022

Questions Answers
Description? Please check the Fixed ticket below.
(I already made a similar PR for blockreassurance module. NeOMakinG suggested adding SortableJS to the Core js there to use as a common library, but waiting to the next major version is indefinite so I chose using SortableJS as the module's local lib here)
Type? refacto
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#30210. Related to Issue 27186 (partialy)
How to test? 1. Apply this PR changes
2. Clear Web browser cache and PrestaShop BO cache
3. Check sortable feature in the module BO Config's Slides list to make sure the item can be dragged, dropped and saved there, then showed in FO accordingly, as usual.

@leemyongpakvn leemyongpakvn marked this pull request as ready for review November 6, 2022 07:39
while it is not common in Core yet
while it is not common in Core yet
Copy link

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

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

🍭

@MhiriFaten MhiriFaten self-assigned this Jan 9, 2023
Copy link

@MhiriFaten MhiriFaten left a comment

Choose a reason for hiding this comment

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

Hello @leemyongpakvn ,

I have checked your PR and it is QA approved ✔️

Thank you!

@kpodemski kpodemski modified the milestones: 3.1.1, 3.1.2 Jan 9, 2023
@kpodemski
Copy link
Contributor

Well done @leemyongpakvn 👏 thank you

@kpodemski kpodemski merged commit 4b50dd9 into PrestaShop:dev Jan 9, 2023
@leemyongpakvn
Copy link
Contributor Author

leemyongpakvn commented Jan 9, 2023

Great @kpodemski 🎆 . I think we need to complete the related ongoing PR with blockreassurance before closing PrestaShop/PrestaShop#30210.

@leemyongpakvn leemyongpakvn deleted the patch-1 branch March 29, 2023 00:48
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.

Stop using jqueryuiSortable and jquerySortable in native modules
6 participants