Thank you for interest in contributing to the Orderly Dashboard project! We welcome contributions from everyone. Below are various bits of information to help you get started.
All the contributions to orderly dashboard
happen via Pull Requests. Please follow the following steps when creating a PR:
- Fork the
orderly dashboard
repository and create a new branch there to do your work. - The branch can contain any number of commits. When merged, all commits will be squashed into a single commit.
- The changes should be thoroughly tested. Please refer to this document for our testing guidelines and an overview of the testing infrastructure.
- Code should be formatted.
- Building process should be
0
errors and0
warnings. - When ready, send a pull request against the master branch of the
orderly dashboard
repository. - Feel free to submit draft PRs to get early feedback and to make sure you are on the right track.
- The PR name should follow the template:
<type>(scope): <name>
. Wheretype
is:
fix
for bug fixes;feat
for new features;refactor
for changes that reorganize code without adding new content;doc
for changes that change documentation or comments;test
for changes that introduce new tests;chore
for grunt tasks like updating dependencies.
And thescope
is:indexer
: orderly dashboard indexeranalyzer
: orderly dashboard analyzerquery service
orQs
: orderly dashboard query serviceFE
: orderly dashboard front end- empty: didn't make change on above scopes.
- The PR should also contain a description when appropriate to provide additional information to help the reviewer inspect the proposed change.
cd orderly-dashboard-indexer
# or `cd orderly-dashboard-analyzer`
diesel migration run
- confirm to add changes in
schema.rs
:
git add schema.rs
- should not change sql in legacy migrations, those changes may not take effects. For example in this commits, delete sql in
migrations/2024-03-14-234455_gas_fee/up.sql
but didn't updatesschema.rs