Skip to content

Commit 228408a

Browse files
committed
chore: Update issue template
1 parent 35069ba commit 228408a

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,21 @@ body:
2424
description: A clear and concise description of what the bug is.
2525
validations:
2626
required: true
27+
- type: checkboxes
28+
attributes:
29+
label: Verifications
30+
options:
31+
- label: I've verified that the problem I'm experiencing isn't covered in [the docs](https://next-intl-docs.vercel.app/).
32+
required: true
33+
- label: I've searched for similar, existing issues on GitHub and [Stack Overflow](https://stackoverflow.com/search?q=next-intl).
34+
required: true
35+
- label: I've compared my app to [a working example](https://next-intl-docs.vercel.app/examples) to look for differences.
36+
required: true
2737
- type: input
2838
attributes:
2939
label: Mandatory reproduction URL
3040
description: |
31-
**Templates:**
32-
- [App Router](https://github.com/amannn/next-intl-bug-repro-app-router)
33-
- [Pages Router](https://github.com/amannn/next-intl/tree/main/examples/example-pages-router)
41+
**Templates:** [App Router](https://github.com/amannn/next-intl-bug-repro-app-router), [Pages Router](https://github.com/amannn/next-intl/tree/main/examples/example-pages-router)
3442
validations:
3543
required: true
3644
- type: textarea

docs/pages/docs/routing/middleware.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ If you have a route like `/news/[articleSlug]-[articleId]`, you may want to loca
410410

411411
In this case, the localized slug can either be provided by the backend or generated in the frontend by slugifying the localized article title.
412412

413-
A good practice is to include the ID in the URL, allowing you to retrieve the article based on this information from the backend. The ID can be further used to implement [self-healing URLs](https://mikebifulco.com/posts/self-healing-urls-nextjs-seo), where a redirect is added if the `articleSlug` contains a typo.
413+
A good practice is to include the ID in the URL, allowing you to retrieve the article based on this information from the backend. The ID can be further used to implement [self-healing URLs](https://mikebifulco.com/posts/self-healing-urls-nextjs-seo), where a redirect is added if the `articleSlug` doesn't match.
414414

415415
</details>
416416

0 commit comments

Comments
 (0)