Open clockworkgeek opened 5 years ago
Hi @clockworkgeek. Thank you for your report. To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento-engcom-team give me 2.3-develop instance
- upcoming 2.3.x release
For more details, please, review the Magento Contributor Assistant documentation.
@clockworkgeek do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
Hi @engcom-backlog-nazar. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Verify that the issue is reproducible on 2.2-develop
branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop
branch, please add the label Reproduced on 2.2.x
Next steps are available in case you are a member of Community Maintainers.
[ ] 6. Add label Issue: Confirmed
once verification is complete.
[ ] 7. Make sure that automatic system confirms that report has been added to the backlog.
Hi @clockworkgeek thank you for you report, this modules not deployed to frontend or adminhtml, if you recheck pub/static
folder this files not exists.
Thank you @engcom-backlog-nazar for looking into this. LESS files are not static so will not be deployed to pub/static
. They are copied to var/view_preprocessed
and then compiled into styles.css
, styles-m.css
, and styles-l.css
.
:white_check_mark: Confirmed by @engcom-backlog-nazar
Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-98455
, MAGETWO-98456
were created
Issue Available: @engcom-backlog-nazar, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Hi @cmtickle. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. Verify that the issue is reproducible on 2.2-develop
branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop
branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
Hello @clockworkgeek
Thank you for contribution and collaboration!
I can confirm that from the first glance there is no sense to have these *.less files in Open Source Codebase. And it is logical and obvious decision to move them to Commerce Source.
But it will have negative consequences on composer installation approach. Especially how Magento builds the packages for composer We do not have separate theme packages(blank/luma) for Open Source and Commerce yet
To develop complex fix for this issue need to have access to "Magento Composer package builder" which is internal only.
So, unfortunately, we have to close this PR and related issue and wait for fix from Magento Core
Also, want to admit that the internal team several times tried to fix this issue by moving *.less but changes were reverted.
Additional information Internal Jira ticket with this issue:
MAGETWO-50837
"Remove unused less files from backend folders"Currently has REOPEN
status and blocked by another architecture ticket:
MAGETWO-44582
"Theme Extension Strategy"Thank you @sdzhepa for looking into this in detail. I hope you will find a solution.
Hello @sdzhepa
I think we can move the less
files of adminhtml
area from Magento CE to Magento EE (into modules).
Sergey, what do you think about it?
Hello @andrewbess
It seems your proposition has sense.
I see that internal Jira ticket MAGETWO-44582
"Theme Extension Strategy" still in status = OPEN
Let's try to ask @antonkril to help with this issue or with involving appropriate contact to discuss it here.
Makes sense. @buskamuza will probably be the best person to investigate the reason why the previous attempts failed? cc @maghamed
Hi @andrewbess. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
@antonkril I think it because it doesn't look like the correct solution. Please take a look at the screenshot below.
Yeah, I remembered that discussion now. In both options, we end up with files that are potentially unused. But your proposal was about adminhtml, which, with AdminUI modules should not be a problem.
So, I add the checker of the fixed file here
Summary (*)
The three standard themes have several folders which reference modules that do not exist in Community edition. They mostly contain
_module.less
files and this leads to unused style rules in the deployed CSS. Also it's a little bit annoying.Examples (*)
The following folders are superfluous:
Proposed solution
Move the mentioned resources to the appropriate theme or the modules' own
view
folders.