-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add brief detail of Ui component related to frontend and Adminhtml area #4503
Conversation
An admin must run tests on this PR before it can be merged. |
Hi @speedy008 can you update your PR to include links to the Magento source code? |
@@ -70,7 +70,7 @@ UI component is a combination of: | |||
2. **JavaScript** class inherited from one of the Magento JavaScript framework UI components base classes (such as [UIElement]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uielement_concept.html), [UIClass]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uiclass_concept.html) or [UICollection]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uicollection_concept.html)). | |||
|
|||
|
|||
3. **Related template(s)** | |||
3. **Related template(s)** using KnockoutJs bindings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, remove this clarification. The existing list is about "what", but not "how". So, let's keep it simple.
Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rogyar removed clarification. make it simple
|
||
* Configured through layout XML | ||
|
||
* The jsLayout argument is used to specify information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The provided information is very useful.
However, as a reader, I have doubts about what exact information can we specify using jsLayout
.
If you could add an XML example for every case - it would be awesome.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added the small example of xml layout file for Ui component of frontend area
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Please, adjust the other versions of the documentation as well. As far as I see, you've added the mentioned example only for 2.3.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added an example in 2.2 and 2.3 version as well
running tests |
Hi @speedy008, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) Consist of Brief detail of UI Component in frontend and Adminhtml area
Affected DevDocs pages
whatsnew
Added 'UI component used in the frontend design area' and 'UI component used in the Adminhtml area' to Overview of UI components.