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

Fix icon advance attributes properties not change #28032

Conversation

mrtuvn
Copy link
Contributor

@mrtuvn mrtuvn commented Apr 29, 2020

Description (*)

Previously icon not change after user click on fieldset to expand content
Normal behavior icon will change to indicator user content expanded. Just like product form fieldset
After this patch icon changed correctly as expected

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes Admin attributes Advanced Attribute Properties icon doesn't change while collapsing block #26022: Admin attributes Advanced Attribute Properties icon doesn't change while collapsing block
  2. Fixes Toggle icon not working in create configuration Product creation Page #22702 Toggle icon not working in create configuration Product creation Page
    Summary grid in modal when configurable product create
    Recheck

Manual testing scenarios (*)

  1. Magento 2.3.4+
  2. Login admin > Store -> Attributes / Product -> Edit or create new any attribute -> Go tab properties -> Advanced attribute properties
  3. Open tab advanced attribute properties

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 29, 2020

Hi @mrtuvn. 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.

@edenduong edenduong self-assigned this Apr 29, 2020
@edenduong edenduong added Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Award: bug fix labels Apr 29, 2020
@edenduong
Copy link
Contributor

@magento give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @edenduong. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @edenduong, here is your new Magento instance.
Admin access: https://pr-28032.instances.magento-community.engineering/admin_efab
Login: 6fe18699 Password: f7e4c09c0f7f
Instance will be terminated in up to 3 hours.

@edenduong
Copy link
Contributor

@magento give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @edenduong. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @edenduong, here is your new Magento instance.
Admin access: https://pr-28032.instances.magento-community.engineering/admin_5141
Login: d27f8fa2 Password: 3adca73269c9
Instance will be terminated in up to 3 hours.

Copy link
Contributor

@edenduong edenduong left a comment

Choose a reason for hiding this comment

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

Hello @mrtuvn : Thank you for your contribution. This issue #22702 will occur again after your PRs. And I think the not active and active collapse can not have the same content icon "close". Could you please check it again and update your Pull Request ? Thank you !

&.active {
&:before {
content: @icon-expand-open__content;
content: @icon-expand-close__content;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think not active and active can not have the same content : "close". And this issue #22702 will occur again if you edit this line from "open" to "close"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @edenduong after see issue 22702 i just found another problem exist!. The class opened already hardcoded in html and seem not work properly as expected. If you click on title that class not change or removed
Here is reference
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/ConfigurableProduct/view/adminhtml/web/template/variations/steps/summary-grid.html#L8

Copy link
Contributor Author

@mrtuvn mrtuvn Apr 30, 2020

Choose a reason for hiding this comment

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

@magento-engcom-team
Copy link
Contributor

Hi @edenduong, thank you for the review.
ENGCOM-7505 has been created to process this Pull Request

@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

Manual testing scenario:

  1. Login admin > Store -> Attributes / Product -> Edit or create new any attribute -> Go tab properties -> Advanced attribute properties
  2. Open tab advanced attribute properties

Before:
Peek 2020-05-04 14-31

After:
Peek 2020-05-04 16-23

@engcom-Charlie engcom-Charlie self-assigned this May 4, 2020
@slavvka slavvka added this to the 2.4.1 milestone May 5, 2020
@slavvka slavvka added Priority: P3 May be fixed according to the position in the backlog. Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. labels May 5, 2020
@m2-assistant
Copy link

m2-assistant bot commented May 21, 2020

Hi @mrtuvn, 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.

@magento-engcom-team magento-engcom-team added the QA: Added to Regression Scope Scenario was analysed and added to Regression Testing Scope label May 22, 2020
@mrtuvn mrtuvn deleted the fix-26022-icon-advance-attributes-properties-not-change branch June 7, 2020 10:40
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Design/Frontend Area: Frontend Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Award: bug fix Component: ConfigurableProduct Priority: P3 May be fixed according to the position in the backlog. Progress: accept QA: Added to Regression Scope Scenario was analysed and added to Regression Testing Scope Release Line: 2.4 Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”.
Projects
Archived in project
6 participants