Skip to content

Commit cff1b26

Browse files
committed
minor #2084 Configure ISSUE_TEMPLATE (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- Configure ISSUE_TEMPLATE This PR add an [issue template](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates) selector for the repository. It replaces #1666 (for the first part) ## Issue Template Selector ### Live Demo I made an example repository: [https://github.com/smnandre/ux-issues](https://github.com/smnandre/ux-issues/issues/new/choose) <img width="1169" alt="Capture d’écran 2024-08-18 à 23 34 08" src="https://github.com/user-attachments/assets/0ace3654-6958-464a-afed-d29505cabedd"> ### Benefits This selector has many benefits: - [x] differenciate bug & features - [x] add tags automatically - [x] expose the symfony support page ### Plan I'd like to release this **first step** asap.. And _then_ iterate on the different forms (bug report & feature request) because they can require long discussions and i'd like to be more agile on this :) ## Resources ### Github documentation * [About issue and pull request templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates) * [Create an issue template](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/manually-creating-a-single-issue-template-for-your-repository) * [Syntax for issue forms](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms) (next step) ### Inspirations / examples * https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/new/choose * https://github.com/sebastianbergmann/phpunit/issues/new/choose * https://github.com/guzzle/guzzle/issues/new/choose * https://github.com/go-gitea/gitea/issues/new/choose * https://github.com/angular/angular/issues/new/choose * https://github.com/yarnpkg/berry/issues/new/choose * https://github.com/ddev/ddev/issues/new/choose * https://github.com/doctrine/orm/issues/new/choose Commits ------- 56d4a4f Configure ISSUE_TEMPLATE
2 parents 09cc7d0 + 56d4a4f commit cff1b26

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: '🐞 Bug Report'
3+
about: Report a bug in existing features
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: '🚀 Feature Request'
3+
about: Suggest ideas for new features or enhancements
4+
title: ''
5+
labels: 'RFC'
6+
assignees: ''
7+
8+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: '📖 Documentation'
3+
about: Help us improve the documentation!
4+
title: ''
5+
labels: 'docs'
6+
assignees: ''
7+
8+
---
9+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 🛟 Support / help
4+
url: https://symfony.com/support
5+
about: Ask your questions about Symfony UX

0 commit comments

Comments
 (0)