Thank you for your interest in contributing to Sim-Thailand 2569! This document provides guidelines for contributing to the project.
If you find a bug or want to request a new feature, please create an issue using the following format:
Bug Report:
- Title: Clear and descriptive
- Description: Steps to reproduce the bug
- Expected behavior: What should happen
- Actual behavior: What actually happens
- Screenshots (if applicable)
Feature Request:
- Title: Clear and descriptive
- Description: Detailed explanation of the feature
- Use case: Why this feature would be helpful
- Implementation suggestions (if any)
We welcome pull requests! Here's how to contribute:
- Fork the repository - Fork the main repository
- Create a feature branch -
git checkout -b feature/amazing-feature - Make your changes - Follow the coding standards below
- Test your changes - Run
npm run buildto ensure it builds successfully - Commit your changes - Use conventional commit format
- Push to your fork -
git push origin feature/amazing-feature - Create a Pull Request - Clear description of changes made
- Use ES6+ JavaScript features
- Follow existing code style and formatting
- Use meaningful variable and function names
- Add comments for complex logic
- Ensure responsive design for mobile devices
Use conventional commit format:
feat: add new feature
fix: resolve bug
docs: update documentation
style: format code
refactor: restructure code
test: add tests
chore: maintenance
## Description
Brief description of the changes
## Changes Made
- [ ] Change 1
- [ ] Change 2
- [ ] Change 3
## Testing
- [ ] Tested on Chrome
- [ ] Tested on Firefox
- [ ] Tested on Mobile
## Related Issue
Closes #123ThaiSim2569/
├── src/
│ ├── js/ # JavaScript files
│ └── css/ # CSS styles
├── Campaign2569/ # Political campaign data
├── dist/ # Build output
└── docs/ # Documentation
- Clone the repository
- Install dependencies:
npm install - Run development server:
npm run dev - Build for production:
npm run build
By contributing to this project, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to Sim-Thailand 2569! Your help makes this educational resource better for everyone.