-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[Forwardport] Resolved : JS files located outside the web/js directory #16708
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
[Forwardport] Resolved : JS files located outside the web/js directory #16708
Conversation
Hi @hitesh-wagento. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
As per you comment in #16582 I have created new PR based on 2.3-develop branch. |
@VladimirZaets @hitesh-wagento what if we will just create map between old and new paths? In this case - this change will be backward compatible, so we can add them even to 2.2.x. Am I wrong? var config = {
map: {
'*': {
transparent: 'Magento_Payment/js/transparent',
'Magento_Payment/transparent': 'Magento_Payment/js/transparent'
}
}
}; |
@magento-engcom-team give me test instance |
Hi @larsroettig. Thank you for your request. I'm working on Magento instance for you |
Hi @larsroettig, here is your new Magento instance. |
Manual Testing
Manual Testing looks very good |
Any update in this PR ? 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.
-
Please create PR to
2.2-develop
branch first -
Please implement changes in all requirejs-config.js files that I described in #16708 (comment) (in 2.2-develop PR only)
-
Please create separate commit for separate module in order to have ability apply these changes as described in https://support.magento.com/hc/en-us/articles/360005484154-Create-a-patch-for-a-Magento-2-Composer-installation-from-a-GitHub-commit
Previously I have created PR based to 2.2-develop but @VladimirZaets told me created PR based on 2.3-develop. could you please suggest what can I do ?
|
Hi @hitesh-wagento ,
If you have any questions - feel free to contact me in slack |
Hi @hitesh-wagento, |
Hi @hitesh-wagento. Please apply the fix provided by @ihor-sviziev to Magento 2.2 release line. |
@VladimirZaets Thanks for reply. |
I have completed all changes 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.
I can't find changes that you did in: https://github.com/magento/magento2/pull/16582/files#diff-ce4bc7c513c965385f8696ebc9545f42
Everything else looks good
…ion-changed-2.3-develop
Hello @ihor-sviziev I have checked again all module and added send friend module changes. Thanks |
Any update in this PR ? Thanks |
Hi @hitesh-wagento, Could squash all your changes into single commit and force push your changes or merge 2.3-develop branch? |
Hello @ihor-sviziev Could you please share with me steps how to merge all commits in one commit? Thanks |
Hi @hitesh-wagento could you just merge 2.3-develop branch from magento/magneto2 repository? It will be much easier |
@@ -0,0 +1,22 @@ | |||
/** |
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.
This file was removed in efdc2e3#diff-90e2539e902c667160d28b2cb3c56486
No need to create it again.
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.
Removed and push again
Hi @ihor-sviziev, thank you for the review. |
Hi @hitesh-wagento. Thank you for your contribution. |
Description
Some JS files are direct children of
web
rather thanweb/js
. This does not follow instructions from the dev docs thus is confusing.Fixed Issues (if relevant)
Expected result
web/js
as per the dev docs.Actual result
web
, this is inconsistent with the dev docs.Contribution checklist
Original PR
#16582