From ec3b627ad77c90a437d51ee8554acce0b0041cee Mon Sep 17 00:00:00 2001 From: Olga Telezhnaya Date: Thu, 26 Sep 2024 14:47:39 +0100 Subject: [PATCH] Cleanup in issue templates (#12144) Continue working on https://github.com/near/nearcore/pull/12141 - Dropped the prev template, it's redundant now - Fixed feature request template, "Yes" is not a valid string according to the rules - Polishing some details here and there --- .github/ISSUE_TEMPLATE/0-node-issue.yml | 33 +++++++++-------- .github/ISSUE_TEMPLATE/1-rpc-issue.yml | 3 ++ .../2-contract-runtime-issue.yml | 3 ++ .github/ISSUE_TEMPLATE/3-feature-request.yml | 4 +-- .github/ISSUE_TEMPLATE/4-general-issue.yml | 7 ++-- .github/ISSUE_TEMPLATE/5-internal.yml | 1 - .github/ISSUE_TEMPLATE/bug_report.md | 36 ------------------- 7 files changed, 31 insertions(+), 56 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/0-node-issue.yml b/.github/ISSUE_TEMPLATE/0-node-issue.yml index 9ea38aff3dc..c7009210cba 100644 --- a/.github/ISSUE_TEMPLATE/0-node-issue.yml +++ b/.github/ISSUE_TEMPLATE/0-node-issue.yml @@ -21,15 +21,6 @@ body: placeholder: ex. email@example.com validations: required: false - - type: dropdown - id: network - attributes: - label: Which network are you running? - description: Pick the network - options: - - mainnet - - testnet - - other (specify below) - type: dropdown id: node-type attributes: @@ -38,18 +29,22 @@ body: options: - Top 100 Validator - Non-Top 100 Validator - - RPC (Default) + - RPC - Split Storage Archival - Legacy Archival (Deprecated) default: 2 validations: required: true - - type: textarea - id: version + - type: dropdown + id: network attributes: - label: Version - description: What version of neard are you running? Please, provide output of `$NEARD --version`. - render: shell + label: Which network are you running? + description: Pick the network + options: + - mainnet + - testnet + - other (specify below) + default: 0 validations: required: true - type: textarea @@ -59,6 +54,14 @@ body: description: Describe your issue with running a near node. validations: required: true + - type: textarea + id: version + attributes: + label: Version + description: What version of neard are you running? Please, provide output of `$NEARD --version`. + render: shell + validations: + required: true - type: textarea id: logs attributes: diff --git a/.github/ISSUE_TEMPLATE/1-rpc-issue.yml b/.github/ISSUE_TEMPLATE/1-rpc-issue.yml index 1bb82b41f65..76d0786cfcf 100644 --- a/.github/ISSUE_TEMPLATE/1-rpc-issue.yml +++ b/.github/ISSUE_TEMPLATE/1-rpc-issue.yml @@ -28,6 +28,9 @@ body: - mainnet - testnet - other (specify below) + default: 0 + validations: + required: true - type: textarea id: rpc-url attributes: diff --git a/.github/ISSUE_TEMPLATE/2-contract-runtime-issue.yml b/.github/ISSUE_TEMPLATE/2-contract-runtime-issue.yml index ba8f3ad309a..155d1f9c573 100644 --- a/.github/ISSUE_TEMPLATE/2-contract-runtime-issue.yml +++ b/.github/ISSUE_TEMPLATE/2-contract-runtime-issue.yml @@ -28,6 +28,9 @@ body: - mainnet - testnet - other (specify below) + default: 0 + validations: + required: true - type: textarea id: what-happened attributes: diff --git a/.github/ISSUE_TEMPLATE/3-feature-request.yml b/.github/ISSUE_TEMPLATE/3-feature-request.yml index a752473141c..2b882208905 100644 --- a/.github/ISSUE_TEMPLATE/3-feature-request.yml +++ b/.github/ISSUE_TEMPLATE/3-feature-request.yml @@ -44,7 +44,7 @@ body: - type: checkboxes id: ready-to-contribute attributes: - label: Are you ready to contribute to nearcore? + label: Contributing description: Are you interested in implementing this feature? options: - - label: Yes + - label: Yes, I am interested diff --git a/.github/ISSUE_TEMPLATE/4-general-issue.yml b/.github/ISSUE_TEMPLATE/4-general-issue.yml index d43bb85c851..6876188c264 100644 --- a/.github/ISSUE_TEMPLATE/4-general-issue.yml +++ b/.github/ISSUE_TEMPLATE/4-general-issue.yml @@ -1,5 +1,5 @@ name: Bug Report -description: General bug report [use this only if it does not fit into any of the categories above] +description: General bug report. Use this only if it does not fit into any of the categories above. title: "Bug: " labels: ["community", "investigation required"] assignees: @@ -28,6 +28,9 @@ body: - mainnet - testnet - other (specify below) + default: 0 + validations: + required: true - type: textarea id: what-happened attributes: @@ -42,4 +45,4 @@ body: description: Please copy and paste any relevant log output. render: shell validations: - required: false + required: true diff --git a/.github/ISSUE_TEMPLATE/5-internal.yml b/.github/ISSUE_TEMPLATE/5-internal.yml index 05065c6c926..5007e7c1c7e 100644 --- a/.github/ISSUE_TEMPLATE/5-internal.yml +++ b/.github/ISSUE_TEMPLATE/5-internal.yml @@ -1,6 +1,5 @@ name: Internal description: Template for nearcore employees only -title: "Issue: " body: - type: textarea id: content diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 3c138020a20..00000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - - -**Describe the bug** -Please provide a short description of the bug. - -**To Reproduce** -Steps to reproduce the behavior. - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Version (please complete the following information):** -- nearcore commit/branch -- rust version (if local) -- docker (if using docker) -- mainnet/testnet/betanet/local - -**Additional context** -Add any other context about the problem here.