-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Reorganize Media Gallery stores configuration UI #29433
Reorganize Media Gallery stores configuration UI #29433
Conversation
Hi @konarshankar07. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
sortOrder="15" | ||
parent="Magento_Backend::content" | ||
resource="Magento_Cms::media_gallery" | ||
dependsOnConfig="system/media_gallery/enabled"/> |
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.
@sivaschenko ...
Do we need to display this menu if old media gallery is enabled?
Thanks
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.
Only Sores configuration representation should be changed in scope of the issue
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.
But I didn't understood if Enable Old Media Gallery
is set to Yes then the menu will be visible
@magento run Integration Tests |
@magento run Functional Tests CE |
@magento run Functional Tests CE |
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.
Thanks for the PRs @konarshankar07 ! Please see my comments
<field id="enabled" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0"> | ||
<label>Enabled</label> | ||
<label>Enable Old Media Gallery</label> | ||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
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.
@konarshankar07 can you please keep the existing value for enabled media gallery and just change the option values for Stores Configuration.
sortOrder="15" | ||
parent="Magento_Backend::content" | ||
resource="Magento_Cms::media_gallery" | ||
dependsOnConfig="system/media_gallery/enabled"/> |
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.
Only Sores configuration representation should be changed in scope of the issue
@magento run all tests |
Hi @sivaschenko, thank you for the review. |
Hi @konarshankar07, thank you for your contribution! |
Description (*)
This PR will reversed the media gallery configuration
Fixed Issues (if relevant)
Questions or comments
Contribution checklist (*)