Thank you for your interest in contributing to CodeFlow Desktop! This document provides guidelines specific to the desktop application.
- Fork the repository on GitHub
- Clone your fork locally
- Set up development environment:
npm install
- Create a branch for your changes
- Node.js 20+
- Rust (latest stable)
- Tauri CLI:
npm install -g @tauri-apps/cli
# Development mode
npm run tauri dev
# Build
npm run tauri build- Follow ESLint configuration
- Use Prettier for formatting
- Use TypeScript for all new code
- Follow React best practices
Before committing:
npm run lint
npm run format
npm run type-check# Run tests
npm test
# Run with coverage
npm run test:coverageTarget Coverage: >70% for UI components
- Update CHANGELOG.md with your changes
- Ensure tests pass and coverage is maintained
- Update documentation as needed
- Create a pull request with a clear description
- Address review feedback promptly
- Code follows style guidelines
- Tests added/updated
- Documentation updated
- CHANGELOG.md updated
- Tested on Windows, macOS, and Linux (if applicable)
Follow Conventional Commits:
feat(desktop): add dark mode toggle
Implement dark mode with system preference detection.
Add settings UI for manual theme selection.
Closes #123
Use GitHub Issues with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, versions)
- Screenshots if applicable
- GitHub Discussions: For questions
- GitHub Issues: For bugs and features
- See main CONTRIBUTING guide for more details
Thank you for contributing! 🎉