feat: 重构前端

This commit is contained in:
tbphp
2025-07-02 17:15:10 +08:00
parent 6a96c4464b
commit f15d0dd8da
102 changed files with 5392 additions and 10344 deletions

42
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,42 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: "bug"
assignees: ""
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- OS: [e.g. macOS, Windows, Linux]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- Node.js version: [e.g. 18.x]
- Package manager: [e.g. pnpm, npm, yarn]
**Additional context**
Add any other context about the problem here.
**Logs**
Please include any relevant logs:
```
paste logs here
```

View File

@@ -0,0 +1,31 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE] "
labels: "enhancement"
assignees: ""
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
**Implementation details (if applicable)**
- Affected components:
- Potential breaking changes:
- Dependencies:
**Would you like to work on this feature?**
- [ ] Yes, I would like to implement this feature
- [ ] I need help with implementation
- [ ] I prefer someone else to implement this

58
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,58 @@
---
name: Pull Request
about: Submit a pull request to contribute to the project
title: ""
labels: ""
assignees: ""
---
## Description
Please include a summary of the change and which issue is fixed. Include relevant motivation and context.
Fixes # (issue)
## Type of change
Please select the relevant options:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] Performance improvement
- [ ] Code refactoring
- [ ] Test updates
## Testing
Please describe the tests that you ran to verify your changes:
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed
Test Configuration:
- Node.js version:
- Browser(s):
- OS:
## Checklist
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published
## Screenshots (if applicable)
Please add screenshots to help reviewers understand the changes.
## Additional Notes
Add any other notes or context about the pull request here.