docs(.github): 📝 新增issues模版规范

This commit is contained in:
nongyehong
2024-09-24 12:38:05 +08:00
parent 4b25751e6e
commit 473fda54f9
4 changed files with 100 additions and 1 deletions
+59
View File
@@ -0,0 +1,59 @@
name: 🐞 Bug Report
title: '[bug] '
description: Report a bug
labels: ['type: bug', 'status: needs triage']
body:
- type: markdown
attributes:
value: |
## First of all
1. Please search for [existing issues](https://github.com/nongyehong/HuLa-IM-Tauri/issues?q=is%3Aissue) about this problem first.
2. Make sure `rustc` and all relevant HuLa-IM-Tauri packages are up to date.
3. Make sure it's an issue with HuLa-IM-Tauri and not something else you are using.
4. Remember to follow our community guidelines and be friendly.
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear description of what the bug is. Include screenshots if applicable.
placeholder: Bug description
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: A link to a reproduction repo or steps to reproduce the behaviour.
placeholder: |
Please provide a minimal reproduction or steps to reproduce, see this guide https://stackoverflow.com/help/minimal-reproducible-example
Why reproduction is required? see this article https://antfu.me/posts/why-reproductions-are-required
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear description of what you expected to happen.
- type: textarea
id: info
attributes:
label: Full `tauri info` output
description: 'Output of `npm run tauri info` or `cargo tauri info`'
render: text
validations:
required: true
- type: textarea
id: logs
attributes:
label: Stack trace
render: text
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
@@ -0,0 +1,35 @@
name: 💡 Feature Request
title: '[feat] '
description: Suggest an idea
labels: ['type: feature request']
body:
- type: textarea
id: problem
attributes:
label: Describe the problem
description: A clear description of the problem this feature would solve
placeholder: "I'm always frustrated when..."
validations:
required: true
- type: textarea
id: solution
attributes:
label: "Describe the solution you'd like"
description: A clear description of what change you would like
placeholder: 'I would like to...'
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: "Any alternative solutions you've considered"
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

+6 -1
View File
@@ -9,7 +9,12 @@
<!-- 聊天界面背景图标 -->
<div v-else class="flex-center size-full select-none">
<img v-if="imgTheme === ThemeEnum.DARK" class="w-110px h-100px" src="@/assets/img/hula_bg_d.svg" alt="" />
<img
v-if="imgTheme === ThemeEnum.DARK && themes.versatile === 'default'"
class="w-110px h-100px"
src="@/assets/img/hula_bg_d.svg"
alt="" />
<img v-else-if="imgTheme === ThemeEnum.DARK" class="w-110px h-100px" src="@/assets/img/hula-bg-h.png" alt="" />
<img v-else class="svg-icon w-110px h-100px" src="@/assets/img/hula_bg_l.png" alt="" />
</div>
</div>