Skip to content

[ReadMe] updated readMe file for Persistent-QuoteAnalitics #32356

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

Conversation

vlmed
Copy link
Contributor

@vlmed vlmed commented Mar 3, 2021

Description (*)

Update README.md file for modules:

  • Magento_Persistent
  • Magento_ProductAlert
  • Magento_ProductVideo
  • Magento_Quote
  • Magento_QuoteAnalitics

Fixed Issues (if relevant)

  1. magento/devdocs 4451: README content for modules - work in M2 Code

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 Mar 3, 2021

Hi @vlmed. Thank you for your contribution
Here are 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
  13. Semantic Version Checker

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.

⚠️ According to the Magento Contribution requirements, all Pull Requests must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@gabrieldagama gabrieldagama added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Mar 4, 2021
@bgorski bgorski self-assigned this Mar 23, 2021
@bgorski bgorski self-requested a review March 23, 2021 18:32
Magento\Persistent module enables set customer a long-term cookie containing internal id (random hash - to exclude brute
# Magento_Persistent module

This module enables set customer a long-term cookie containing internal id (random hash - to exclude brute
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rephrase this to "this module enables setting ... for a customer" or something similar. "This module enables set customer ..." doesn't look valid.

- `Magento_Checkout`
- `Magento_PageCache`

The Magento_Persistent module creates the `persistent_session` table in the database.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some information about the schema/column not being persistent (e.g. not having to be manually removed) when the module gets disabled and setup:upgrade is run.


This module enables product alerts, which allow customers to sign up for emails about product price or stock status change.

## Installation
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some information about the schema/column not being persistent (e.g. not having to be manually removed) when the module gets disabled and setup:upgrade is run.
Additionally, please add information about the recurring script in the module and if its modification need to be manually reverted upon uninstallation.

- `Magento_Catalog`
- `Magento_Backend`

The Magento_ProductVideo module creates the `catalog_product_entity_media_gallery_value_video` table in the database.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some information about the schema/column not being persistent (e.g. not having to be manually removed) when the module gets disabled and setup:upgrade is run.

The Magento_Quote module does not have any specific system requirements.
The Magento_Quote module is one of the base Magento 2 modules. You cannot disable or uninstall this module.

The following modules depend on this module:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if listing dependent modules here is a good idea. The README.md file obviously requires more maintenance now. However, it's relatively easy to maintain it when changes are made inside the module itself, but can be challenging in case of this list as it would require maintaining it when other modules are modified or added. Sometimes that would require adding commits/PRs to more than one project (e.g. if a new EE module depends on this one).

- `Magento_Catalog`
- `Magento_Customer`

The Magento_ProductAlert module creates the following table in the database:
Copy link
Contributor

Choose a reason for hiding this comment

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

A typo - "table" should be "tables"

- `Magento_SalesRule`
- `Magento_Weee`

The Magento_Quote module creates the following table in the database:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some information about the schema/column not being persistent (e.g. not having to be manually removed) when the module gets disabled and setup:upgrade is run.

Also - a typo - "table" should be in the plural form.

Additionally, please cover all the data patches here and mention if modifications introduced in them can have to be manually removed/reverted after the module uninstallation.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should mention any schema / data reverting as this module should not be disabled or removed.


#### Guest

- `\Magento\Quote\Api\GuestBillingAddressManagementInterfacee`
Copy link
Contributor

Choose a reason for hiding this comment

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

a typo - Interfacee instead of Interface (not that it matters that much, but still)

The Magento_QuoteAnalytics module configures data definitions for a data collection related to the Quote module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.4/advanced-reporting/modules.html).
This module configures data definitions for a data collection related to the Quote module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.3/advanced-reporting/modules.html).

## Installation
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a mention that this module doesn't introduce any db modifications or new data (so everyone reading the readme knows that this is what happens - a lack of any mention might be considered just an omission, not as info that nothing gets added).

@bgorski
Copy link
Contributor

bgorski commented Mar 23, 2021

@vlmed good job adding all those readme files! I had a few comments, but the overall effect looks great!

@bgorski
Copy link
Contributor

bgorski commented Mar 23, 2021

@magento run all tests

@bgorski
Copy link
Contributor

bgorski commented Mar 24, 2021

@magento run WebAPI Tests, Unit Tests, Functional Tests B2B


### Layouts

This module introduces the following layouts in the `view/frontend/layout` directory:
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually it doesn't introduce those - it's only a "client" of layout handles introduced by Magneto_Customer - please remove them from here.
I initially haven't noticed that this comment should be added here, but better late than never.

@engcom-Foxtrot
Copy link
Contributor

@magento run all tests

@engcom-Foxtrot
Copy link
Contributor

@bgorski updated, please review.

@magento-engcom-team
Copy link
Contributor

Hi @bgorski, thank you for the review.
ENGCOM-9026 has been created to process this Pull Request
✳️ @bgorski, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

@engcom-Foxtrot
Copy link
Contributor

False-positive Functional Tests EE failure. PR changes cannot affect MFTF tests as it's only modifying readme files.

@m2-assistant
Copy link

m2-assistant bot commented Apr 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Persistent Component: ProductAlert Component: ProductVideo Component: Quote Component: QuoteAnalytics Event: Adobe Summit Hackathon Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: accept Release Line: 2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants