From 3f3acb48c6360f18b77522e1582f4add1d0917ef Mon Sep 17 00:00:00 2001 From: Will Jones Date: Wed, 20 Dec 2023 15:15:24 -0800 Subject: [PATCH] chore: add issue templates (#732) This PR adds issue templates, which help two recurring issues: * Users forget to tell us whether they are using the Node or Python SDK * Issues don't get appropriate tags This doesn't force the use of the templates. Because we set `blank_issues_enabled: true`, users can still create a custom issue. --- .github/ISSUE_TEMPLATE/bug-node.yml | 33 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug-python.yml | 33 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++++ .github/ISSUE_TEMPLATE/documentation.yml | 23 +++++++++++++++++ .github/ISSUE_TEMPLATE/feature.yml | 31 ++++++++++++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-node.yml create mode 100644 .github/ISSUE_TEMPLATE/bug-python.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/documentation.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/bug-node.yml b/.github/ISSUE_TEMPLATE/bug-node.yml new file mode 100644 index 00000000..debffe15 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-node.yml @@ -0,0 +1,33 @@ +name: Bug Report - Node / Typescript +description: File a bug report +title: "bug(node): " +labels: [bug, typescript] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: version + attributes: + label: LanceDB version + description: What version of LanceDB are you using? `npm list | grep vectordb`. + placeholder: v0.3.2 + validations: + required: false + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Are there known steps to reproduce? + description: | + Let us know how to reproduce the bug and we may be able to fix it more + quickly. This is not required, but it is helpful. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/bug-python.yml b/.github/ISSUE_TEMPLATE/bug-python.yml new file mode 100644 index 00000000..c6cbd495 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-python.yml @@ -0,0 +1,33 @@ +name: Bug Report - Python +description: File a bug report +title: "bug(python): " +labels: [bug, python] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: version + attributes: + label: LanceDB version + description: What version of LanceDB are you using? `python -c "import lancedb; print(lancedb.__version__)"`. + placeholder: v0.3.2 + validations: + required: false + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Are there known steps to reproduce? + description: | + Let us know how to reproduce the bug and we may be able to fix it more + quickly. This is not required, but it is helpful. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..2a87281a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Discord Community Support + url: https://discord.com/invite/zMM32dvNtd + about: Please ask and answer questions here. diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 00000000..7fd4493e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,23 @@ +name: 'Documentation improvement' +description: Report an issue with the documentation. +labels: [documentation] + +body: + - type: textarea + id: description + attributes: + label: Description + description: > + Describe the issue with the documentation and how it can be fixed or improved. + validations: + required: true + + - type: input + id: link + attributes: + label: Link + description: > + Provide a link to the existing documentation, if applicable. + placeholder: ex. https://lancedb.github.io/lancedb/guides/tables/... + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..0bd5abf9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,31 @@ +name: Feature suggestion +description: Suggestion a new feature for LanceDB +title: "Feature: " +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Share a new idea for a feature or improvement. Be sure to search existing + issues first to avoid duplicates. + - type: dropdown + id: sdk + attributes: + label: SDK + description: Which SDK are you using? This helps us prioritize. + options: + - Python + - Node + - Rust + default: 0 + validations: + required: false + - type: textarea + id: description + attributes: + label: Description + description: | + Describe the feature and why it would be useful. If applicable, consider + providing a code example of what it might be like to use the feature. + validations: + required: true \ No newline at end of file