Skip to content

Commit

Permalink
add github issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
lhapaipai committed Nov 3, 2023
1 parent d5ce9af commit 5dd96d7
Show file tree
Hide file tree
Showing 10 changed files with 163 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: true
contact_links:
- name: vite-bundle Issue/Feature request.
url: https://github.com/lhapaipai/vite-bundle/issues
- name: vite-plugin-symfony Issue/Feature request.
url: https://github.com/lhapaipai/vite-plugin-symfony/issues
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-bundle-example",
"name": "symfony-vite-dev",
"version": "1.0.0",
"description": "",
"main": "vite.config.js",
Expand Down
12 changes: 10 additions & 2 deletions split.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@

set -e

git subtree push --prefix=src/vite-bundle [email protected]:lhapaipai/vite-bundle.git main
git subtree push --prefix=src/vite-plugin-symfony [email protected]:lhapaipai/vite-plugin-symfony.git main
# Make sure the working directory is clear.
if [[ ! -z "$(git status --porcelain)" ]]
then
echo "Your working directory is dirty. Did you forget to commit your changes?"

exit 1
fi

git subtree push --prefix=src/vite-bundle [email protected]:lhapaipai/vite-bundle.git feature/tests
git subtree push --prefix=src/vite-plugin-symfony [email protected]:lhapaipai/vite-plugin-symfony.git feature/v6
54 changes: 54 additions & 0 deletions src/vite-bundle/.github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: 🐛 Bug report
description: Create a report to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for using this bundle and taking the time to fill out this bug report !
- type: input
id: vite-bundle-version
attributes:
label: vite-bundle version
description: composer show pentatrion/vite-bundle | grep versions
placeholder: x.y.z
validations:
required: true
- type: input
id: vite-plugin-symfony-version
attributes:
label: vite-plugin-symfony version
description: npm list vite-plugin-symfony
placeholder: x.y.z
validations:
required: true
- type: input
id: context
attributes:
label: Symfony version, PHP version, your OS (node version ?)
placeholder: "symfony 7.3, PHP 8.2, node 20.5, OS Linux"
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the problem
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce
description: |
⚠️ This is the most important part of the report ⚠️
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
Please, take the time to show us some code and/or config that is needed for others to reproduce the problem easily.
validations:
required: true
- type: textarea
id: possible-solution
attributes:
label: Possible Solution
description: |
Optional: only if you have suggestions on a fix/reason for the bug
Don't hesitate to create a pull request with your solution, it helps get faster feedback. You should open a pull request on the main symfony-vite-dev monorepo : https://github.com/lhapaipai/symfony-vite-dev.
This repository is a "subtree split": a read-only subset of that main repository.
1 change: 1 addition & 0 deletions src/vite-bundle/.github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
17 changes: 17 additions & 0 deletions src/vite-bundle/.github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🚀 Feature Request
description: RFC and ideas for new features and improvements
body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the new feature
validations:
required: true
- type: textarea
id: example
attributes:
label: Example
description: |
A simple example of the new feature in action (include PHP code, YAML config, etc.)
If the new feature changes an existing feature, include a simple before/after comparison.
54 changes: 54 additions & 0 deletions src/vite-plugin-symfony/.github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: 🐛 Bug report
description: Create a report to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for using this bundle and taking the time to fill out this bug report !
- type: input
id: vite-plugin-symfony-version
attributes:
label: vite-plugin-symfony version
description: npm list vite-plugin-symfony
placeholder: x.y.z
validations:
required: true
- type: input
id: vite-bundle-version
attributes:
label: vite-bundle version
description: composer show pentatrion/vite-bundle | grep versions
placeholder: x.y.z
validations:
required: true
- type: input
id: context
attributes:
label: node version, your OS (Symfony version, PHP version)
placeholder: "node 20.5, OS Linux, symfony 7.3, PHP 8.2"
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the problem
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce
description: |
⚠️ This is the most important part of the report ⚠️
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
Please, take the time to show us some code and/or config that is needed for others to reproduce the problem easily.
validations:
required: true
- type: textarea
id: possible-solution
attributes:
label: Possible Solution
description: |
Optional: only if you have suggestions on a fix/reason for the bug
Don't hesitate to create a pull request with your solution, it helps get faster feedback. You should open a pull request on the main symfony-vite-dev monorepo : https://github.com/lhapaipai/symfony-vite-dev.
This repository is a "subtree split": a read-only subset of that main repository.
1 change: 1 addition & 0 deletions src/vite-plugin-symfony/.github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🚀 Feature Request
description: RFC and ideas for new features and improvements
body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the new feature
validations:
required: true
- type: textarea
id: example
attributes:
label: Example
description: |
A simple example of the new feature in action (include PHP code, YAML config, etc.)
If the new feature changes an existing feature, include a simple before/after comparison.

0 comments on commit 5dd96d7

Please sign in to comment.