Open OmolemoBlessingLethuloe opened 1 year ago
Add code snipets
Hi @ktsapo , please review this documentation: https://docs.shesha.io/docs/front-end-basics/how-to-guides/custom-components
Hi @Lukeybooi ,I received feedback from the developers who reviewed the documentation. They mentioned that the documentation is too long and suggested adding pagination to break it into smaller, more manageable sections.
Additionally, they found it unclear and difficult to follow, saying it’s not very user-friendly. They also recommended including a step-by-step guide to help users create their first custom component.
@Lukeybooi we also received feedback from Zakhele, see the below comment
How do I create a custom component. The only part I get is exposing it on the app-provider but I can't comprehend where the process starts
and this is from Tshepo
The documentation primarily focuses on the designer component, but I think it would be more helpful to show a simple React component that demonstrates the flow and how everything works, rather than just a div. This would also clarify where the business logic of the component should be placed.
If we could expand more on the folder structure to indicate where to place the designer component, React component, utilities, providers, etc., it would help external contributors follow Boxfusion standards when contributing to the framework.
Additionally, it would be beneficial to include a section for "Additional Things to Know," such as:
How to expose configurable actions for your component
How to access user settings at the code level
In summary, we need to ensure that the documentation is clear and understandable for first-time users, so they don't have many questions after reading it.
Tasks:
Documentation Review:
Content Creation:
Code Samples:
Integration with Existing Documentation:
Visual Aids:
Testing Documentation:
Collaboration:
Version Control:
Definition of Done: