Skip to content
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
18 changes: 12 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ body:
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out the information below to help us investigate.

**Before submitting**, please check:
- [ ] I've searched [existing issues](https://github.com/thomhurst/TUnit/issues) to ensure this isn't a duplicate
- [ ] I've read the [documentation](https://tunit.dev/) and this isn't expected behavior
- [ ] I'm using the latest version of TUnit

- type: checkboxes

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Checkbox controls lack IDs

The new checkbox group does not declare the required unique id, so GitHub can reject the issue form instead of showing the mandatory checklist. The feature-request template has the same omission. Add unique IDs to both groups, as the existing checkbox controls already do.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add IDs to the new checkbox elements

When GitHub loads either issue template, every non-Markdown body element must have a unique id; both newly added checkbox groups omit one. GitHub will reject these issue forms as invalid, preventing users from submitting bug or feature reports through them, so add a distinct id to each checklist.

Useful? React with 👍 / 👎.

id: bug-checklist
attributes:
label: Bug report checklist
description: Before submitting, please check
options:
- label: I've searched [existing issues](https://github.com/thomhurst/TUnit/issues) to ensure this isn't a duplicate
required: true
- label: I've read the [documentation](https://tunit.dev/) and this isn't expected behavior
required: true
- label: I'm using the latest version of TUnit
required: true
- type: textarea
id: description
attributes:
Expand Down
18 changes: 12 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ body:
attributes:
value: |
Thanks for suggesting a feature! We appreciate your input in making TUnit better.

**Before submitting**, please:
- [ ] Search [existing issues](https://github.com/thomhurst/TUnit/issues) and [discussions](https://github.com/thomhurst/TUnit/discussions) to ensure this hasn't been suggested before
- [ ] Check the [documentation](https://tunit.dev/) to confirm this feature doesn't already exist
- [ ] Consider starting a [discussion](https://github.com/thomhurst/TUnit/discussions/new?category=ideas) first for larger features to get community feedback

- type: checkboxes
id: feature-checklist
attributes:
label: Feature request checklist
description: Before submitting, please check
options:
- label: Search [existing issues](https://github.com/thomhurst/TUnit/issues) and [discussions](https://github.com/thomhurst/TUnit/discussions) to ensure this hasn't been suggested before
required: true
- label: Check the [documentation](https://tunit.dev/) to confirm this feature doesn't already exist
required: true
- label: Consider starting a [discussion](https://github.com/thomhurst/TUnit/discussions/new?category=ideas) first for larger features to get community feedback
required: true
- type: textarea
id: problem
attributes:
Expand Down
Loading