Contributing to DELEGATOR
AI-Generated Content
This documentation page was initially generated by AI to bootstrap the documentation structure. Content may be incomplete or contain inaccuracies. We welcome contributions to improve it.
Thank you for your interest in contributing to DELEGATOR! This guide will help you get started.
Ways to Contribute
- Bug Reports - Report issues you encounter
- Feature Requests - Suggest new features
- Code Contributions - Submit pull requests
- Documentation - Improve these docs
- Testing - Help test new releases
Getting Started
- Fork the repository on GitHub
- Clone your fork locally
- Create a branch for your changes
- Make your changes following our guidelines
- Submit a pull request
Development Workflow
Branch Naming
Use descriptive branch names:
feature/batch-registrationfix/payment-calculationdocs/supervisor-guide
Commit Messages
Follow Conventional Commits:
feat: add bulk email functionality
- Add template selection
- Implement recipient filtering
- Add preview before send
Prefixes:
feat:- New featurefix:- Bug fixdocs:- Documentationrefactor:- Code refactoringtest:- Testschore:- Maintenance
Code Style
Svelte Components
- Use TypeScript in
<script lang="ts"> - Keep components focused
- Use props for customization
TypeScript
- Enable strict mode
- Define explicit types
- Avoid
any
Formatting
Format code with Prettier:
bun run format
Lint code:
bun run lint
Testing
Write tests for new features:
bun test
Pull Request Process
- Ensure tests pass
- Update documentation if needed
- Fill out PR template
- Request review
Code Review
- At least one approval required
- Address feedback constructively
- Squash commits if requested
Community
- Be respectful and inclusive
- Help others learn
- Celebrate contributions
License
Contributions are licensed under AGPL-3.0.