Open onlinebizsoft opened 1 year ago
Hi @onlinebizsoft. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
@mrtuvn can you check and confirm?
Hi @engcom-Hotel. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hello @onlinebizsoft,
Thanks for the report and collaboration!
As per the description of this issue as well as https://github.com/magento/magento2/issues/32810, it seems that we need to optimize the lib/web/jquery/ui-modules/dialog.js
file.
But to speed up the processing of this issue, please provide us with the following information:
Thanks
Hello @onlinebizsoft,
Have you got a chance to check the above comment?
Thanks
@engcom-Hotel
Information on your environment Steps to reproduce
I don't think we need any specific environment because I have mentioned clearly where the issue is wrong. I'm not sure in which case the dialog.js will be loaded (maybe it is loaded by default or you can declare a JS which use it)
Expected and actual results
When dialog.js is used, it should not load TOO many other JS libs which is not necessary as in my screenshot.
You can see that the issue was fixed one time in past in ticket https://github.com/magento/magento2/issues/32810
Summary
Magento improved from time to time but seems to break performance again after a recent update
https://github.com/magento/magento2/issues/32810 - we removed some unnecessary dependencies from this ticket https://github.com/magento/magento2/commit/fa87f9299985cf0b7d1b778f056bfceff1aec231 - after an upgrade, dialog.js get wrong again
Examples
https://github.com/magento/magento2/blob/fa87f9299985cf0b7d1b778f056bfceff1aec231/lib/web/jquery/ui-modules/widgets/dialog.js
Proposed solution
We should review and remove dependencies from here again
Release note
No response
Triage and priority