We welcome contributions to Menu Mate! Whether you're fixing bugs, adding new features, or improving the documentation, your help is appreciated. Please follow the guidelines below to ensure a smooth collaboration.
- Fork the repository by clicking on the "Fork" button at the top of this page.
- Clone your fork locally:
git clone https://github.com/your-username/menu-mate.git cd menu-mate
- Set up the upstream remote:
git remote add upstream https://github.com/original-owner/menu-mate.git
- Pull the latest changes from upstream:
git pull upstream main
- Create a new branch for your feature or fix:
git checkout -b feature-branch-name
If you find any bugs, glitches, or room for improvement, feel free to create an issue:
- Check if the issue has already been reported under the Issues tab.
- If it's a new issue, open one and clearly describe the problem.
- Include screenshots or logs if relevant.
We are always open to new feature ideas that can improve Menu Mate! To suggest a feature:
- Check the existing feature requests under Issues.
- Open a new issue labeled Feature Request.
- Clearly explain your feature idea and why it would be useful.
To contribute code:
- Ensure your branch is up-to-date with the upstream
main
branch.git pull upstream main
- Make your changes on your feature branch.
- Commit your changes with a descriptive message.
- Push your changes to your fork:
git push origin feature-branch-name
- Open a Pull Request (PR) to the main branch of the original repository:
- Go to your fork on GitHub and click "Compare & pull request".
- Ensure your PR provides enough context about your changes.
- Link any relevant issues.
- HTML: Ensure semantic and valid HTML structure.
- CSS: Follow consistent naming conventions (e.g., BEM methodology) and avoid inline styles.
- JavaScript: Keep code modular and reusable. Ensure ES6+ syntax is used.
- JSON: Ensure the data is structured cleanly, especially for the menu files.
Please ensure code consistency and readability by following these best practices:
- Indent code with 2 spaces.
- Use meaningful variable and function names.
- Keep functions short and focused on a single task.
Your commit messages should be descriptive and follow these conventions:
- Use the present tense ("Add feature" not "Added feature").
- Be concise, but explain the purpose of the commit.
- If fixing an issue, include the issue number (e.g.,
Fixes #12
).
Example:
git commit -m "Add tomorrow's menu preview feature"
Thank you for contributing to Menu Mate! Your input makes this project better for everyone 🎉.