mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-23 20:39:16 +02:00
Updated: Revise table format and update PR template in CONTRIBUTING.md
- Updated table format in both files to include markdown image syntax (`` and ``). - Improved PR template checklist by adding more detailed documentation sections. - Revised example content for clarity and consistency. modified: CONTRIBUTING.md
This commit is contained in:
parent
23821822dd
commit
627dcfb7a2
1 changed files with 42 additions and 36 deletions
|
@ -161,12 +161,12 @@ to review the appropriate one for your contribution.
|
||||||
Using the following way to format this is encouraged:
|
Using the following way to format this is encouraged:
|
||||||
|
|
||||||
```md
|
```md
|
||||||
| Event | Before | After |
|
| Event | Before | After |
|
||||||
| ------------------ | ---------------- | ---------------- |
|
| ------------------ | --------------------- | -------------------- |
|
||||||
| `UP` | paste-image-here | paste-image-here |
|
| `UP` |  |  |
|
||||||
| `DOWN` | paste-image-here | paste-image-here |
|
| `DOWN` |  |  |
|
||||||
| Certificate-expiry | paste-image-here | paste-image-here |
|
| Certificate-expiry |  |  |
|
||||||
| Testing | paste-image-here | paste-image-here |
|
| Testing |  |  |
|
||||||
```
|
```
|
||||||
|
|
||||||
<sub>Because maintainer time is precious, junior maintainers may merge
|
<sub>Because maintainer time is precious, junior maintainers may merge
|
||||||
|
@ -250,24 +250,27 @@ to review the appropriate one for your contribution.
|
||||||
|
|
||||||
- **Type of changes**
|
- **Type of changes**
|
||||||
|
|
||||||
- Bug fix (non-breaking change which fixes an issue)
|
- Bugfix (a non-breaking change that resolves an issue)
|
||||||
- User interface (UI)
|
- New feature (a non-breaking change that adds new functionality)
|
||||||
- New feature (non-breaking change which adds functionality)
|
- Breaking change (a fix or feature that alters existing functionality in a way that could cause issues)
|
||||||
- Breaking change (a fix or feature that would cause existing functionality
|
- User Interface (UI) updates
|
||||||
to not work as expected)
|
- New Documentation (addition of new documentation)
|
||||||
- Other
|
- Documentation Update (modification of existing documentation)
|
||||||
- This change requires a documentation update
|
- Documentation Update Required (the change requires updates to related documentation)
|
||||||
|
- Other (please specify):
|
||||||
|
- Provide additional details here.
|
||||||
|
|
||||||
- **Checklist**
|
- **Checklist**
|
||||||
|
|
||||||
- My code follows the style guidelines of this project
|
- My code adheres to the style guidelines of this project.
|
||||||
- I ran ESLint and other linters for modified files
|
- I ran code linters for modified files.
|
||||||
- I have performed a self-review of my own code and tested it
|
- I have reviewed and tested my code.
|
||||||
- I have commented my code, particularly in hard-to-understand areas
|
- I have commented my code, especially in hard-to-understand areas (e.g., using JSDoc for methods).
|
||||||
(including JSDoc for methods)
|
- My changes generate no new warnings.
|
||||||
- My changes generate no new warnings
|
- My code needed automated testing. I have added them (this is an optional task).
|
||||||
- My code needed automated testing. I have added them (this is an optional
|
- Documentation updates are included (if applicable).
|
||||||
task)
|
- I have considered potential security impacts and mitigated risks.
|
||||||
|
- Dependency updates are listed and explained.
|
||||||
|
|
||||||
10. **When publishing your PR, set it as a** `Draft pull request` **to allow
|
10. **When publishing your PR, set it as a** `Draft pull request` **to allow
|
||||||
for review and prevent automatic merging.**
|
for review and prevent automatic merging.**
|
||||||
|
@ -375,24 +378,27 @@ early on, helping to avoid issues down the line.
|
||||||
|
|
||||||
- **Type of changes**
|
- **Type of changes**
|
||||||
|
|
||||||
- Bug fix (non-breaking change which fixes an issue)
|
- Bugfix (a non-breaking change that resolves an issue)
|
||||||
- User interface (UI)
|
- New feature (a non-breaking change that adds new functionality)
|
||||||
- New feature (non-breaking change which adds functionality)
|
- Breaking change (a fix or feature that alters existing functionality in a way that could cause issues)
|
||||||
- Breaking change (a fix or feature that would cause existing functionality
|
- User Interface (UI) updates
|
||||||
to not work as expected)
|
- New Documentation (addition of new documentation)
|
||||||
- Other
|
- Documentation Update (modification of existing documentation)
|
||||||
- This change requires a documentation update
|
- Documentation Update Required (the change requires updates to related documentation)
|
||||||
|
- Other (please specify):
|
||||||
|
- Provide additional details here.
|
||||||
|
|
||||||
- **Checklist**
|
- **Checklist**
|
||||||
|
|
||||||
- My code follows the style guidelines of this project
|
- My code adheres to the style guidelines of this project.
|
||||||
- I ran ESLint and other linters for modified files
|
- I ran code linters for modified files.
|
||||||
- I have performed a self-review of my own code and tested it
|
- I have reviewed and tested my code.
|
||||||
- I have commented my code, particularly in hard-to-understand areas
|
- I have commented my code, especially in hard-to-understand areas (e.g., using JSDoc for methods).
|
||||||
(including JSDoc for methods)
|
- My changes generate no new warnings.
|
||||||
- My changes generate no new warnings
|
- My code needed automated testing. I have added them (this is an optional task).
|
||||||
- My code needed automated testing. I have added them (this is an optional
|
- Documentation updates are included (if applicable).
|
||||||
task)
|
- I have considered potential security impacts and mitigated risks.
|
||||||
|
- Dependency updates are listed and explained.
|
||||||
|
|
||||||
10. **When publishing your PR, set it as a** `Draft pull request` **to allow for
|
10. **When publishing your PR, set it as a** `Draft pull request` **to allow for
|
||||||
review and prevent automatic merging.**
|
review and prevent automatic merging.**
|
||||||
|
|
Loading…
Add table
Reference in a new issue