Contributing to Grit
June 4, 2026 ยท View on GitHub
Thank you for your interest in contributing to Grit! appreciate your support.
How to Contribute
- Fork the Repository: Fork the repository to your own GitHub account.
- Create a Branch: Create a new branch for your feature or bug fix from
dev. Use a descriptive name, such asfeat/add-new-featureorfix/resolve-issue-123. - Make Your Changes: Make your changes to the codebase.
- Submit a Pull Request: Once you're ready, submit a pull request from your branch to the
devbranch of the main repository. Please reference the issue you created in your pull request description.
Pull Request Guidelines
- Ensure your code follows the existing style and conventions.
- Write clear and concise commit messages.
- Make sure your changes are well-tested.
I'll review your pull request as soon as possible. Thank you for your contribution!
Overview of modules
:androidApp: Builds the Android app, contains code for widgets and Android-specific implementations.:shared:ui: Multiplatform UI module containing all presentation logic, Jetpack Compose UI for habits and tasks, and shared components.:shared:core: Multiplatform core module containing domain models, repository interfaces, and business logic.:webDemo: Builds the web and desktop demo which is deployed by CI on push to master. Also can be used with hot reload:
./gradlew :webDemo:hotRunJvm --auto
Compose Guidelines
- Expose a
Modifierfor each composable - Write Previews for significant composables (components, etc.), Make it a private function in the same file as the composable
- Run spotless
./gradlew spotlessApplybefore making a commit