From ac948412dcbdd65d776e77a767ea06ecf345708c Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 12 Aug 2025 11:31:06 -0700 Subject: [PATCH] Clearer help instructions (#919) --- .github/ISSUE_TEMPLATE/bug_report.md | 7 ++++- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- src/components/HelpDialog.tsx | 31 +++++++++++++++-------- 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd00c08..efa1f21 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,10 +2,15 @@ name: Bug report about: Create a report to help us improve title: "" -labels: "" +labels: "bug" assignees: "" --- + + **Describe the bug** A clear and concise description of what the bug is. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 2bc5d5f..6cc3496 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request about: Suggest an idea for this project title: "" -labels: "" +labels: "feature request" assignees: "" --- diff --git a/src/components/HelpDialog.tsx b/src/components/HelpDialog.tsx index 9439e81..fe3adcc 100644 --- a/src/components/HelpDialog.tsx +++ b/src/components/HelpDialog.tsx @@ -67,16 +67,21 @@ export function HelpDialog({ isOpen, onClose }: HelpDialogProps) { // Create a formatted issue body with the debug info const issueBody = ` -## Bug Description + + +## Bug Description (required) -## Steps to Reproduce +## Steps to Reproduce (required) -## Expected Behavior +## Expected Behavior (required) -## Actual Behavior +## Actual Behavior (required) ## 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] "); + const encodedTitle = encodeURIComponent("[bug] "); 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 + + Session ID: ${sessionId} -## Issue Description +## Issue Description (required) -## Expected Behavior +## Expected Behavior (required) -## Actual Behavior +## Actual Behavior (required) `; @@ -248,8 +257,8 @@ Session ID: ${sessionId} {sessionId}

- 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.