|
1 | | -## Pull Request Template Chooser |
2 | | -Please click the link that matches your contribution type to load the correct format. |
| 1 | +<!-- |
| 2 | +🎉 Thanks for contributing to AlianHub! |
3 | 3 |
|
4 | | -> **Note:** Clicking a link will reload this page and clear any text you've already typed here. |
| 4 | +📋 Before opening this PR, please confirm: |
| 5 | + 1. PR title follows Conventional Commits: <type>(<optional-scope>): <description> |
| 6 | + ✅ feat(workload-report): add weekly view |
| 7 | + ✅ fix(auth): correct JWT expiry handling |
| 8 | + ❌ Added a new report (no type prefix) |
| 9 | + ❌ feat: Added new report (subject starts with uppercase) |
| 10 | + 2. Branch name follows <type>/<kebab-description> — see BRANCHING.md |
| 11 | + 3. Target branch is `staging` (NOT `main` — hotfixes are the only exception) |
5 | 12 |
|
6 | | -- [**Bug Fix**](?expand=1&template=bug_fix.md) |
7 | | - *Use this for fixing broken logic or UI glitches.* |
| 13 | +📝 Want a more detailed template? Open this PR using one of: |
| 14 | + • ?expand=1&template=new_feature.md |
| 15 | + • ?expand=1&template=bug_fix.md |
| 16 | + • ?expand=1&template=refactor.md |
| 17 | +--> |
8 | 18 |
|
9 | | -- [**New Feature**](?expand=1&template=new_feature.md) |
10 | | - *Use this for adding new functionality or components.* |
| 19 | +## Summary |
11 | 20 |
|
12 | | -- [**Refactor**](?expand=1&template=refactor.md) |
13 | | - *Use this for code cleanup, performance tweaks, or technical debt.* |
| 21 | +<!-- 1–3 sentences: what does this PR do, and why? --> |
14 | 22 |
|
15 | | ---- |
16 | | -### General Summary |
17 | | -*If you don't want to use a specific template, please provide a brief summary of your changes below.* |
| 23 | +## Type of change |
| 24 | + |
| 25 | +<!-- Check all that apply. The first one should match your PR title prefix. |
| 26 | + Note: `hotfix` is a branch-type only — for PR title and commit messages on |
| 27 | + hotfix branches, use `fix` as the type. --> |
| 28 | + |
| 29 | +- [ ] 🚀 `feat` — New feature |
| 30 | +- [ ] 🐛 `fix` — Bug fix (use this for `hotfix/*` branches too) |
| 31 | +- [ ] ♻️ `refactor` — Code refactor (no behavior change) |
| 32 | +- [ ] 🔧 `chore` — Build / config / deps / housekeeping |
| 33 | +- [ ] 📘 `docs` — Documentation only |
| 34 | +- [ ] ⚡ `perf` — Performance improvement |
| 35 | +- [ ] 🧪 `test` — Adding or fixing tests |
| 36 | +- [ ] 🤖 `ci` — CI configuration |
| 37 | +- [ ] 📦 `build` — Build system changes |
| 38 | +- [ ] 🎨 `style` — Formatting only (no code change) |
| 39 | + |
| 40 | +## Related issue |
| 41 | + |
| 42 | +<!-- Link the issue this PR closes (or relates to). Delete if not applicable. --> |
| 43 | + |
| 44 | +Closes #<issue_number> |
| 45 | + |
| 46 | +## Test plan |
| 47 | + |
| 48 | +<!-- How can a reviewer verify this works? Be concrete with steps and expected results. --> |
| 49 | + |
| 50 | +- [ ] … |
| 51 | +- [ ] … |
| 52 | + |
| 53 | +## Screenshots / demo |
| 54 | + |
| 55 | +<!-- For UI changes: drag-drop screenshots, GIFs, or short videos. Delete if not applicable. --> |
| 56 | + |
| 57 | +## Breaking changes |
| 58 | + |
| 59 | +<!-- Check one. --> |
| 60 | + |
| 61 | +- [ ] ❌ No breaking changes |
| 62 | +- [ ] ⚠️ Yes — described below with migration steps |
| 63 | + |
| 64 | +## Checklist |
| 65 | + |
| 66 | +- [ ] PR title follows [Conventional Commits](https://www.conventionalcommits.org/) (`<type>: <description>`) |
| 67 | +- [ ] Branch name follows `<type>/<kebab-description>` (see [BRANCHING.md](../BRANCHING.md)) |
| 68 | +- [ ] PR targets the correct branch (`staging` for most work; `main` only for `hotfix/*` or `release/v*`) |
| 69 | +- [ ] All existing tests pass locally (`npm test`) |
| 70 | +- [ ] New tests added for new behavior (if applicable) |
| 71 | +- [ ] Documentation updated (README / CLAUDE.md / inline comments) where relevant |
| 72 | +- [ ] I have performed a self-review of my changes |
| 73 | +- [ ] I have read the [Contributing Guidelines](../CONTRIBUTING.md) and [Code of Conduct](../CODE_OF_CONDUCT.md) |
| 74 | + |
| 75 | +## Notes for reviewers |
| 76 | + |
| 77 | +<!-- Anything reviewers should know? Trade-offs, follow-ups, areas needing extra eyes. Delete if not applicable. --> |
0 commit comments