You want to contribute to ui5-webcomponents-react
? Welcome! Please read this document to understand what you can do:
If you find a bug or some other issue with any part of the library, please submit an issue. Before doing so, please make sure that:
- The issue is not a duplicate issue.
- The issue has not been fixed in a newer release of the library.
- The issue is reproducible.
- Your explanation is clear and complete.
- You provide example code (preferably by forking this StackBlitz template) and optionally screenshots.
For accessibility issues:
- You follow the "Testing Accessibility" guidelines and include all relevant information.
If you meet the above criteria, you can submit issues with our GitHub issue tracker.
You can also use the issue tracker to request a new feature or enhancement. Even if you want to implement the feature yourself, please first submit an issue detailing your proposal so that we may discuss it with you and the community before moving forward.
GitHub offers labels to categorize issues. You can use the following labels:
Labels for issue categories:
bug
: Something isn't working / Issues in the code.documentation
: Issues with the documentation (repo and website documentation).feature-request
: New feature or enhancement requests.
Status of open issues:
(no label)
: The default status.contribution welcome
: The fix or enhancement is approved and you are invited to contribute to it.
It may happen that we add more labels to individual issues. These are used to describe the issue more granular, but you don't need to worry about that.
You are welcome to contribute code to ui5-webcomponents-react
in order to fix issues or to add new features.
Due to legal reasons, contributors will be asked to accept a DCO before they submit the first pull request to this projects, this happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there a certain requirements that need to be reflected and adhered to when making contributions.
Please see our guideline for AI-generated code contributions to SAP Open Source Software Projects for these requirements.
- Please let us know, that you want to work on the issue you've filed in the issue tracker.
- If the issue is marked with the
contribution welcome
tag, we'll assign you right away, otherwise we will check if some more information our guidance is needed and only then assign you to it. - Once you are assigned to the issue, you are ready to go.
- Fork the
ui5-webcomponents-react
repository into your GitHub account, create a branch and apply your change. Please don't work directly on themain
branch of your fork. This will help to update your fork in the future more easily. - Commit and push your change on that branch. Please follow our Development Conventions and Guidelines.
- Create a pull request from your branch into
ui5-webcomponents-react
-main
branch. - Follow the link posted by the CLA assistant to your pull request and accept it, as described above.
- Wait for our code review and approval, possibly enhancing your change on request.
Note that the
ui5-webcomponents-react
developers have many duties. So, depending on the required effort for reviewing, testing, and clarification, this may take a while. - Once the change has been approved and merged, we will inform you in a comment.
- Celebrate! 🎉
Remove all local branches which have been merged:
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done
Add your commit template for conventional commits:
git config commit.cleanup strip
git config commit.template "$(pwd)/config/.gitmessage"
If you use Sourcetree, please also enable in the Repository Settings the Custom Commit Template.