From 408610264c60772379cc246f0cb1a93f1cd87686 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 24 Apr 2025 08:03:07 -0400 Subject: [PATCH 1/4] feat(meta): add learn article issue template --- .github/ISSUE_TEMPLATE/03-article-issue.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/03-article-issue.yml diff --git a/.github/ISSUE_TEMPLATE/03-article-issue.yml b/.github/ISSUE_TEMPLATE/03-article-issue.yml new file mode 100644 index 0000000000000..a0f1212c6565a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03-article-issue.yml @@ -0,0 +1,15 @@ +name: "Report an issue on a learn article" +fields: + - type: "input" + attributes: + label: "Affected URL" + description: "Provide the full URL where the issue occurred." + validations: + required: true + + - type: "textarea" + attributes: + label: "Issue Description" + description: "Clearly describe the issue encountered or the incorrect information found." + validations: + required: true \ No newline at end of file From e2c1b9ca5499dc5619be1fe124812c503b894124 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 24 Apr 2025 08:04:33 -0400 Subject: [PATCH 2/4] Newline --- .github/ISSUE_TEMPLATE/03-article-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/03-article-issue.yml b/.github/ISSUE_TEMPLATE/03-article-issue.yml index a0f1212c6565a..9ddc2832f2d4b 100644 --- a/.github/ISSUE_TEMPLATE/03-article-issue.yml +++ b/.github/ISSUE_TEMPLATE/03-article-issue.yml @@ -12,4 +12,4 @@ fields: label: "Issue Description" description: "Clearly describe the issue encountered or the incorrect information found." validations: - required: true \ No newline at end of file + required: true From 9450666e6158758005d13eea639c565f1f333b62 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 24 Apr 2025 16:07:43 -0400 Subject: [PATCH 3/4] fixup! incorrect template format Signed-off-by: Aviv Keller --- .github/ISSUE_TEMPLATE/03-article-issue.yml | 29 +++++++++++++++------ 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/03-article-issue.yml b/.github/ISSUE_TEMPLATE/03-article-issue.yml index 9ddc2832f2d4b..4d258a6834b38 100644 --- a/.github/ISSUE_TEMPLATE/03-article-issue.yml +++ b/.github/ISSUE_TEMPLATE/03-article-issue.yml @@ -1,15 +1,28 @@ -name: "Report an issue on a learn article" -fields: - - type: "input" +name: Report an issue on a Learn article +description: 'Found an error or something unclear in one of our Learn articles? Let us know!' +labels: [bug, learn] +body: + - type: markdown attributes: - label: "Affected URL" - description: "Provide the full URL where the issue occurred." + value: | + Thanks for taking the time to help improve the Node.js learning experience! + Before submitting, please check if there's already an existing issue that matches yours. + + - type: input + attributes: + label: 'Affected URL' + placeholder: 'https://nodejs.org/en/learn/some-article' + description: 'Please include the full URL of the article where the issue exists.' validations: required: true - - type: "textarea" + - type: textarea attributes: - label: "Issue Description" - description: "Clearly describe the issue encountered or the incorrect information found." + label: 'Describe the issue in detail:' + placeholder: | + 1. What is wrong or unclear? + 2. What did you expect to see? + 3. Any suggestions or corrections? + description: 'Tell us what you noticed and how we can improve the article.' validations: required: true From 61a6085db173596ab77e4691e2874afc08d5fe0b Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 24 Apr 2025 16:11:22 -0400 Subject: [PATCH 4/4] dd content Signed-off-by: Aviv Keller --- .github/ISSUE_TEMPLATE/03-article-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/03-article-issue.yml b/.github/ISSUE_TEMPLATE/03-article-issue.yml index 4d258a6834b38..a30127b2af336 100644 --- a/.github/ISSUE_TEMPLATE/03-article-issue.yml +++ b/.github/ISSUE_TEMPLATE/03-article-issue.yml @@ -1,6 +1,6 @@ name: Report an issue on a Learn article description: 'Found an error or something unclear in one of our Learn articles? Let us know!' -labels: [bug, learn] +labels: [bug, content, learn] body: - type: markdown attributes: