-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Allow shipment update emails to be disabled #33166
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
Conversation
Hi @kassner. 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 |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
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.
Hi @kassner, thank you for your contribution. Could you please cover this fix by any automated tests (MFTF, integration)?
Optionally, may I ask you for a minor adjustment, to move the admin__field admin__field-option
div to if condition?
magento2/app/code/Magento/Sales/view/adminhtml/templates/order/view/history.phtml
Lines 44 to 55 in 8599e3c
<div class="admin__field admin__field-option"> | |
<?php if ($block->canSendCommentEmail()): ?> | |
<input name="history[is_customer_notified]" | |
type="checkbox" | |
id="history_notify" | |
class="admin__control-checkbox" | |
value="1" /> | |
<label class="admin__field-label" for="history_notify"> | |
<?= $block->escapeHtml(__('Notify Customer by Email')) ?> | |
</label> | |
<?php endif; ?> | |
</div> |
ℹ️ The current failed builds aren't related to your changes.
Thank you.
Oh. No. I was expecting this to be a quick fix. Setting up MFTF is way out of my league :( |
Hi @kassner, I understand, indeed it's a quick one, however to avoid happening in the future, it's better to have it covered by some tests. So, no worries about that. |
@eduard13 I have added the MFTF test for current changes. Please, check it. Thanks. |
@magento run WebAPI Tests, Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests, Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
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.
Thank you @kassner for your contribution.
Hi @eduard13, thank you for the review. |
✔️ QA Passed Pre Conditions
Manual testing scenario:
Before: ✖️ After: ✔️ Additionally covered:
|
As per the latest edited details in the Comment , moving the PR fix for next step "Merge in Progress". |
Hi @kassner, thank you for your contribution! |
Description
Already in place for invoices and creditmemos:
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Sales/view/adminhtml/layout/sales_order_invoice_view.xml#L26-L30
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Sales/view/adminhtml/layout/sales_order_creditmemo_view.xml#L25-L29
Fixed Issues (if relevant)
Manual testing scenarios
See #33165
Contribution checklist