diff --git a/.github/ISSUE_TEMPLATE/0-bug-report.yml b/.github/ISSUE_TEMPLATE/0-bug-report.yml new file mode 100644 index 00000000..23e5c23b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/0-bug-report.yml @@ -0,0 +1,43 @@ +name: Bug Report +description: "Submit an issue related to the Inertia Laravel adapter." +body: + - type: markdown + attributes: + value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports related to the Inertia Laravel adapter." + - type: input + attributes: + label: "PHP package version" + description: Provide the version of `inertiajs/inertia-laravel` you are using. + placeholder: 2.0.0 + validations: + required: true + - type: checkboxes + attributes: + label: Inertia adapter(s) affected (if any) + description: Select any frontend adapters involved in this issue, if relevant. + options: + - label: React + - label: Vue 3 + - label: Svelte + - label: Not Applicable + - type: textarea + attributes: + label: Backend stack + description: Provide details such as Laravel version, PHP version, and any relevant backend environment info. + placeholder: | + Laravel 12.x + PHP 8.4 + validations: + required: true + - type: textarea + attributes: + label: Describe the problem + description: Explain the behavior you're seeing that you think is a bug, and describe how you expect it to behave instead. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: Provide clear steps to reproduce the issue. Include a minimal code example that clearly shows the problem. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..75cf5127 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Feature Request + url: https://github.com/inertiajs/inertia/discussions/new?category=ideas + about: "For ideas or feature requests, start a new discussion" + - name: Support Questions & Other + url: https://github.com/inertiajs/inertia/discussions/new?category=help + about: "This repository is only for reporting bugs. If you have a question or need help using the library, click:" + - name: Documentation issue + url: https://github.com/inertiajs/inertiajs.com + about: For documentation issues, open a pull request at the inertiajs/inertiajs.com repository