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

ISSUE#21446: Removed unnecessary files to move them to Magento Commerce #27610

Closed
wants to merge 3 commits into from

Conversation

andrewbess
Copy link

@andrewbess andrewbess commented Apr 5, 2020

Description (*)

This PR partially fixes the issue#21446. It removes the less files of the adminhtml area and some less files from frontend area (that haven't been separated for different frontend themes) to move them to Magento Commerce

Related Pull Requests

https://github.com/magento/partners-magento2ee/pull/173

Fixed Issues (if relevant)

  1. Fixes Community themes contain resources for Commerce edition modules #21446: Community themes contain resources for Commerce edition modules

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Apr 5, 2020

Hi @andrewbess. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@magento-engcom-team magento-engcom-team added Release Line: 2.4 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Apr 5, 2020
@ihor-sviziev ihor-sviziev self-assigned this Apr 28, 2020
@ihor-sviziev ihor-sviziev added Cleanup Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests labels Apr 28, 2020
@ihor-sviziev
Copy link
Contributor

@magento run Static Tests

@ghost ghost added the Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. label Apr 28, 2020
@ihor-sviziev
Copy link
Contributor

Hi @slavvka @lenaorobei ,
Could you help to understand why static test fails?

@slavvka
Copy link
Member

slavvka commented Apr 28, 2020

@ihor-sviziev

01:43:04 1) Magento\Test\Less\LiveCodeTest::testCodeStyle
01:43:04 Magento\Framework\Exception\LocalizedException: The following patterns didn't return any result:
01:43:04 app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module-old.less
01:43:04 
01:43:04 /var/www/html/lib/internal/Magento/Framework/App/Utility/Files.php:1617
01:43:04 /var/www/html/dev/tests/static/testsuite/Magento/Test/Less/LiveCodeTest.php:76
01:43:04 /var/www/html/dev/tests/static/testsuite/Magento/Test/Less/LiveCodeTest.php:57

Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @andrewbess,
Could you investigate why static test fails and adjust your PR or test itself? As for me message isn't clear at all, but definitely there should be some meaning behind that failure.

Thank you!

@ihor-sviziev
Copy link
Contributor

Hi @andrewbess,
Will you be able to update your PR?

@ihor-sviziev
Copy link
Contributor

@andrewbess I am closing this PR now due to inactivity.
Please reopen and update if you wish to continue.
Thank you for the collaboration!

@m2-assistant
Copy link

m2-assistant bot commented May 25, 2020

Hi @andrewbess, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@rogyar rogyar reopened this Aug 12, 2020
@m2-assistant
Copy link

m2-assistant bot commented Aug 12, 2020

Hi @andrewbess. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests

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.

@ghost ghost unassigned ihor-sviziev Aug 12, 2020
Andrii Beziazychnyi and others added 2 commits August 12, 2020 14:34
…andrewbess/magento2 into ISSUE-21446

� Conflicts:
�	app/design/adminhtml/Magento/backend/Magento_CatalogPermissions/web/css/source/_module.less
@andrewbess
Copy link
Author

@magento run all tests

@sidolov sidolov added the Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. label Aug 17, 2020
@ihor-sviziev ihor-sviziev self-assigned this Sep 7, 2020
@ihor-sviziev
Copy link
Contributor

@magento run all tests

@ihor-sviziev
Copy link
Contributor

@magento run Static Tests

Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @andrewbess,
Unfortunately static tests still fails, please review and fix them

@ihor-sviziev ihor-sviziev added this to the 2.5 milestone Sep 11, 2020
@ihor-sviziev
Copy link
Contributor

I think this change could break some functionality related to ee / b2b, so added milestone 2.5.

@ihor-sviziev
Copy link
Contributor

@andrewbess will you be able to update your PR?

@ihor-sviziev
Copy link
Contributor

@andrewbess I am closing this PR now due to inactivity.
Please reopen and update if you wish to continue.
Thank you for the collaboration!

@m2-assistant
Copy link

m2-assistant bot commented Sep 24, 2020

Hi @andrewbess, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@friendscottn
Copy link

This issue probably shouldn't be closed, but if you arrived here like me because you working on performance and removing unused css, take a look at this related issue #24666. If the issue has not be resolved in your version of Magento there's a patch to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Design/Frontend Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Cleanup Event: Global-Contribution-Day Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Progress: needs update Release Line: 2.4 Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Community themes contain resources for Commerce edition modules
7 participants