docs: add issue templates

This commit is contained in:
hayden 2024-02-06 14:28:35 +08:00
parent 337885be8b
commit d11a39556b
3 changed files with 95 additions and 19 deletions

View File

@ -0,0 +1,67 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: version
attributes:
label: Version
description: Which version did the problem appear on?
placeholder: v0.0.1
validations:
required: true
- type: dropdown
id: sql-type
attributes:
label: Which SQL?
description: Which kind of SQL did the problem appear on?
options:
- MySQL
- Flink
- Spark
- Hive
- Postgre
- Trino
- Impala
- Any Others
validations:
required: true
- type: textarea
id: sql-content
attributes:
label: SQL content
placeholder: SELECT * FROM table;
description: Please provide the minimal SQL text that reproduces the problem.
render: sql
- type: textarea
id: js-code
attributes:
label: JavaScript/TypeScript code
description: Please provide the minimal demo code that reproduces the problem.
render: typescript
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

View File

@ -0,0 +1,28 @@
name: Feature Request
description: Suggest an idea for this project
title: '[Feature Request]: '
labels: []
body:
- type: markdown
attributes:
value: |
To help us efficiently reviewing your feature request, please fill out this form.
- type: dropdown
id: sql-type
attributes:
label: Topic
options:
- Support new SQL
- Support new features on parser
- Enhance existing features
- Documents
- Any Others
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Please describe your feature request.

View File

@ -1,19 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Version**
e.g. v3.0.5
**The Type of SQL**
e.g. SparkSQL | FlinkSQL | HiveSQL | Impala
**Your Code**
e.g. parser.parserSql(....);
**Problem**
e.g. the code do not work.