Version 2
What is new? Migration Guide From V1
Getting Started
Understanding WinnetouJs Setting Up
Constructos
Creating Constructos Advanced Options Lazy Loading
Mutables
Constructos State Management Case: Custom State Management System Winnetou FX
Addons
Winnetou Selectors Winnetou Router App Translations CSS Sass Built-in Transpiler SVG Icons Color Themes
Extras
Useful JsDoc Syntax
Plugins
Creating Plugins SlideScreen Official Plugin Animate Official Plugin
Compiling to Production
WBR
API Change Log Git Hub Pull Requests Guidelines Get in touch

Pull Requests Guidelines


Here you can find some important topics to make your pull request more effective.

Clear Commit Messages

While you understand your code and the reasons for your changes, the reviewer may not. Commit messages should clearly communicate the purpose and context of the changes.

A great way to ensure clarity and consistency is by following the Conventional Commits Specification, which uses the following format:

<type>[optional-scope]: <description>

feat(shop-api): add voucher validation

This approach makes commit history easier to read and maintain, while also providing valuable context for future reference.

Crafting Meaningful Pull Requests

A pull request is more than just a submission of code — it is an opportunity to provide context, clarify your intentions, and ensure that the changes you introduce align with the goals of the project. While commit messages are crucial for individual changes, the pull request as a whole should offer a clear and cohesive explanation of the work being done.

In the spirit of maintaining clarity and consistency within the WinnetouJs documentation, we encourage the use of a standardized template for all pull requests. This helps both contributors and reviewers focus on what matters most: the substance of the changes and the intent behind them. A well-crafted pull request should include:

Adopting this approach streamlines the review process, making it easier for others to follow your work and collaborate effectively.

Conclusion

Following clear and consistent guidelines for pull requests ensures smooth collaboration and a streamlined review process. By providing concise, descriptive commit messages and well-organized PRs, you help maintain clarity within the WinnetouJs project.

Adopting these practices will not only make your contributions easier to review, but also create a valuable and maintainable codebase that fosters collaboration. Always remember that communication is key — a well-crafted pull request tells the story of your changes, making it easier for others to understand, contribute, and provide meaningful feedback.

Together, we can ensure that each contribution aligns with the vision of the project, improving the overall quality and coherence of WinnetouJs.