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 for issue 38703 deselect default attr options #38927

Open
wants to merge 10 commits into
base: 2.4-develop
Choose a base branch
from

Conversation

rostilos
Copy link
Contributor

@rostilos rostilos commented Jul 12, 2024

Description (*)

The ability to remove the default options under Visual, Text Swatch and Dropdown attributes has been added ( a separate button under the list )

And also - for multiselect attribute ( being finalized )

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes Default Product Attribute Settings Issue #38703

Manual testing scenarios (*)

1.Described in the original issue

Questions or comments

This is more as a suggested option, but I'd like to clarify implementation issues, perhaps the reviewers will suggest a better option

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)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Copy link

m2-assistant bot commented Jul 12, 2024

Hi @rostilos. Thank you for your contribution!
Here are some useful tips on 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
  13. Semantic Version Checker

You can find more information about the builds here
ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review.


For more details, review the Code Contributions documentation.
Join Magento Community Engineering Slack and ask your questions in #github channel.

@m2-github-services m2-github-services added Partner: Perspective Team partners-contribution Pull Request is created by Magento Partner labels Jul 12, 2024
@m2-community-project m2-community-project bot added the Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. label Jul 12, 2024
… for visual, text swatches and dropdown attributes ( fixes )
@orlangur orlangur self-assigned this Jul 17, 2024
@sinhaparul sinhaparul added the Project: Community Picked PRs upvoted by the community label Jul 17, 2024
@engcom-Hotel engcom-Hotel self-requested a review July 18, 2024 05:31
@engcom-Hotel
Copy link
Contributor

@magento run all tests

Copy link
Contributor

@engcom-Hotel engcom-Hotel left a comment

Choose a reason for hiding this comment

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

Hello @rostilos,

Thanks for the contribution!

The code changes look good to me, but please add some automated tests in accordance with the Definition of Done (DOD).

And also please look into the build failures.

Thanks

@engcom-Hotel
Copy link
Contributor

@magento run Static Tests, Functional Tests CE, Functional Tests EE, Functional Tests B2B

@engcom-Hotel
Copy link
Contributor

@magento run Functional Tests CE, Static Tests

@engcom-Hotel
Copy link
Contributor

@magento run all tests

@engcom-Bravo
Copy link
Contributor

@magento run all tests

@engcom-Bravo
Copy link
Contributor

@magento give me test instance

Copy link

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

Copy link

@engcom-Bravo
Copy link
Contributor

Hi @rostilos,

Thanks for the collaboration & contribution!

❌ QA not Passed

For the scenario 1 we got the button and we are able to reset the default option.

When we are selecting multiple options for Multi Select type attribute it is not saving all the options only some of the options got saved.

Please refer video :

Screen.Recording.2024-08-26.at.11.33.49.mov

Could you please let us know if we are missing anything.

Thanks.

@engcom-Bravo
Copy link
Contributor

Hi @rostilos,

Could you please look into this comment #38927 (comment) and please let us know if we are missing anything.

Thanks.

@rostilos
Copy link
Contributor Author

rostilos commented Sep 10, 2024

@engcom-Bravo
Hi!
Yes, I will revise soon ( I think this bug is unrelated to edits and is reproduced on the current version and it may be more appropriate to create a separate bugfix ticket instead of a feature, but I will double-check this and let you know or make fixes ).

@engcom-Bravo
Copy link
Contributor

Hi @rostilos,

Thanks for your update.

As per this comment #38927 (comment) We are moving this PR to ON HOLD till that time.

Thanks.

@engcom-Bravo
Copy link
Contributor

Hi @rostilos,

Internal team has started to work on it

Thanks.

@rostilos
Copy link
Contributor Author

rostilos commented Oct 4, 2024

@engcom-Bravo

Hi!
I have a small question regarding the process of reviewing PRs for contribution.
Our company occasionally makes contributions to the M2 repository, and I've repeatedly noticed messages under the pull-request “Internal team has started to work on it”.
This confuses me a bit, and I don't quite understand: in this case we should stop working on the PR, because the internal team is working on it, or we can continue working on it and the PR will be accepted in the future?

@engcom-Charlie
Copy link
Contributor

@engcom-Bravo

Hi! I have a small question regarding the process of reviewing PRs for contribution. Our company occasionally makes contributions to the M2 repository, and I've repeatedly noticed messages under the pull-request “Internal team has started to work on it”. This confuses me a bit, and I don't quite understand: in this case we should stop working on the PR, because the internal team is working on it, or we can continue working on it and the PR will be accepted in the future?

Hi @rostilos,

Thank you for your contribution!

Sorry, if we have created any confusion for you here. The intent to say "Internal team is working on it" is that, Magento core engineering team is working on the issue which you have addressed in this PR. Team will cherry pick the commits from your PR and may do further implementation to cover few more scenarios as needed. We will reach out to you if we need more information. For now, you can pause work on this PR.

Thank you once again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Perspective Team partners-contribution Pull Request is created by Magento Partner Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: ready for testing Project: Community Picked PRs upvoted by the community
Projects
Status: On Hold
Development

Successfully merging this pull request may close these issues.

Default Product Attribute Settings Issue
8 participants