This repository was archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add the documentation for the CheckboxToggleNotice UI component #6233
Merged
jeff-matthews
merged 5 commits into
magento:master
from
serhiyzhovnir:add-CheckboxToggleNotice-UI-component-documentation
Dec 19, 2019
Merged
Add the documentation for the CheckboxToggleNotice UI component #6233
jeff-matthews
merged 5 commits into
magento:master
from
serhiyzhovnir:add-CheckboxToggleNotice-UI-component-documentation
Dec 19, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An admin must run tests on this PR before it can be merged. |
rogyar
suggested changes
Dec 18, 2019
src/guides/v2.2/ui_comp_guide/components/ui-checkbox-toggle-notice.md
Outdated
Show resolved
Hide resolved
Hi @rogyar |
rogyar
approved these changes
Dec 19, 2019
jeff-matthews
approved these changes
Dec 19, 2019
running tests |
Hi @serhiyzhovnir, thank you for your contribution! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
2.2.x
2.3.x
Magento 2.3 related changes
New Topic
A major update published as an entirely new document
Partner: Atwix
partners-contribution
PR created by Magento partner
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose of this pull request
This pull request (PR) adds the documentation for the CheckboxToggleNotice UI component.
Affected DevDocs pages
It is a new page.
Links to Magento source code
Example of usage:
I did not find a direct using of the CheckboxToggleNotice component in the Magento, but this component marked as @api.
Also, we noticed that the https://github.com/magento/magento2/blob/2.3/app/code/Magento/SalesRule/view/adminhtml/web/js/form/element/apply_to_shipping.js component inherits the CheckboxToggleNotice and the example of using the applyToShip component is here: https://github.com/magento/magento2/blob/2.3/app/code/Magento/SalesRule/view/adminhtml/ui_component/sales_rule_form.xml#L455-L481
whatsnew
Added a new topic about using the CheckboxToggleNotice UI component.