From 20d922992f2a06f222c07c31ac8b6688c47f5798 Mon Sep 17 00:00:00 2001 From: Omar Mahili Date: Mon, 30 Dec 2024 16:06:14 +0100 Subject: [PATCH] chore: add issue template --- .github/ISSUE_TEMPLATE/bug-template.yml | 101 ++++++++++++++++++ .../feature-request-template.yml | 18 ++++ 2 files changed, 119 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-template.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request-template.yml diff --git a/.github/ISSUE_TEMPLATE/bug-template.yml b/.github/ISSUE_TEMPLATE/bug-template.yml new file mode 100644 index 0000000..09c4216 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-template.yml @@ -0,0 +1,101 @@ +name: Bug report +description: Report an issue with Reorderable List. +labels: ["bug"] +body: + - type: textarea + id: description + attributes: + label: Description + description: Please provide a clear and concise description of the issue you are facing. Include what you expect to happen, what actually happens and a video of the issue if possible. + validations: + required: true + + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: Please provide the steps necessary to reproduce the bug. + placeholder: | + 1. Scroll the list until item at index 4 + 2. Long press on item at index 4 + 3. Drag the item to index 7 and release it + validations: + required: true + + - type: textarea + id: minimal-reproducible-example + attributes: + label: Minimal reproducible example + description: Please provide a minimal working example to reproduce the bug. It can be a link to a repository, a link to a snack (https://snack.expo.dev) or the actual code. Please make sure it contains the minimum necessary to reproduce the bug as described here https://stackoverflow.com/help/minimal-reproducible-example. + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Relevant logs + description: Please provide any relevant logs encountered when this bug occurs. + + - type: input + id: reorderable-list-version + attributes: + label: Reorderable List version + placeholder: 0.7.0 + validations: + required: true + + - type: input + id: react-native-version + attributes: + label: React Native version + placeholder: 0.76.5 + validations: + required: true + + - type: dropdown + id: project-type + attributes: + label: Project type + options: + - Bare React Native + - Expo + validations: + required: true + + - type: dropdown + id: architecture + attributes: + label: Architecture + options: + - Paper (Old Architecture) + - Fabric (New Architecture) + validations: + required: true + + - type: input + id: reanimated-version + attributes: + label: Reanimated version + placeholder: 3.16.6 + validations: + required: true + + - type: input + id: gesture-handler-version + attributes: + label: Gesture Handler version + placeholder: 2.21.2 + validations: + required: true + + - type: dropdown + id: affected-platforms + attributes: + label: Affected platforms + multiple: true + options: + - iOS + - Android + validations: + required: true + diff --git a/.github/ISSUE_TEMPLATE/feature-request-template.yml b/.github/ISSUE_TEMPLATE/feature-request-template.yml new file mode 100644 index 0000000..0f71133 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request-template.yml @@ -0,0 +1,18 @@ +name: Feature request +description: Request a new feature in Reorderable List. +labels: ["feature-request"] +body: + - type: textarea + id: description + attributes: + label: Description + description: Please provide a clear and concise description of the feature or improvement you would like to see in the library. + validations: + required: true + + - type: textarea + id: possible-implementation + attributes: + label: Possible implementation + description: How do you think this can be implemented in the current codebase? +