Welcome to our B01LER Contribution Page! We truly appreciate your interest in contributing to our project! 🎨✨
Dive into the heart of our project by contributing to its foundational elements: Explore this page to discover ways you can contribute — your involvement is greatly appreciated!
Curious about who can contribute to our project? The answer is simple: everyone is welcome! Whether you're a developer, designer, manager, or administrator of any kind, your contributions are highly valued. We believe in fostering a diverse community where individuals with various skill sets can collaborate to enhance our project.
It's worth noting that we are currently in the alpha stage, and while we enthusiastically welcome contributions, please understand that, at this moment, we may not have the capacity to manage a large influx of them. Your contributions are greatly appreciated as we continue to grow and develop our project!
- New contributor guide
- Contribution process overview
- Getting started
- Issues
- Branch
- Commits
- Testing / Validating
- Pull Request
- B01LER Monthly
NOTE
This documentation is focused towards contributions from developers, if you are looking for a guide for design contributions, please read the contribute documentation in Figma. Apart from code and design contributions, everyone is always invited to contribute by engaging with the community for example by commenting and giving input on issues or by starting and taking part in discussions in GitHub. Another way to contribute is by getting more eyes on the project. Just add a star to our repository! Or, if you are on Figma, add a heart to our Figma community page or leave a comment if you like the project.
To get an overview of the project and how to set it up, read the README. For more details about our Code of Conduct see CODE_OF_CONDUCT. Here are some resources to help you get started with open source contributions:
Contribution etiquette:
- While working on your contribution, please do not copy code from other frameworks or libraries
- Make small and frequent commits
- The default language for all written and spoken communication is english
- Every GitHub issue should have a corresponding branch, and vice versa - every bugfix or code change should already have an issue created for it
- No code should be merged or pushed to the develop branch without a pull request
- A merge request can only be merged if it has successful test results and at least two approvals
- Getting Started (Understand the projects file structure)
- Create new issue / select an existing issue
- Create new branch
- Commit your changes
- Validate / Run tests
- Create new pull request
- Code Review
Here you can find a quick overview of the whole contribution process, as well as in-depth explanations of each step.
Our project has the following file structure:
└── .github // GitLab CI/CD pipeline
└── .husky // Git hooks configuration files and scripts
└── .vscode // VS code extensions and settings json
└── .yarn // Yarn releases folder
└── doc // The documentation skeleton
└── packages
└── assets // Collection of resources, such as images and other files utilized in B01LER
└── eslint-config-boiler // Specific ESLint configuration for this project
└── figma-design-tokens // Design tokens configuration files and exported token json files
└── icons // Icon configuration files and a collection of icon files in svg format
└── js-example-app // Source code for js testing app for B01LER DS
└── storybook // Configuration files and compiling tools for Storybook
└── ui-library
└── .storybook // Configuration files for Storybook environment, assets, fonts and theme
└── src
└── components // Collection of individual B01LER DS components
└── foundation // Collection of generated token files and component and semantic tokens
└── globals // Exports of constants and types
└── util // Collection of utility or helper functions
└── CODE_OF_CONDUCT.md // Our Code of conduct
└── CONTRIBUTING.md // The file you have open right now
└── LICENCE.md // Software license that governs the use, distribution, and modification of B01LER
└── README.md // Introductory documentation for B01LER
Before being able to contribute to B01LER, you need to get yourself assigned to an issue. For this you could either apply to solve an existing issue or create a new issue.
Browse our existing issues to find one that interests you. If you would like to work on an issue, leave a comment stating your intent and assign yourself to the issue. If the issue already has an assignee, someone else is likely already working on it. The core team will check your issue to ensures that it is still relevant and give you approval to start working. Waiting for approval makes it less likely to get a rejected pull request. We will do our best to reply to you within a week.
Before creating a new issue, please check if your issue already exists. If a related issue doesn't exist, you can open a new issue using the same page. We currently have two issue templates. One is for bugs and the other one for everything else, like new features or also improvements of existing features.
How to write a useful issue?
- Use the existing issue templates.
- It should be specific. It's important that it addresses one specific topic.
- If it is a bug it should be reproducible. It should contain all the instructions needed to reproduce the same outcome.
- If the issue is about a component, please add the component name to the beginning of issue title, followed by a dash and a more in detail description of the issue. For example:
Text Button - add new variant
- For a first contribution, go to labels / filter by labels and see if there are issues tagged with the
good first issue
label - Search for the component name of the component you want to work on
- Filter by the
💚 contributor issue
label - Filter by the
🚨 new::bug
,⌨️ dev issue
,📋 task::backlog
and/or📋 task::ready
labels - Avoid tasks labeld with
⭕️ core team issue
,🚫 blocker
,🎨 design issue
,📋 task::planned
,📋 task::inProgress
,📋 task::inReview
,🦹 needs:contact
,🦹 needs:documentation
,🦹 needs:help
and/or🦹 needs:specs
For contributions we are using Gitflow as branching strategy. Here you can also find a short cheatsheet about Gitflow.
The branch name should not exceed a maximum character count of 140. Each branch should follow the following structure:
<branchType>/<issueNumber>_<summary>
- branchType: As defined in the Gitflow branching strategy, there are different types of branches. The allowed types
are:
release
,hotfix
andfeature
. - issueNumber: The issue number of your task. For example:
421
- summary: A few words describing the issue. When there are multiple words, you can use a hyphen to link the words.
For example:
text-area-storybook-documentation
The commits must be compliant with with the Conventional Commits specification. The commit header should not exceed a maximum character count of 140. The scope is allowed to be one of the following options: 'all', 'ui-library', 'icons', 'figma-design-tokens', 'tokens', or 'storybook'.
Please, before submitting any contribution, be sure that your branch is passing all the tests.
yarn test
yarn compile
Once your contribution is ready, it is time to create a pull request. Once your contribution is ready, it is time to
create a pull request.
Please create pull requests for the develop
branch and not for main
.
Please also make sure that pull requests are linked to the related issue using the Development
field in either the
pull request or the issue.
After you created a pull request, your code will be reviewed by the B01LER core team. Once the PR has two approvals,
your code will be merged to develop and will be part of a future release.
In case we find things we would like you to change we will leave comments. We kindly ask you to update your pull request
in regards of the requested changes. Once all comments have been solved the pull request will be merged.
We will try
our best to respond within a week to new pull requests. Contributors are also invited to review other contributors pull
requests, but in the end at least one member of the core team needs to approve it, before it can be merged.
Join the B01LER Monthly Session and ask questions, if you have any. The session takes place on the last Thursday of each month from 4 PM to 4:30 PM (CET). You can add the session to your calendar by following the guide in the pinned post of our Teams channel.
NOTE
You need to be part of the Accenture Org to be able to join the session.