From e58c10c0a12b5ba67a2c697e2a87d0510f2af93b Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Tue, 31 May 2022 10:34:44 -0700 Subject: [PATCH 1/2] chore(website): include labels in the report-an-issue button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I was wrong [when I originally told armano to remove these](https://github.com/typescript-eslint/typescript-eslint/pull/4916#discussion_r870862218). It appears that GH uses the issue form config to power the initial link from the issue chooser, and then completely ignores the config after that 😢 So without this param, the issue is filled without any tags at all!!! --- packages/website/src/components/lib/markdown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/website/src/components/lib/markdown.ts b/packages/website/src/components/lib/markdown.ts index 2d9c206ab121..56dd61ee4f8a 100644 --- a/packages/website/src/components/lib/markdown.ts +++ b/packages/website/src/components/lib/markdown.ts @@ -50,6 +50,7 @@ export function createMarkdown(state: ConfigModel): string { export function createMarkdownParams(state: ConfigModel): string { const params = { + labels: 'bug,package eslint-plugin,triage', template: '1-bug-report-plugin.yaml', title: 'Bug: [rule name here] ', 'playground-link': document.location.toString(), From 0b177687594d49229919f22aa32e37ff3ab5f896 Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Tue, 31 May 2022 18:11:25 -0700 Subject: [PATCH 2/2] Update packages/website/src/components/lib/markdown.ts Co-authored-by: Armano --- packages/website/src/components/lib/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/src/components/lib/markdown.ts b/packages/website/src/components/lib/markdown.ts index 56dd61ee4f8a..ab9175dc2f09 100644 --- a/packages/website/src/components/lib/markdown.ts +++ b/packages/website/src/components/lib/markdown.ts @@ -50,7 +50,7 @@ export function createMarkdown(state: ConfigModel): string { export function createMarkdownParams(state: ConfigModel): string { const params = { - labels: 'bug,package eslint-plugin,triage', + labels: 'bug,package: eslint-plugin,triage', template: '1-bug-report-plugin.yaml', title: 'Bug: [rule name here] ', 'playground-link': document.location.toString(),