|
| 1 | +name: "Bug Report" |
| 2 | +description: Submit a bug encountered while using ScriptCat |
| 3 | +title: "[BUG] " |
| 4 | +labels: ["bug"] |
| 5 | +# assignees: "" |
| 6 | +body: |
| 7 | + - type: markdown |
| 8 | + attributes: |
| 9 | + value: | |
| 10 | + **Please take 2 minutes to fill out the following information, which will greatly help us quickly locate the problem** |
| 11 | +
|
| 12 | + - type: textarea |
| 13 | + id: problem-description |
| 14 | + attributes: |
| 15 | + label: "Problem Description" |
| 16 | + description: "What problem occurred? What is the expected normal behavior?" |
| 17 | + placeholder: "e.g., When clicking the download button on YouTube page, the script throws a 404 error, expected to show a download window" |
| 18 | + validations: |
| 19 | + required: true |
| 20 | + |
| 21 | + - type: textarea |
| 22 | + id: reproduction-steps |
| 23 | + attributes: |
| 24 | + label: "Reproduction Steps" |
| 25 | + description: "Please list the steps to reproduce the problem in order" |
| 26 | + placeholder: | |
| 27 | + 1. Open https://example.com |
| 28 | + 2. Click the red button in the top right corner of the page |
| 29 | + 3. Wait 5 seconds and observe the console |
| 30 | + validations: |
| 31 | + required: true |
| 32 | + |
| 33 | + - type: markdown |
| 34 | + attributes: |
| 35 | + value: "### Environment Information" |
| 36 | + - type: input |
| 37 | + id: scriptcat-version |
| 38 | + attributes: |
| 39 | + label: ScriptCat Version |
| 40 | + description: You can view it by clicking on the ScriptCat popup window. If possible, please use the latest version as your issue may have already been resolved |
| 41 | + placeholder: e.g., v0.17.0 |
| 42 | + validations: |
| 43 | + required: true |
| 44 | + - type: input |
| 45 | + id: browser-version |
| 46 | + attributes: |
| 47 | + label: Operating System and Browser Information |
| 48 | + description: You can view it in Browser - About, or enter chrome://settings/help |
| 49 | + placeholder: e.g., Windows 11 Chrome 137.0.3296.93 (Official Build) (arm64) |
| 50 | + validations: |
| 51 | + required: true |
| 52 | + |
| 53 | + - type: markdown |
| 54 | + attributes: |
| 55 | + value: "### Additional Information" |
| 56 | + |
| 57 | + - type: textarea |
| 58 | + id: additional-info |
| 59 | + attributes: |
| 60 | + label: Additional Information (Optional) |
| 61 | + description: Error logs/screenshots/script code snippets/related configurations... |
| 62 | + placeholder: | |
| 63 | + If it involves a specific script, it's best to export it as a zip file from the extension's homepage and upload it, or provide the script's installation address. |
| 64 | +
|
| 65 | + To view error logs for the extension itself: |
| 66 | + 1. Open the extension management page (chrome://extensions/) |
| 67 | + 2. Turn on developer mode, click on ScriptCat's "Service Worker" or "offscreen.html" |
| 68 | + 3. View the console page in the popup window |
| 69 | +
|
| 70 | + Error logs for regular scripts can be viewed in the developer tools (F12 shortcut) - Console on the script's running page |
| 71 | + Error logs for background scripts can be viewed in the above-mentioned offscreen.html |
0 commit comments