|
1 | | -# Pull Request |
2 | | - |
3 | | -## Description |
| 1 | +# 🚀 Pull Request |
4 | 2 |
|
| 3 | +## 📋 Description |
5 | 4 | <!-- Provide a clear and concise description of what this PR does --> |
6 | 5 |
|
7 | | -## Related Issue(s) |
8 | | - |
| 6 | +## 🔗 Related Issue(s) |
9 | 7 | <!-- Link to related issue(s). Use "Closes #123" to auto-close issues when merged --> |
10 | | - |
11 | 8 | - Closes # |
12 | 9 |
|
13 | | -## Type of Change |
14 | | - |
| 10 | +## 🎯 Type of Change |
15 | 11 | <!-- Mark the appropriate option with an [x] --> |
16 | | - |
17 | 12 | - [ ] 🐛 Bug fix (non-breaking change that fixes an issue) |
18 | 13 | - [ ] ✨ New feature (non-breaking change that adds functionality) |
19 | 14 | - [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change) |
|
22 | 17 | - [ ] 🧪 Test improvements |
23 | 18 | - [ ] 🔒 Security fix |
24 | 19 | - [ ] ♻️ Refactoring (no functional changes) |
| 20 | +- [ ] ⚡ Performance improvements |
25 | 21 |
|
26 | | -## Changes Made |
27 | | - |
| 22 | +## 📝 Changes Made |
28 | 23 | <!-- List the main changes in this PR --> |
29 | | - |
30 | 24 | - |
31 | 25 | - |
32 | 26 | - |
33 | 27 |
|
34 | | -## Testing |
35 | | - |
36 | | -### Test Coverage |
37 | | - |
38 | | -<!-- Describe the tests you ran or added --> |
| 28 | +## 🧪 Testing |
39 | 29 |
|
40 | | -- [ ] Unit tests added/updated |
41 | | -- [ ] Integration tests added/updated |
42 | | -- [ ] Manual testing performed |
| 30 | +### ✅ Pre-Merge Checklist (Required) |
| 31 | +- [ ] 🧪 **Unit Tests**: I have run `cargo test --lib` and all tests pass |
| 32 | +- [ ] 🔨 **Debug Build**: I have run `cargo build` and the project builds successfully |
| 33 | +- [ ] 🎯 **WASM Build**: I have run `cargo build --target wasm32-unknown-unknown --release` and WASM builds successfully |
| 34 | +- [ ] 📝 **Code Formatting**: I have run `cargo fmt --all -- --check` and code is properly formatted |
| 35 | +- [ ] 🔍 **Clippy Lints**: I have run `cargo clippy` and there are no new warnings |
43 | 36 |
|
44 | | -### Testing Steps |
45 | | - |
46 | | -<!-- Steps for reviewers to verify the changes --> |
47 | | - |
48 | | -1. |
49 | | -2. |
50 | | -3. |
51 | | - |
52 | | -### Test Results |
| 37 | +### 🧪 Additional Testing (Recommended) |
| 38 | +- [ ] 📚 **Documentation**: I have run `cargo doc --no-deps` and documentation builds without errors |
| 39 | +- [ ] 🔒 **Security Audit**: I have run `cargo audit` and no critical vulnerabilities found |
| 40 | +- [ ] 🖱️ **Manual Testing**: I have tested this change manually (if applicable) |
| 41 | +- [ ] 📊 **Performance**: I have verified performance impact (if applicable) |
53 | 42 |
|
| 43 | +### 📋 Test Results |
| 44 | +<!-- Paste relevant test output here --> |
54 | 45 | ``` |
55 | | -# Paste relevant test output here |
56 | | -cargo test |
| 46 | +cargo test --lib |
| 47 | +# Paste output here |
57 | 48 | ``` |
58 | 49 |
|
59 | | -## Checklist |
| 50 | +``` |
| 51 | +cargo build --target wasm32-unknown-unknown --release |
| 52 | +# Paste build output here |
| 53 | +``` |
60 | 54 |
|
61 | | -### Code Quality |
| 55 | +## 🔍 Review Checklist |
62 | 56 |
|
| 57 | +### 📝 Code Quality |
63 | 58 | - [ ] My code follows the project's style guidelines |
64 | | -- [ ] I have run `cargo fmt` and code is properly formatted |
65 | | -- [ ] I have run `cargo clippy` and addressed all warnings |
66 | | -- [ ] I have performed a self-review of my code |
67 | | -- [ ] My changes generate no new warnings |
68 | | - |
69 | | -### Testing |
| 59 | +- [ ] I have performed a self-review of my own code |
| 60 | +- [ ] I have commented my code, particularly in hard-to-understand areas |
| 61 | +- [ ] My changes generate no new warnings or errors |
70 | 62 |
|
71 | | -- [ ] All existing tests pass (`cargo test`) |
72 | | -- [ ] I have added tests that prove my fix/feature works |
73 | | -- [ ] New and existing unit tests pass locally |
| 63 | +### 🧪 Testing Requirements |
| 64 | +- [ ] I have added/updated tests that prove my fix is effective or that my feature works |
| 65 | +- [ ] New and existing unit tests pass locally with my changes |
| 66 | +- [ ] Integration tests have been updated (if applicable) |
74 | 67 |
|
75 | | -### Documentation |
76 | | - |
77 | | -- [ ] I have commented my code, particularly in complex areas |
| 68 | +### 📚 Documentation |
78 | 69 | - [ ] I have updated the documentation accordingly |
79 | 70 | - [ ] I have updated the CHANGELOG (if applicable) |
80 | 71 |
|
81 | | -### Security |
82 | | - |
| 72 | +### 🔒 Security |
83 | 73 | - [ ] I have not committed any secrets, keys, or sensitive data |
84 | 74 | - [ ] I have considered security implications of my changes |
85 | 75 | - [ ] My changes do not introduce known vulnerabilities |
86 | 76 |
|
87 | | -### Contract-Specific (if applicable) |
88 | | - |
| 77 | +### 🏗️ Contract-Specific (if applicable) |
89 | 78 | - [ ] Storage changes are backward compatible (or migration plan provided) |
90 | 79 | - [ ] Event emissions are appropriate and documented |
91 | 80 | - [ ] Error handling is comprehensive |
92 | 81 | - [ ] Gas/resource usage has been considered |
93 | 82 |
|
94 | | -## Screenshots/Recordings |
95 | | - |
| 83 | +## 📸 Screenshots/Recordings |
96 | 84 | <!-- If applicable, add screenshots or recordings to help explain your changes --> |
97 | 85 |
|
98 | | -## Breaking Changes |
99 | | - |
| 86 | +## 💥 Breaking Changes |
100 | 87 | <!-- If this PR introduces breaking changes, describe them here --> |
101 | | - |
102 | 88 | - [ ] This PR introduces breaking changes |
103 | 89 |
|
104 | 90 | <!-- If yes, describe: --> |
105 | | -<!-- - What breaks --> |
106 | | -<!-- - Migration path for users --> |
107 | | - |
108 | | -## Additional Notes |
109 | | - |
110 | | -<!-- Any additional information that reviewers should know --> |
111 | | - |
112 | | -## Deployment Notes |
113 | | - |
| 91 | +- **What breaks**: |
| 92 | +- **Migration path**: |
| 93 | + |
| 94 | +## 📊 Performance Impact |
| 95 | +<!-- Describe any performance implications of your changes --> |
| 96 | +- **CPU/Memory**: |
| 97 | +- **Gas costs**: |
| 98 | +- **Network**: |
| 99 | + |
| 100 | +## 🔒 Security Considerations |
| 101 | +<!-- Describe any security implications of your changes --> |
| 102 | +- **Risks**: |
| 103 | +- **Mitigations**: |
| 104 | + |
| 105 | +## 📖 Additional Context |
| 106 | +<!-- Add any other context about the problem here --> |
| 107 | +- **Links**: |
| 108 | +- **Discussions**: |
| 109 | +- **Examples**: |
| 110 | + |
| 111 | +## 🚀 Deployment Notes |
114 | 112 | <!-- Any special deployment considerations --> |
115 | | - |
116 | 113 | - [ ] Requires contract redeployment |
117 | 114 | - [ ] Requires data migration |
| 115 | +- [ ] Requires configuration changes |
118 | 116 | - [ ] No deployment changes needed |
119 | 117 |
|
| 118 | +## 📋 Reviewer Checklist |
| 119 | +<!-- For reviewers to fill out --> |
| 120 | +- [ ] 📝 Code review completed |
| 121 | +- [ ] 🧪 Tests verified |
| 122 | +- [ ] 📚 Documentation reviewed |
| 123 | +- [ ] 🔒 Security considerations reviewed |
| 124 | +- [ ] 🏗️ Architecture/design reviewed |
| 125 | +- [ ] ✅ Approved for merge |
| 126 | + |
120 | 127 | --- |
121 | 128 |
|
122 | | -## Reviewer Checklist |
| 129 | +## 🤖 CI Status |
| 130 | +<!-- This section will be automatically filled by the CI system. Do not modify. --> |
| 131 | +- [ ] 📝 Code Formatting: ✅/❌ |
| 132 | +- [ ] 🔍 Clippy Lints: ✅/❌ |
| 133 | +- [ ] 🧪 Unit Tests: ✅/❌ |
| 134 | +- [ ] 🔨 Debug Build: ✅/❌ |
| 135 | +- [ ] 🎯 WASM Release Build: ✅/❌ |
| 136 | +- [ ] 📚 Documentation: ✅/❌ |
| 137 | +- [ ] 🔒 Security Audit: ✅/⚠️ |
123 | 138 |
|
124 | | -<!-- For reviewers to fill out --> |
| 139 | +--- |
| 140 | + |
| 141 | +**🎯 Ready for Review**: |
| 142 | +- [ ] Yes, all required checks pass and I'm ready for review |
| 143 | +- [ ] No, I need to fix some issues first |
| 144 | + |
| 145 | +--- |
125 | 146 |
|
126 | | -- [ ] Code review completed |
127 | | -- [ ] Tests verified |
128 | | -- [ ] Documentation reviewed |
129 | | -- [ ] Security considerations reviewed |
130 | | -- [ ] Approved for merge |
| 147 | +*Thank you for contributing to TeachLink! 🚀* |
0 commit comments