Skip to content

Commit

Permalink
chore: updated github templates
Browse files Browse the repository at this point in the history
  • Loading branch information
manchenkoff committed Jun 18, 2024
1 parent 89ad786 commit 932fd0f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 15 deletions.
25 changes: 18 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ assignees: manchenkoff
---

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Module information**

- Version: [e.g. 0.1.2]
- Version: <INSTALLED_MODULE_VERSION>
- Complete configuration of `sanctum` from your `nuxt.config.ts`

```typescript
Expand All @@ -39,15 +43,15 @@ export default defineNuxtConfig({

**Nuxt environment:**

- Version: [e.g. 3.11.0]
- Mode: [e.g. CSR, SSR]
- Environment: [e.g. local, production]
- Version: YOUR_NUXT_VERSION
- SSR Enabled: (yes / no)
- Environment: (local / production)

**Laravel environment:**

- Version: [e.g. 11.0.0]
- Sanctum installed via Breeze: [ ]
- [Checklist](https://manchenkoff.gitbook.io/nuxt-auth-sanctum/other/laravel-api) completed: [ ]
- Version: YOUR_LARAVEL_VERSION
- Sanctum installed via Breeze: (yes / no)
- [Checklist](https://manchenkoff.gitbook.io/nuxt-auth-sanctum/authentication/spa-cookie#laravel-configuration) completed: (yes / no)
- Session domain from your `config/session.php`: [e.g. `domain.test`]
- List of stateful domains from your `config/sanctum.php`

Expand All @@ -63,6 +67,12 @@ return [
];
```

or

```env
SANCTUM_STATEFUL_DOMAINS=localhost,localhost:3000
```

- CORS settings from your `config/cors.php`

```php
Expand All @@ -81,4 +91,5 @@ return [
```

**Additional context**

Add any other context about the problem here. For instance, you can attach the details about the request/response of the application or logs from the backend to make this problem easier to understand.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
name: Question
about: Choose this template if you have a question about the project or functionality
title: '[Question] Short description'
labels: investigate, question
assignees: manchenkoff
---
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ assignees: manchenkoff
---

**Is your feature request related to a problem? Please describe.**

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**

Add any other context or screenshots about the feature request here.
6 changes: 1 addition & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

A clear and concise description of what was fixed or implemented.

**Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**

Add any other context or screenshots about the feature request here.
Expand All @@ -14,4 +10,4 @@ Add any other context or screenshots about the feature request here.

- [ ] Code style and linters are passing
- [ ] Backwards compatibility is maintained
- [ ] Requires documentation to be updated
- [ ] Documentation is updated

0 comments on commit 932fd0f

Please sign in to comment.