Skip to content

Commit

Permalink
chore: issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jun 19, 2024
1 parent b1648f7 commit 18043c1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 27 deletions.
14 changes: 14 additions & 0 deletions .github/DISCUSSION_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
labels: ["bug"]
body:
- type: textarea
attributes:
label: Bug Description
description: Describe the bug you encountered
validations:
required: true
- type: checkboxes
attributes:
label: Check List
options:
- label: I've added a link to a [TypeScript Playground](https://www.typescriptlang.org/play), a [StackBlitz Project](https://stackblitz.com/) or something else with a minimal reproduction.
required: true
25 changes: 2 additions & 23 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
---
name: Confirmed bug report
about: Create a confirmed bug report. Please open a discussion otherwise.
name: Assigned issue
about: This is to create a new issue that already has an assignee. Please open a new discussion otherwise.
title: ''
labels: ''
assignees: ''

---

## Summary



## Link to reproduction



## Check List

Please do not ask questions in issues.

- [ ] I've already opened a [discussion](https://github.com/pmndrs/zustand/discussions) before opening this issue, or already discussed in other media.

Please include a minimal reproduction.

- [ ] I've added a link to a [typescript playground](https://www.typescriptlang.org/play) or [codesandbox](https://codesandbox.io) with a minimal reproduction.

Please check this if you're filing an issue regarding TypeScript.

- [ ] I've read the [typescript guide](https://github.com/pmndrs/zustand/blob/main/docs/guides/typescript.md), in particular that `create` is to be used as `create<T>()(...)` and not `create<T>(...)`.
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
contact_links:
- name: Questions, unconfirmed bugs and ideas
url: https://github.com/pmndrs/zustand/discussions/new
about: Please post questions, unconfirmed bugs and ideas in discussions.
- name: Bug Reports
url: https://github.com/pmndrs/zustand/discussions/new?category=bug-report
about: Please post bug reports here.
- name: Questions
url: https://github.com/pmndrs/zustand/discussions/new?category=q-a
about: Please post questions here.
- name: Other Discussions
url: https://github.com/pmndrs/zustand/discussions/new/choose
about: Please post ideas and general discussions here.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Related Issues or Discussions
## Related Bug Reports or Discussions

Fixes #

Expand Down

0 comments on commit 18043c1

Please sign in to comment.