We love your input! We want to make contributing to Vibra as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
- Fork the repo and create your branch from
main. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using GitHub's issue tracker
We use GitHub issues to track public bugs. Report a bug by opening a new issue.
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
- Follow the Dart Style Guide
- Use
flutter formatto format your code - Run
flutter analyzeto check for issues
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- Test your changes on both Android and iOS if possible
- Ensure your code works on different screen sizes
- Follow Material Design principles
- Keep the app's dark theme consistent
- Create an issue first to discuss the feature
- Follow the existing architecture:
- UI components in
lib/components/ - Business logic in
lib/controllers/ - Data models in
lib/models/ - Services in
lib/services/
- UI components in
- Maintain consistency with existing code style
- Update documentation as needed
- Minimize new dependencies
- Only add well-maintained packages
- Update
pubspec.yamldescription if needed
- Write tests for new functionality
- Ensure existing tests pass
- Test on multiple devices/screen sizes
- Verify dark theme consistency
- Update README.md for significant changes
- Add inline code comments for complex logic
- Update API documentation if applicable
By contributing, you agree that your contributions will be licensed under its MIT License.
Feel free to contact the project maintainers or open an issue for discussion.
Thank you for contributing to Vibra! 🎵