-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Improve openDialog method initialization #27566
Improve openDialog method initialization #27566
Conversation
Hi @Nazar65. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
lib/web/mage/adminhtml/browser.js
Outdated
* @param {*} title | ||
* @param {Object} options | ||
*/ | ||
openDialogNewMediaGallery: function (url, width, height, title, options) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use "new" in the name is bad practice. Please use words that describe behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I ask you to change other places that have "new", like is_new media_gallery
?
@kandy done ✔️ |
app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js
Outdated
Show resolved
Hide resolved
Hi @Nazar65, Thank you for contribution. |
…lery if it was opened second time from different control on the same page
…lery if it was opened second time from different control on the same page
@magento run all tests |
Hi @lenaorobei, thank you for the review. |
Failed functional tests B2B not related to the changes in this pr |
@magento run all tests |
Hi @Nazar65, thank you for your contribution! |
Description (*)
Related Pull Requests
magento/magento2-page-builder#450
magento/adobe-stock-integration#1186
Dependent PRs
Fixed Issues (if relevant)
Manual testing scenarios (*)
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Media Gallery is loaded
Questions or comments
Contribution checklist (*)