This library is one of the open source projects of the Ville de Montréal which is currently under active development and which is also used to operate online services on montreal.ca.
Ville de Montreal has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
All work on this library happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process.
- You need to fork the project if you are not familiar with the process you can follow this article
- See if the component already exists or if someone is already working on it.
- If the specification does not exist, ask the UX team to produce it.
- If the specification exists on Confluence, read the specification and follow it to the letter.
- Produce the component according to the quality level and with the approach of Material Angular.
- The pull-request must contain the tests to guarantee that the component works, but also to avoid regressions for future modifications to the library.
- The pull-request must contain a story (see storybook) documenting the use of the new component.
- Put the component in PR and comply with change requests.
- Once the PR has been approved by at least two of the maintainers, the job is done! A new version of the lib is about to be released!
- Upgrade the version where necessary and enjoy a job well done and standardized that will be used by all 💗!
We will do our best to keep master
in good shape, with tests passing at all times. But in order to move fast, we will make API changes that your application might not be compatible with. We will do our best to communicate these changes and always version appropriately so you can lock into a specific version if need be.
My PR addresses the following Github issues and references them in the PR title. For example, "#XXX My PR" In case you are fixing a typo in the documentation you can prepend your commit with docs: xxxx #XXX, code changes always need a Github issue.
Here are some details about my PR, including screenshots of any UI changes:
- Clarify the documentation.
- No UI changes.
My PR adds the following unit tests OR does not need testing for this extremely good reason:
- It's just a simple documentation change.
My commits all reference Github issues in their subject lines (recommended), and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"
Open source software is made by people just like you! In case of new functionality, my PR adds documentation that describes how to use it.
In order to accept your pull request, we need you to submit a DCO. You only need to add -s
command line option to append this automatically to your commit message.
More details