-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace legacy .md issue templates with YAML-based forms (#2174)
- Loading branch information
1 parent
9c50b48
commit 76bcd1e
Showing
6 changed files
with
113 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Bug report | ||
description: Create a bug report | ||
labels: | ||
- bug | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for reporting a bug! Please note: | ||
- For general usage questions, consider asking on [GitHub discussions](https://github.com/lingui/js-lingui/discussions). | ||
- Bug reports without reproduction steps may be closed. | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: A clear description of the bug. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Verifications | ||
options: | ||
- label: I've checked [the docs](https://lingui.dev) and this isn't covered there. | ||
required: true | ||
- label: I've searched existing issues on [GitHub](https://github.com/lingui/js-lingui/issues). | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Reproduction Steps | ||
description: Steps to reproduce with minimal code sample. | ||
value: | | ||
```tsx | ||
import { Trans } from "@lingui/react/macro" | ||
export default function App() { | ||
return <Trans>This should be translated!</Trans> | ||
} | ||
``` | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: What you expected to happen. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Macro Support | ||
description: What macro are you using? | ||
options: | ||
- SWC with @lingui/swc-plugin | ||
- Babel with babel-macro-plugin | ||
- Not using macro | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Lingui Version | ||
description: Output of `lingui --version` | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Babel Version | ||
description: Output of `npm list @babel/core` | ||
- type: input | ||
attributes: | ||
label: Framework | ||
description: E.g. Create React App, Next.js, Vite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
labels: | ||
- enhancement | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for your suggestion! Before proceeding: | ||
- Check the [docs](https://lingui.dev) to see if this feature already exists | ||
- Search [existing issues](https://github.com/lingui/js-lingui/issues) for similar requests | ||
- type: textarea | ||
attributes: | ||
label: Problem Description | ||
description: What problem are you trying to solve? E.g. I'm always frustrated when... | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Proposed Solution | ||
description: Describe your suggested solution. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Alternatives Considered | ||
description: What alternative solutions have you considered? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional Context | ||
description: Any other context, screenshots, or examples? |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: View documentation | ||
url: https://lingui.dev | ||
about: Check the official docs for answers to common questions | ||
- name: Chat on Discord | ||
url: https://discord.gg/gFWwAYnMtA | ||
about: Join the Lingui community on Discord | ||
- name: Ask AI | ||
url: https://gurubase.io/g/lingui-js | ||
about: Ask Lingui JS Guru - AI powered Q&A assistant |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.