Skip to content

Commit

Permalink
Add bug form (#46)
Browse files Browse the repository at this point in the history
* Add bug form label

* Replace radio buttons with dropdown

* Fix indent

* Add sample

* Formatting

* Reduce example

* Extend explanation

* Move cds sample

* Add <pre>

* Add missing closing fence

* Format

* Add sample repo

* Hint at branch

* Remove old template
  • Loading branch information
daogrady authored Aug 7, 2023
1 parent eda6e44 commit b96eab7
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

89 changes: 89 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: 🐞 Bug
description: File a bug/issue
title: "[BUG] <title>"
labels: ["bug", "new"]
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: dropdown
attributes:
label: Nature of Your Project
description: Have you encountered the issue in the context of a JavaScript or TypeScript project?
default: 0
multiple: true
options:
- JavaScript
- TypeScript
validations:
required: true
- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: false
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: |
Steps to reproduce the behavior.
Tip: You can add CDS code in code fences:
<pre>
```cds
entity Foo {
bar: String;
baz: Integer;
}
```
</pre>
placeholder: |
1. In this environment...
2. With this config...
3. With this sample model...
4. Run '...'/ Do...
5. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
You can acquire the input for the cds-field by running `cds v -i`.
The version of cds-typer can be acquired by running `npx cds-typer --version`.
value: |
- **OS**:
- **Node**:
- **npm**:
- **cds-typer**:
- **cds**:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Repository Containing a Minimal Reproducible Example
placeholder: https://github.com/my/repository
description: |
Do you have a sample repository where we can observe the reported behaviour? Please include the relevant branch.
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false

0 comments on commit b96eab7

Please sign in to comment.