mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
docs: update auto-created issue template
This commit is contained in:
parent
88d4e3e078
commit
ffb3118064
2 changed files with 23 additions and 2 deletions
|
|
@ -52,6 +52,7 @@ module.exports = {
|
||||||
'unicorn/prefer-module': 'off',
|
'unicorn/prefer-module': 'off',
|
||||||
'@typescript-eslint/no-empty-function': 'off',
|
'@typescript-eslint/no-empty-function': 'off',
|
||||||
'@typescript-eslint/method-signature-style': 'off',
|
'@typescript-eslint/method-signature-style': 'off',
|
||||||
|
'unicorn/prefer-string-slice': 'off',
|
||||||
'unicorn/no-array-reduce': 'off',
|
'unicorn/no-array-reduce': 'off',
|
||||||
'@typescript-eslint/member-delimiter-style': [
|
'@typescript-eslint/member-delimiter-style': [
|
||||||
'warn',
|
'warn',
|
||||||
|
|
|
||||||
24
src/main.ts
24
src/main.ts
|
|
@ -207,8 +207,28 @@ if (!isTest) {
|
||||||
user: 'tiddly-gittly',
|
user: 'tiddly-gittly',
|
||||||
repo: 'TiddlyGit-Desktop',
|
repo: 'TiddlyGit-Desktop',
|
||||||
template: 'bug.md',
|
template: 'bug.md',
|
||||||
title: `bug: ${error.message}`,
|
title: `bug: ${(error.message ?? '').substring(0, 100)}`,
|
||||||
body: `\`\`\`\n${error.stack ?? 'No error.stack'}\n\`\`\`\n\n---\n\n${debugInfo()}`,
|
body: `## Environment
|
||||||
|
|
||||||
|
${debugInfo()}
|
||||||
|
|
||||||
|
## Description:
|
||||||
|
|
||||||
|
<!-- Describe how the bug manifests and what the behavior would be without the bug. 描述该错误是如何表现出来的,以及在正常情况下应该有什么样的行为 -->
|
||||||
|
|
||||||
|
## Steps to Reproduce:
|
||||||
|
|
||||||
|
<!-- Please explain the steps required to duplicate the issue, especially if you are able to provide a sample or a screen recording. 请解释复现该问题所需的步骤,有录屏最好。 -->
|
||||||
|
|
||||||
|
## Additional Context
|
||||||
|
|
||||||
|
\`\`\`typescript\n${error.stack ?? 'No error.stack'}\n\`\`\`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to add, use case, forum links, screenshots, OS if applicable, etc. 列出与你的问题有关的任何其他信息。报错堆栈、相关问题(issue)、关于如何添加的建议、使用案例、论坛链接、屏幕截图、操作系统(如果适用)等等。 -->
|
||||||
|
|
||||||
|
`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue