懒得勤快 1 anno fa
parent
commit
1435859c2f

+ 0 - 12
.github/ISSUE_TEMPLATE/-----.md

@@ -1,12 +0,0 @@
----
-name: 请求新功能
-about: 你的一些想法和idea
-title: 请求添加新功能:
-labels: ''
-assignees: ''
-
----
-
-温馨提示:提交后请保证回复及时,若长时间未回复的issue,将在超过30天以后作关闭处理!  
-
-请详细描述一下你想要的功能,实现什么效果?

+ 0 - 32
.github/ISSUE_TEMPLATE/--bug--.md

@@ -1,32 +0,0 @@
----
-name: "提交bug\U0001F41B"
-about: 这里写bug概要
-title: "[BUG]"
-labels: bug
-assignees: ''
-
----
-
-`温馨提示:提交后请保证回复及时,若长时间未回复的issue,将在超过30天以后作关闭处理! ` 
-
-**bug描述**
-- 这里写描述
-
-**是哪个类的哪个函数出现了bug?**
-- 这里写对应的类和函数名
-
-**异常堆栈信息**
-- 复制异常堆栈信息粘贴到这里
-
-**函数入参**
-- 这里写调用参数
-
-**期望的结果或输出**
-
-
-**使用环境:**
- - OS: [e.g. iOS]
- - Version [e.g. 22]
- - .NET Runtime [e.g. 6.0]
-
-**您的一些其他的想法**

+ 140 - 0
.github/ISSUE_TEMPLATE/bug_report.yml

@@ -0,0 +1,140 @@
+name: "🕷️ Bug 反馈 🐛"
+description: 报告错误或意外行为,当你中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 和预期不符?
+labels:
+- bug
+body:
+- type: markdown
+  attributes:
+    value: ## 💢 温馨提示:提交后请保证回复及时,若长时间未回复的issue,将在超过30天以后作关闭处理! 
+- type: dropdown
+  id: version
+  attributes:
+    label: 版本号
+    description: 请选择项目使用的包版本?
+      options:
+        - latest (最新的)
+        - 其他版本(请升级)
+  validations:
+    required: true
+
+  - type: dropdown
+    id: net_sdk
+    attributes:
+      label: .NET SDK
+      description: 请选择项目使用的 .NET SDK 版本?
+      options:
+        - .NET Framework4.5
+        - .NET Framework4.6.2+
+        - .NET Standard
+        - .NET5
+        - .NET6
+        - .NET7
+        - .NET8
+        - .NET9
+    validations:
+      required: true
+  - type: dropdown
+    id: project_type
+    attributes:
+      label: 项目类型
+      description: 请选择目标项目类型?
+      options:
+        - WebApi
+        - Mvc
+        - Razor Pages
+        - Blazor Server
+        - Blazor App (Auto)
+        - MinApp
+        - WinForm
+        - WPF
+        - Console
+    validations:
+      required: true
+  - type: dropdown
+    id: os_type
+    attributes:
+      label: 操作系统
+      description: 请选择操作系统类型?
+      options:
+        - Windows 11
+        - Windows 10
+        - Windows 8
+        - Ubuntu
+        - CentOS
+        - Debian
+        - Deepin
+        - Red Hat Linux
+        - 其他 Linux
+        - MacOS
+        - 其他
+    validations:
+      required: true
+  - type: dropdown
+    id: environment
+    attributes:
+      label: 运行环境
+      description: 请选择代码运行环境?
+      options:
+        - 开发环境 (Development)
+        - 生产环境 (Production)
+        - 测试环境 (单元测试/集成测试)
+    validations:
+      required: true
+  - type: dropdown
+    id: deploy
+    attributes:
+      label: 应用托管程序
+      description: 请选择应用托管程序软件?
+      options:
+        - IIS
+        - Nginx
+        - Docker
+        - PodMan
+        - PM2
+        - Kestrel
+        - 单文件
+        - Windows Service
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: 如何复现
+      description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它
+      placeholder: |
+        1. ...
+        2. ...
+        3. ...
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: 预期结果
+      description: 请告诉我们你预期会发生什么。
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: 实际结果
+      description: 请告诉我们实际发生了什么。
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: 异常信息
+      description: 如果有异常请把详细异常堆栈粘贴上来。
+  - type: textarea
+    attributes:
+      label: 截图或视频
+      description: 如果可以的话,上传任何关于 bug 的截图。
+      placeholder: |
+        可在此处进行图片粘贴上传。
+    validations:
+      required: true
+  - type: input
+    id: demo
+    attributes:
+      label: Demo 地址(Git/网盘/SVN)
+      description: 请提供复现错误的 Demo 下载
+      placeholder: https://github.com/your_id/your_test_project.git
+    validations:
+      required: true

+ 6 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,6 @@
+blank_issues_enabled: true
+
+contact_links:
+  - name: 使用文档
+    url: https://masuit.tools
+    about: 码数吐司库

+ 43 - 0
.github/ISSUE_TEMPLATE/feature.yml

@@ -0,0 +1,43 @@
+name: 功能建议🛠️
+description: 对本项目提出一个功能建议
+title: "[新功能建议]: "
+labels: ["enhancement"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        感谢提出功能建议,我们将仔细考虑!
+  - type: textarea
+    id: related-problem
+    attributes:
+      label: 你的功能建议是否和某个问题相关?
+      description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。
+    validations:
+      required: false
+  - type: textarea
+    id: desired-solution
+    attributes:
+      label: 你希望看到什么解决方案?
+      description: 清晰并简洁地描述你希望发生的事情。
+    validations:
+      required: true
+  - type: textarea
+    id: alternatives
+    attributes:
+      label: 你考虑过哪些替代方案?
+      description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。
+    validations:
+      required: false
+  - type: textarea
+    id: additional-context
+    attributes:
+      label: 你有其他上下文或截图吗?
+      description: 在此处添加有关功能请求的任何其他上下文或截图。
+    validations:
+      required: false
+  - type: checkboxes
+    attributes:
+      label: 意向参与贡献
+      options:
+        - label: 我有意向参与具体功能的开发实现并将代码贡献回到上游社区
+          required: false

+ 0 - 20
.github/ISSUE_TEMPLATE/feature_request.md

@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: ''
-labels: ''
-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.

+ 12 - 0
.github/ISSUE_TEMPLATE/others.yml

@@ -0,0 +1,12 @@
+name: 其他意见或建议
+description: 对本项目提出其他意见或建议
+title: "[咨询]: "
+labels: ["enhancement"]
+body:
+  - type: textarea
+    attributes:
+      label: 您想讨论关于什么?
+      placeholder: |
+        可在此处进行图片粘贴上传。
+    validations:
+      required: true