Skip to content

Commit

Permalink
Merge pull request #304 from tightenco/new-issue-templates
Browse files Browse the repository at this point in the history
Update issue templates
  • Loading branch information
bakerkretzmar authored Jun 26, 2020
2 parents 86c7f00 + 4cfc0f4 commit d4d8735
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 36 deletions.
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: Bug report
about: Report an issue to help us improve Ziggy
title: ''
labels: needs triage
assignees: ''

---

### Description

<!-- Provide a clear and concise description of the current behaviour and what the bug is. -->

### Expected behavior

<!-- Provide a clear and concise description of what you expected to happen. -->

### Environment

<!-- Include ALL of the information below: -->

- **Laravel version**:
- **Ziggy version**:

**Related routes**:

<!-- The route with the issue, from your Laravel routes file. E.g.: -->

```php
Route::get('/', 'HomeController')->name('home');
```

**`Ziggy.namedRoutes`**:

<!-- In your browser console/devtools, run `Ziggy.namedRoutes` and paste the result here. E.g.: -->

```js
{
home: {
uri: '/',
methods: ['GET', 'HEAD'],
},
// ...
}
```

**Ziggy call**:

<!-- Show where and how you're using Ziggy when this bug occurs. E.g.: -->

```js
// ApiClient is a wrapper around axios
ApiClient.get(route('home', { lang: 'en' }));
```
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest a new feature for Ziggy
title: ''
labels: enhancement, needs triage
assignees: ''

---

### Description

<!-- Is your request related to a problem? If so, please describe the problem. E.g.: I'm always frustrated when [...] -->

### Suggestion

<!-- Tell us about the solution you'd like, with a clear and concise description of what you want to happen. -->

### Alternatives

<!-- Describe alternative solutions and approaches you considered, if any. -->
36 changes: 0 additions & 36 deletions .github/issue_template.md

This file was deleted.

0 comments on commit d4d8735

Please sign in to comment.