Contributing
Thank you for your interest in contributing to room-ui!
How to Contribute
Reporting Issues
- Use GitHub Issues to report bugs or request features
- Include reproduction steps for bugs
- Describe expected vs actual behavior
Pull Requests
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Run tests and type checking:
npm run type-check && npm run lint - Commit with a descriptive message
- Push to your fork
- Open a Pull Request
Development Setup
bash
# Clone your fork
git clone https://github.com/YOUR_USERNAME/room-ui.git
cd room-ui
# Install dependencies
npm install
# Start development
npm run storybookCommit Messages
Use conventional commit format:
type(scope): description
[optional body]Types:
feat: New featurefix: Bug fixdocs: Documentationstyle: Formattingrefactor: Code refactoringtest: Adding testschore: Maintenance
Examples:
feat(button): add outline variant
fix(datatable): fix sorting on nested columns
docs(readme): update installation instructionsCode Style
- TypeScript strict mode
- Functional components with hooks
- forwardRef for DOM components
- JSDoc comments for public APIs
- Tailwind CSS for styling
Testing Checklist
Before submitting a PR:
- [ ]
npm run type-checkpasses - [ ]
npm run lintpasses - [ ]
npm run buildsucceeds - [ ] Storybook stories work correctly
- [ ] Component works in dark theme
Questions?
Open an issue or discussion on GitHub.