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

Implement 'meaningful' checks to email html #111

Conversation

convenient
Copy link
Contributor

@convenient convenient commented Oct 31, 2023

For #110

Implement "meaningful" checks for .html email templates.

In this case vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/email/ignore.html had some changes that were a comment or whitespace, so not worth actually reporting. It's flagged as ignored and hidden by default.

| IGNR  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/email/ignore.html                                       | app/design/frontend/Ampersand/theme/Ampersand_TestVendor/email/ignore.html                                                         |

In this case vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/email/redundant.html had some changes made to it, and the contents now equate to app/design/frontend/Ampersand/theme/Ampersand_TestVendor/email/redundant.html so the local app/design copy is redundant and can be removed.

| WARN  | Redundant Override       | vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/email/redundant.html                                    | app/design/frontend/Ampersand/theme/Ampersand_TestVendor/email/redundant.html                                                      |

@convenient convenient marked this pull request as ready for review November 1, 2023 19:17
@convenient convenient merged commit fe63dc1 into poc-meaningful-semantic-understanding-of-file-changes Nov 1, 2023
2 checks passed
@convenient convenient deleted the poc-meaningful-semantic-understanding-of-file-changes-html-email branch November 1, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant