42 lines
864 B
Markdown
42 lines
864 B
Markdown
# Contributing to OpenChamber
|
|||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
```bash
|
||
|
|
git clone https://github.com/btriapitsyn/openchamber.git
|
||
|
|
cd openchamber
|
||
|
|
pnpm install
|
||
|
|
pnpm run dev:web:full # Web development
|
||
|
|
pnpm run desktop:dev # Desktop development (Tauri)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Before Submitting
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pnpm -r type-check # Must pass
|
||
|
|
pnpm -r lint # Must pass
|
||
|
|
pnpm -r build # Must succeed
|
||
|
|
```
|
||
|
|
|
||
|
|
## Code Style
|
||
|
|
|
||
|
|
- Functional React components only
|
||
|
|
- TypeScript strict mode - no `any` without justification
|
||
|
|
- Use existing theme colors/typography - don't add new ones
|
||
|
|
- Components must support light and dark themes
|
||
|
|
|
||
|
|
## Pull Requests
|
||
|
|
|
||
|
|
1. Fork and create a branch
|
||
|
|
2. Make changes
|
||
|
|
3. Run validation commands above
|
||
|
|
4. Submit PR with clear description of what and why
|
||
|
|
|
||
|
|
## Project Structure
|
||
|
|
|
||
|
|
See [AGENTS.md](./AGENTS.md) for detailed architecture reference.
|
||
|
|
|
||
|
|
## Questions?
|
||
|
|
|
||
|
|
Open an issue.
|