Skip to content

Commit

Permalink
feat: update github issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmann7 committed Apr 13, 2024
1 parent 4b3f39a commit 153ed1c
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 8 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This template is heavily inspired by the acme-corp and shadcn-ui/ui repositories.
# See: https://github.com/juliusmarminge/acme-corp/blob/main/.github/ISSUE_TEMPLATE/bug_report.yml
# See: https://github.com/shadcn-ui/ui/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml

name: Bug report
description: Create a bug report to help us improve
title: "[bug]: "
labels: ["🐞❔ unconfirmed bug"]
body:
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of the bug, as well as what you expected to happen when encountering it.
validations:
required: true
- type: textarea
attributes:
label: How to reproduce
description: A step-by-step description of how to reproduce the bug.
placeholder: |
1. Go to '...'
2. Click on '....'
3. See error
validations:
required: true
- type: input
attributes:
label: Link to reproduction
description: A link to a CodeSandbox or StackBlitz that includes a minimal reproduction of the problem. In rare cases when not applicable, you can link to a GitHub repository that we can easily run to recreate the issue. If a report is vague and does not have a reproduction, it will be closed without warning.
validations:
required: true
- type: textarea
attributes:
label: Additional information
description: Add any other information related to the bug here, screenshots if applicable.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This template is heavily inspired by the shadcn-ui/ui repository.
# See: https://github.com/shadcn-ui/ui/blob/main/.github/ISSUE_TEMPLATE/config.yml

blank_issues_enabled: false
contact_links:
- name: General questions
url: https://github.com/sadmann7/skateshop/discussions?category=general
about: Please ask and answer questions here
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This template is heavily inspired by the shadcn-ui/ui repository.
# See: https://github.com/shadcn-ui/ui/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml

name: "Feature request"
description: Create a feature request for skateshop
title: "[feat]: "
labels: ["✨ enhancement"]
body:
- type: markdown
attributes:
value: |
### Thanks for suggesting a feature request! Make sure to see if your feature request has already been suggested by searching through the existing issues. If you find a similar request, give it a thumbs up and add any additional context you have in the comments.
- type: textarea
id: feature-description
attributes:
label: Feature description
description: Tell us about your feature request.
placeholder: "I think this feature would be great because..."
value: "Describe your feature request..."
validations:
required: true

- type: textarea
id: context
attributes:
label: Additional Context
description: Add any other context about the feature here.
placeholder: ex. screenshots, Stack Overflow links, forum links, etc.
value: "Additional details here..."
validations:
required: false

- type: checkboxes
id: terms
attributes:
label: Before submitting
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/sadmann7/skateshop/blob/main/CONTRIBUTING.md).
options:
- label: I've made research efforts and searched the documentation
required: true
- label: I've searched for existing issues and PRs
required: true
4 changes: 0 additions & 4 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:

- run: cp .env.example .env.local

- run: pnpm contentlayer build

- run: pnpm lint

format:
Expand Down Expand Up @@ -123,6 +121,4 @@ jobs:

- run: cp .env.example .env.local

- run: pnpm contentlayer build

- run: pnpm typecheck
4 changes: 0 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ await import("./src/env.js")

/** @type {import("next").NextConfig} */
const nextConfig = {
experimental: {
ppr: true,
},
images: {
remotePatterns: [
{
Expand All @@ -25,5 +22,4 @@ const nextConfig = {
typescript: { ignoreBuildErrors: true },
}

// eslint-disable-next-line @typescript-eslint/no-unsafe-call
export default withContentlayer(nextConfig)

0 comments on commit 153ed1c

Please sign in to comment.