Thank you for your interest in contributing to our project! We welcome contributions from the community and appreciate your time and effort.
- Code of Conduct
- How Can I Contribute?
- Development Setup
- Pull Request Process
- Reporting Bugs
- Suggesting Enhancements
- Style Guides
- Additional Notes
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the project maintainers.
Examples of behavior that contributes to creating a positive environment include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior include:
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information without explicit permission
- Other conduct which could reasonably be considered inappropriate
Before creating bug reports, please check the issue list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title for the issue to identify the problem
- Describe the exact steps which reproduce the problem in as many details as possible
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include details about your configuration and environment
If you have a suggestion for a new feature or an improvement to an existing feature, please let us know! We want to hear your ideas and make this project better for everyone.
When suggesting enhancements, please include:
- Use a clear and descriptive title for the issue
- Provide a step-by-step description of the suggested enhancement
- Provide specific examples to demonstrate the steps
- Describe the current behavior and explain which behavior you expected to see instead
We love pull requests! Here's a quick guide:
- Fork the repo
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Node.js (version 18 or higher)
- npm or yarn
- Git
- Webflow Cloud account
-
Fork and clone the repository
git clone https://github.com/your-username/file-uploader.git cd file-uploader -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the project root:ORIGIN=http://localhost:4321
-
Start the development server
npm run dev
-
Run tests (if available)
npm test
- Update the README.md with details of changes to the interface, if applicable
- Update the documentation if you've added new features or changed existing ones
- Ensure your code follows the style guides outlined below
- Test your changes thoroughly
- The PR will be merged once you have the sign-off of at least one other developer
We use GitHub issues to track public bugs. Report a bug by opening a new issue.
- Check the existing issues to see if the problem has already been reported
- Try to reproduce the issue in the latest version of the project
- Check if the issue is related to your environment (browser, OS, etc.)
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 22]
**Additional context**
Add any other context about the problem here.We also use GitHub issues to track feature requests. Suggest an enhancement by opening a new issue.
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- Use 2 spaces for indentation
- Use semicolons
- Use single quotes for strings
- Use camelCase for variables and functions
- Use PascalCase for classes and components
- Use descriptive variable and function names
- Use strict mode
- Define types for all function parameters and return values
- Use interfaces for object shapes
- Prefer
constoverletwhen possible - Use
readonlyfor immutable properties
- Use functional components with hooks
- Use TypeScript for all components
- Follow the naming convention: PascalCase for components
- Use descriptive prop names
- Include PropTypes or TypeScript interfaces for props
- Use Tailwind CSS classes when possible
- Follow BEM methodology for custom CSS
- Use CSS custom properties for theming
- Keep styles modular and reusable
This section lists the labels we use to help us track and manage issues and pull requests.
bug- Something isn't workingdocumentation- Improvements or additions to documentationenhancement- New feature or requestgood first issue- Good for newcomershelp wanted- Extra attention is neededinvalid- Something is wrongquestion- Further information is requestedwontfix- This will not be worked on
- Update version numbers in
package.json - Update the changelog
- Create a release tag
- Deploy to production
- GitHub Issues: For bug reports and feature requests
- GitHub Discussions: For general questions and community discussions
- Pull Requests: For code contributions
Thank you for contributing to Astro - Webflow Cloud File Upload Demo! 🚀