Skip to content

Commit

Permalink
docs: add PR and issue creation guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
savindi7 committed Feb 1, 2024
1 parent acefc2d commit c438c4d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ As a contributor, here are the guidelines we would like you to follow:
- [Designing](#designing)
- [Versioning](#versioning)

You can contribute to the library by reviewing and providing comments on [pull requests](https://github.com/wso2/oxygen-ui/pulls) and [issues](https://github.com/wso2/oxygen-ui/issues), enhancing our [documentation](https://github.com/wso2/oxygen-ui/tree/main/docs/website), resolving bugs, or introducing new features through pull requests.

## Setting Up Development Environment

Follow this guide to set up the source code, development tools & other software.
Expand Down Expand Up @@ -129,6 +131,14 @@ From the root of the project, execute the following command to build the project
pnpm build
```

## Creating an issue

- Issues can be [created](https://github.com/wso2/oxygen-ui/issues/new/choose) for bugs, improvements and features.
- The fields in the issue template must be filled in detail. Add N/A if not applicable.
- Add necessary labels to facilitate filtering and grouping.

[Example issue](https://github.com/wso2/oxygen-ui/issues/203)

## Commit Message Guidelines

*This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].*
Expand Down Expand Up @@ -263,6 +273,24 @@ The content of the commit message body should contain:
- Information about the SHA of the commit being reverted in the following format: `This reverts commit <SHA>`.
- A clear description of the reason for reverting the commit message.

## Creating a PR

Once you [set up the development environment](#setting-up-development-environment),
1. Create a new branch:

```bash
git checkout -b my-topic-branch
```
2. Make changes, commit, and push to your fork:

```bash
git push -u origin HEAD
```
3. Go to the [repository](https://github.com/wso2/oxygen-ui) and open a pull request.
4. The fields in the PR description template must be filled in detail. Add N/A if not applicable.

The team regularly reviews new pull requests, deciding to merge, request changes, or close with an explanation.

## Designing

Designers working on the Oxygen UI Design System should use Figma as the source of truth for design assets and utilize Figma Tokens for creating design components. [Figma Tokens](https://tokens.studio/) is a tool that allows designers to create a set of standardized design variables (e.g., colors, typography, spacing) that can be reused across various design projects.
Expand Down

0 comments on commit c438c4d

Please sign in to comment.