Skip to content

Commit b4106e4

Browse files
committed
chore: add issue template
1 parent c1a597e commit b4106e4

File tree

4 files changed

+305
-0
lines changed

4 files changed

+305
-0
lines changed
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
name: 🐛 错误反馈
2+
description: 报告 UPage 使用过程中遇到的问题
3+
title: "[Bug]: "
4+
labels: ["bug", "待分类"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢您花时间填写此错误报告!请尽可能详细地描述问题,以便我们快速定位和解决。
10+
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: 问题描述
15+
description: 请简要描述您遇到的问题
16+
placeholder: 例如:在生成多页面网站时,页面跳转功能无法正常工作
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: steps-to-reproduce
22+
attributes:
23+
label: 复现步骤
24+
description: 请详细描述如何复现此问题
25+
placeholder: |
26+
1. 打开 UPage 并登录
27+
2. 在对话框中输入"生成一个包含首页和关于页的网站"
28+
3. 点击生成按钮
29+
4. 观察生成的页面...
30+
validations:
31+
required: false
32+
33+
- type: input
34+
id: upage-version
35+
attributes:
36+
label: UPage 版本
37+
description: 请输入 UPage 的具体版本号
38+
placeholder: 例如:1.0.1
39+
validations:
40+
required: false
41+
42+
- type: input
43+
id: browser-version
44+
attributes:
45+
label: 浏览器及其版本
46+
description: 请输入浏览器及其具体版本号
47+
placeholder: 例如:Chrome 120.0.6099.129, Firefox 120.0.6099.129
48+
validations:
49+
required: false
50+
51+
- type: dropdown
52+
id: llm-provider
53+
attributes:
54+
label: AI 提供商
55+
description: 请选择您使用的 AI 提供商
56+
options:
57+
- 豆包(DouBao)
58+
- 文心一言 (Enrie)
59+
- 通义千问 (Qwen)
60+
- 智谱 AI (ZhiPu)
61+
- 月之暗面 (Kimi)
62+
- Amazon Bedrock
63+
- Anthropic Claude
64+
- Cohere
65+
- DeepSeek
66+
- Github
67+
- Google
68+
- Groq
69+
- HuggingFace
70+
- Hyperbolic
71+
- LM Studio
72+
- Mistral
73+
- Ollama
74+
- OpenRouter
75+
- OpenAI
76+
- Perplexity
77+
- xAI
78+
- 其他(请在下方补充说明)
79+
validations:
80+
required: false
81+
82+
- type: input
83+
id: primary-model
84+
attributes:
85+
label: 主要模型
86+
description: 请输入您使用的主要 LLM 模型名称(用于构建页面)
87+
placeholder: 例如:deepseek-chat、gpt-4、claude-3-opus-20240229
88+
validations:
89+
required: false
90+
91+
- type: input
92+
id: secondary-model
93+
attributes:
94+
label: 次要模型
95+
description: 请输入您使用的次要 LLM 模型名称(用于执行其他任务)
96+
placeholder: 例如:deepseek-chat、gpt-3.5-turbo、claude-3-haiku-20240307
97+
validations:
98+
required: false
99+
100+
- type: dropdown
101+
id: frequency
102+
attributes:
103+
label: 问题复现频率
104+
description: 该问题是偶尔出现还是每次都会出现?
105+
options:
106+
- 必现(每次都会出现)
107+
- 偶现(有时会出现)
108+
- 不常见(很少出现)
109+
validations:
110+
required: false
111+
112+
- type: textarea
113+
id: logs
114+
attributes:
115+
label: 日志信息
116+
description: |
117+
请提供相关的日志信息。您可以:
118+
1. 从浏览器开发者工具的控制台复制错误信息
119+
2. 如果是服务端问题,请从服务器的 `logs/` 目录中获取日志
120+
121+
请将日志内容粘贴在下方的代码块中
122+
placeholder: |
123+
请粘贴日志内容,例如:
124+
[2025-10-17 10:30:45] ERROR: Failed to generate page
125+
Error: Connection timeout to AI provider
126+
at generatePage (chat.server.ts:123)
127+
at processRequest (route.tsx:45)
128+
render: shell
129+
validations:
130+
required: false
131+
132+
- type: textarea
133+
id: screenshots
134+
attributes:
135+
label: 截图或录屏
136+
description: |
137+
如果可能,请提供截图或录屏来帮助说明问题。
138+
您可以直接将图片或 GIF 拖拽到此处。
139+
placeholder: 拖拽图片或 GIF 到此处,或粘贴图片链接
140+
141+
- type: textarea
142+
id: additional-context
143+
attributes:
144+
label: 其他补充信息
145+
description: |
146+
请提供任何其他可能有助于我们理解问题的信息,例如:
147+
- 操作系统及版本
148+
- UPage 部署方式(Docker、1Panel 等)
149+
- 网络环境(是否使用代理等)
150+
- 其他特殊配置
151+
placeholder: 例如:使用 Docker 部署在 Ubuntu 22.04 系统上
152+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 📚 在线文档
4+
url: https://docs.upage.ai/
5+
about: 查看 UPage 的完整文档和使用指南
6+
- name: 🙋 常见问题
7+
url: https://docs.upage.ai/faq
8+
about: 在这里可能已经有您问题的答案
9+
- name: 💬 技术交流群
10+
url: https://github.com/halo-dev/upage#%E8%81%94%E7%B3%BB%E6%88%91%E4%BB%AC
11+
about: 加入我们的技术交流群,与其他用户和开发者交流
12+
- name: 🔧 参与贡献
13+
url: https://docs.upage.ai/contributing
14+
about: 了解如何为 UPage 贡献代码或文档
15+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: ✨ 功能请求
2+
description: 为 UPage 提出新功能或改进建议
3+
title: "[Feature]: "
4+
labels: ["enhancement", "待评估"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢您为 UPage 提出新想法!我们重视每一个功能建议。
10+
11+
- type: textarea
12+
id: feature-description
13+
attributes:
14+
label: 功能描述
15+
description: 请清晰、简洁地描述您希望添加的功能
16+
placeholder: 例如:期望增加对其他 AI 提供商的支持
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: use-case
22+
attributes:
23+
label: 使用场景
24+
description: 请描述这个功能在什么情况下会被使用,以及它能解决什么问题
25+
placeholder: |
26+
例如:
27+
作为一名前端开发者,我经常需要将 UPage 生成的页面集成到现有的 Vue 项目中。
28+
如果能够直接导出为 Vue 组件格式,就可以省去手动转换的工作,提高开发效率。
29+
validations:
30+
required: false
31+
32+
- type: dropdown
33+
id: willingness-to-contribute
34+
attributes:
35+
label: 参与意愿
36+
description: 如果这个功能被采纳,您是否愿意参与开发?
37+
options:
38+
- 愿意提交 PR 实现这个功能
39+
- 愿意提供技术建议和测试
40+
- 仅提出建议,暂时无法参与开发
41+
validations:
42+
required: false
43+
44+
- type: textarea
45+
id: additional-context
46+
attributes:
47+
label: 其他补充信息
48+
description: |
49+
请提供任何其他有助于理解这个功能请求的信息,例如:
50+
- 参考的类似产品或功能
51+
- 相关的截图或示意图
52+
- 技术实现的初步想法
53+
placeholder: 例如:Figma 的插件系统提供了类似的导出功能,可以作为参考
54+
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: ❓ 问题咨询
2+
description: 询问关于 UPage 使用、配置或其他方面的问题
3+
title: "[Question]: "
4+
labels: ["question", "需要回复"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢您的提问!在提交之前,请先查看[文档](https://docs.upage.ai/)和[常见问题](https://docs.upage.ai/faq),可能已经有答案了。
10+
11+
如果您的问题比较复杂或需要深入讨论,也欢迎加入我们的技术交流群。
12+
13+
- type: textarea
14+
id: question
15+
attributes:
16+
label: 问题描述
17+
description: 请清晰地描述您的问题
18+
placeholder: |
19+
例如:
20+
我想了解如何在 UPage 中配置使用本地部署的 Ollama 模型?
21+
需要设置哪些环境变量?
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: context
27+
attributes:
28+
label: 背景信息
29+
description: 请提供一些背景信息,帮助我们更好地理解您的问题
30+
placeholder: |
31+
例如:
32+
- 您的使用场景
33+
- 您想要实现的目标
34+
- 已经尝试过的配置或操作
35+
validations:
36+
required: false
37+
38+
- type: textarea
39+
id: attempted-solutions
40+
attributes:
41+
label: 已尝试的解决方法
42+
description: 您是否已经尝试过一些解决方法?如果有,请描述一下
43+
placeholder: |
44+
例如:
45+
1. 我尝试设置了 LLM_PROVIDER=Ollama
46+
2. 但是不确定 PROVIDER_BASE_URL 应该填什么
47+
3. 查看了文档但没有找到详细的配置说明
48+
49+
- type: dropdown
50+
id: environment
51+
attributes:
52+
label: 部署方式
53+
description: 您是如何部署 UPage 的?
54+
options:
55+
- Docker
56+
- 1Panel 应用商店
57+
- 源码部署
58+
- 其他(请在下方补充说明)
59+
validations:
60+
required: false
61+
62+
- type: textarea
63+
id: environment-details
64+
attributes:
65+
label: 环境详情
66+
description: |
67+
请提供您的环境信息(可选但推荐),例如:
68+
- 操作系统及版本
69+
- UPage 版本
70+
- 相关的配置信息(请注意不要暴露敏感信息如 API Key)
71+
placeholder: |
72+
例如:
73+
- 操作系统:Ubuntu 22.04
74+
- UPage 版本:1.0.1
75+
- Docker 版本:24.0.5
76+
- Ollama 版本:0.1.23
77+
render: shell
78+
79+
- type: textarea
80+
id: additional-context
81+
attributes:
82+
label: 其他补充信息
83+
description: 请提供任何其他可能有助于回答您问题的信息
84+
placeholder: 例如:相关的截图、配置文件内容(请隐藏敏感信息)等

0 commit comments

Comments
 (0)