Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
bit-pm
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
燕伟桐
bit-pm
Commits
ac948412
Unverified
提交
ac948412
authored
8月 12, 2025
作者:
Will Chen
提交者:
GitHub
8月 12, 2025
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clearer help instructions (#919)
上级
c6eb3975
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
27 行增加
和
13 行删除
+27
-13
bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
+6
-1
feature_request.md
.github/ISSUE_TEMPLATE/feature_request.md
+1
-1
HelpDialog.tsx
src/components/HelpDialog.tsx
+20
-11
没有找到文件。
.github/ISSUE_TEMPLATE/bug_report.md
浏览文件 @
ac948412
...
...
@@ -2,10 +2,15 @@
name
:
Bug report
about
:
Create a report to help us improve
title
:
"
"
labels
:
"
"
labels
:
"
bug
"
assignees
:
"
"
---
<!--
⚠️ IMPORTANT: All sections marked as required must be completed in English.
Issues that do not meet these requirements will be closed and may need to be resubmitted.
-->
**Describe the bug**
A clear and concise description of what the bug is.
...
...
.github/ISSUE_TEMPLATE/feature_request.md
浏览文件 @
ac948412
...
...
@@ -2,7 +2,7 @@
name
:
Feature request
about
:
Suggest an idea for this project
title
:
"
"
labels
:
"
"
labels
:
"
feature
request
"
assignees
:
"
"
---
...
...
src/components/HelpDialog.tsx
浏览文件 @
ac948412
...
...
@@ -67,16 +67,21 @@ export function HelpDialog({ isOpen, onClose }: HelpDialogProps) {
// Create a formatted issue body with the debug info
const
issueBody
=
`
## Bug Description
<!--
⚠️ IMPORTANT: All sections marked as required must be completed in English.
Issues that do not meet these requirements will be closed and may need to be resubmitted.
-->
## Bug Description (required)
<!-- Please describe the issue you're experiencing -->
## Steps to Reproduce
## Steps to Reproduce
(required)
<!-- Please list the steps to reproduce the issue -->
## Expected Behavior
## Expected Behavior
(required)
<!-- What did you expect to happen? -->
## Actual Behavior
## Actual Behavior
(required)
<!-- What actually happened? -->
## System Information
...
...
@@ -97,7 +102,7 @@ ${debugInfo.logs.slice(-3_500) || "No logs available"}
// Create the GitHub issue URL with the pre-filled body
const
encodedBody
=
encodeURIComponent
(
issueBody
);
const
encodedTitle
=
encodeURIComponent
(
"[bug] <
add title
>"
);
const
encodedTitle
=
encodeURIComponent
(
"[bug] <
WRITE TITLE HERE
>"
);
const
githubIssueUrl
=
`https://github.com/dyad-sh/dyad/issues/new?title=
${
encodedTitle
}
&labels=bug,filed-from-app&body=
${
encodedBody
}
`
;
// Open the pre-filled GitHub issue page
...
...
@@ -199,16 +204,20 @@ ${debugInfo.logs.slice(-3_500) || "No logs available"}
const
handleOpenGitHubIssue
=
()
=>
{
// Create a GitHub issue with the session ID
const
issueBody
=
`
## Support Request
<!--
⚠️ IMPORTANT: All sections marked as required must be completed in English.
Issues that do not meet these requirements will be closed and may need to be resubmitted.
-->
Session ID:
${
sessionId
}
## Issue Description
## Issue Description
(required)
<!-- Please describe the issue you're experiencing -->
## Expected Behavior
## Expected Behavior
(required)
<!-- What did you expect to happen? -->
## Actual Behavior
## Actual Behavior
(required)
<!-- What actually happened? -->
`
;
...
...
@@ -248,8 +257,8 @@ Session ID: ${sessionId}
<
span
>
{
sessionId
}
</
span
>
</
div
>
<
p
className=
"text-center text-sm"
>
Please open a GitHub issue so we can follow-up with you on this
issue
.
You must open a GitHub issue for us to investigate. Without a
linked issue, your report will not be reviewed
.
</
p
>
</
div
>
<
DialogFooter
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论