Skip to content

Update bug/feature templates #2041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-openapi-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: "Bug report: openapi-fetch"
about: For the openapi-fetch library
title: ""
labels: openapi-fetch, bug
assignees: ""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I originally started to see if we could auto-assign to a specific team, but I think we need a custom action to do a round-robin assignment that I’ll add in a followup (assigning to the entire team means we all get notified, and I wanted to find a solution where we don’t all get notified for everything).

But in me examining the templates, I realized these were a little stale and could use some updating.

body:
- type: input
attributes:
label: Version
placeholder: x.x.x
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the bug. Provide either a screenshot or the full error message!
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction
description: How can this be reproduced / when did the error occur? Does the issue occur in a specific browser, or all browsers? Bonus points for a GitHub repository link.
validations:
required: true
- type: textarea
attributes:
label: Expected result
description: (In case it’s not obvious)
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md))
---
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-openapi-react-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: "Bug report: openapi-react-query"
about: For the openapi-react-query library
title: ""
labels: openapi-react-query, bug
assignees: ""
body:
- type: input
attributes:
label: Version
placeholder: x.x.x
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the bug. Provide either a screenshot or the full error message!
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction
description: How can this be reproduced / when did the error occur? Does the issue occur in a specific browser, or all browsers? Bonus points for a GitHub repository link.
validations:
required: true
- type: textarea
attributes:
label: Expected result
description: (In case it’s not obvious)
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-react-query/CONTRIBUTING.md))
---
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-openapi-typescript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
name: "Bug report: openapi-typescript"
about: For the openapi-typescript library
title: ""
labels: openapi-ts, bug
assignees: ""
body:
- type: input
attributes:
label: openapi-typescript version
placeholder: x.x.x
validations:
required: true
- type: input
attributes:
label: Node.js version
placeholder: 20.x.x
validations:
required: true
- type: input
attributes:
label: OS + version
placeholder: macOS 15.1.1
validations:
required: true
Comment on lines +20 to +25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we see OS specific issues a lot? (then a gain, it's little to ask, so maybe better to ask right away).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Especially with openapi-typescript, quite a lot! It’s also why we have Windows tests. Anything that talks to the filesystem, really, it’s important to know what OS they’re on. Put another way, it’s basically a “are you using Windows” question.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything that talks to the filesystem, really, it’s important to know what OS they’re on.

Ah, yes, good point!

- type: textarea
id: description
attributes:
label: Description
description: A brief description of the bug. Provide either a screenshot or the full error message!
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction
description: How can this be reproduced / when did the error occur? Does the issue occur in a specific browser, or all browsers? Bonus points for a GitHub repository link.
validations:
required: true
- type: textarea
attributes:
label: Expected result
description: (In case it’s not obvious)
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: My OpenAPI schema is valid and passes the [Redocly validator](https://redocly.com/docs/cli/commands/lint/) (`npx @redocly/cli@latest lint`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

required: true
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md))
---
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/bug-report-fetch.md

This file was deleted.

34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug-report-ts.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-swr-openapi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: "Bug report: swr-openapi"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@htunnicliff Any changes/unique questions you’d like to ask for swr-openapi? (Ditto for feature requests)?

about: For the swr-openapi library
title: ""
labels: swr-openapi, bug
assignees: ""
body:
- type: input
attributes:
label: Version
placeholder: x.x.x
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the bug. Provide either a screenshot or the full error message!
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction
description: How can this be reproduced / when did the error occur? Does the issue occur in a specific browser, or all browsers? Bonus points for a GitHub repository link.
validations:
required: true
- type: textarea
attributes:
label: Expected result
description: (In case it’s not obvious)
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/swr-openapi/CONTRIBUTING.md))
---
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-openapi-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Feature request: openapi-fetch"
about: For the openapi-fetch library
title: ""
labels: openapi-fetch, enhancement, help wanted
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Description
description: Brief description of the problem you’re trying to solve, and why this could be useful.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Describe the proposed syntax change. Please reference any prior art or similar examples.
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md))
---
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-openapi-react-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Feature request: openapi-react-query"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kerwanp Any unique descriptions / questions you’d like to add for openapi-react-query? (Same for feature request)?

about: For the openapi-react-query library
title: ""
labels: openapi-react-query, enhancement, help wanted
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Description
description: Brief description of the problem you’re trying to solve, and why this could be useful.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Describe the proposed syntax change. Please reference any prior art or similar examples.
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-react-query/CONTRIBUTING.md))
---
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-openapi-typescript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Feature request: openapi-typescript"
about: For the openapi-typescript library
title: ""
labels: openapi-ts, enhancement, help wanted
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Description
description: Brief description of the problem you’re trying to solve, and why this could be useful.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Outline the change to the library. If this is for the CLI, propose a flag name and/or workflow. If this is for Node API, propose how this would be consumed. Reference any prior art or similar examples.
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md))
---
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature-request-fetch.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature-request-ts.md

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-swr-openapi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Feature request: swr-openapi"
about: For the swr-openapi library
title: ""
labels: swr-openapi, enhancement, help wanted
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Description
description: Brief description of the problem you’re trying to solve, and why this could be useful.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Describe the proposed syntax change. Please reference any prior art or similar examples.
validations:
required: true
- type: checkboxes
id: checklist
attributes:
options:
- label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/swr-openapi/CONTRIBUTING.md))
---
Loading