Skip to content

Latest commit

 

History

History
117 lines (68 loc) · 7.3 KB

CONTRIBUTING.md

File metadata and controls

117 lines (68 loc) · 7.3 KB

Contributing to Flyde

Flyde is an open-source, visual programming language. It runs in the IDE, integrates with existing TypeScript code, both browser and Node.js.

The Open Source Guides website has a collection of resources for individuals, communities, and companies. These resources help people who want to learn how to run and contribute to open source projects. Contributors and people new to open source alike will find the following guides especially useful:

Get involved

There are many ways to contribute to Flyde, and many of them do not involve writing any code. Here's a few ideas to get started:

  • Simply start using Flyde. Go through the Getting Started guide. Does everything work as expected? If not, we're always looking for improvements. Let us know by opening an issue.
  • Look through the open issues. A good starting point would be issues tagged good first issue. Provide workarounds, ask for clarification, or suggest labels. Help triage issues.
  • If you find an issue you would like to fix, open a pull request.
  • Read through our documentation. If you find anything that is confusing or can be improved, you can make edits by clicking "Edit this page" at the bottom left of the page.
  • Take a look at the features requested by others in the community and consider opening a pull request if you see something you want to work on.

Contributions are very welcome. If you think you need help planning your contribution, please ping us on Discord at flyde.dev/discord and let us know you are looking for a bit of help.

Triaging issues and pull requests

One great way you can contribute to the project without writing any code is to help triage issues and pull requests as they come in.

  • Ask for more information if you believe the issue does not provide all the details required to solve it.
  • Flag issues that are stale or that should be closed.
  • Ask for test plans and review code.

Bugs

We use GitHub issues for our public bugs. If you would like to report a problem, take a look around and see if someone already opened an issue about it. If you are certain this is a new unreported bug, you can submit a bug report.

If you have questions about using Flyde, contact us on Discord at flyde.dev/chat, and we will do our best to answer your questions.

If you see anything you'd like to be implemented, create a feature request issue

Reporting new issues

When opening a new issue, always make sure to fill out the issue template. This step is very important! Not doing so may result in your issue not being managed in a timely fashion. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.

  • One issue, one bug: Please report a single bug per issue.
  • Provide reproduction steps: List all the steps necessary to reproduce the issue. The person reading your bug report should be able to follow these steps to reproduce your issue with minimal effort. If possible, use the Playground to create your reproduction.

Pull requests

Proposing a change

If you would like to request a new feature or enhancement but are not yet thinking about opening a pull request, you can also file an issue with feature template.

If you're only fixing a bug, it's fine to submit a pull request right away, but we still recommend that you file an issue detailing what you're fixing. This is helpful in case we don't accept that specific fix but want to keep track of the issue.

Small pull requests are much easier to review and more likely to get merged.

Pre-requisites

  1. Ensure you have pnpm installed.
  2. Ensure you have VSCode installed.
  3. Ensure you have enabled the code command in your PATH. You can do this by opening the Command Palette (Ctrl+Shift+P) and searching for "Shell Command: Install 'code' command in PATH".

Running Locally

  1. After cloning the repository, run pnpm install
  2. Run pnpm build - this will build the project, including some binary dependencies you will be warned about in step 2.
  3. Run pnpm install again - this will make ensure the binary dependencies are properly linked
  4. Run pnpm start - this will open VSCode with the main workspace, and also open the extension's development instance.

Windows users - please check this issue for a potential workaround if something goes wrong.

Note: this is still early days for Flyde, therefore issues running Flyde locally are expected. Please ping us on Discord at flyde.dev/discord if you need help. Any question or issue you have is valuable to us and will help us document the process better.

Creating a branch

Fork the repository and create your branch from main. If you've never sent a GitHub pull request before, you can learn how from this free video series.

Testing

A good test plan has the exact commands you ran and their output, provides screenshots or videos if the pull request changes UI.

  • If you've changed APIs, update the documentation.

Running tests

  • To run test, run pnpm test.

Sending your pull request

Please make sure the following is done when submitting a pull request:

  1. Describe your test plan in your pull request description. Make sure to test your changes.
  2. Make sure your code builds (pnpm build).
  3. Make sure your tests pass (pnpm test).

All pull requests should be opened against the main branch. Make sure the PR does only one thing, otherwise please split it. If this change should contribute to a version bump, run npx changeset at the root of the repository after a code change and select the appropriate packages.

Breaking changes

When adding a new breaking change, follow this template in your pull request:

### New breaking change here

- **Who does this affect**:
- **How to migrate**:
- **Why make this breaking change**:
- **Severity (number of people affected x effort)**:

License

By contributing to Flyde, you agree that your contributions will be licensed under its license.

Questions

Feel free to ask in #contributing on Discord if you have questions about our process, how to proceed, etc.