From ac2deb40e9d16c956be1528a39fd1bc0e00816be Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Tue, 26 Jan 2021 21:28:23 +0000 Subject: [PATCH 1/4] Remove old issue template --- .github/issue_template.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/issue_template.md diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index 49389c3..0000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,15 +0,0 @@ -### Minimal example - -> Fork this [JSFiddle](https://jsfiddle.net/zenorocha/5kk0eysw/) and reproduce your issue. - -### Expected behaviour - -I thought that by going to the page '...' and pressing the button '...' then '...' would happen. - -### Actual behaviour - -Instead of '...', what I saw was that '...' happened instead. - -### Browsers affected - -I tested on all major browsers and only IE 11 does not work. From e6826488d7ee82be84674f2c596d9db31e4a69a9 Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Tue, 26 Jan 2021 21:28:48 +0000 Subject: [PATCH 2/4] Add issues template It adds templates to the following types: - Bugs - Proposals - Documentation --- .github/ISSUE_TEMPLATE/bug_report.md | 53 +++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/documentation.md | 13 ++++++ .github/ISSUE_TEMPLATE/proposal.md | 26 ++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/documentation.md create mode 100644 .github/ISSUE_TEMPLATE/proposal.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..6647d5f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,53 @@ +--- +name: πŸ› Bug Report +about: Submit a bug report to help us improve +labels: 'bug, needs triage' +--- + + + +## πŸ› Bug Report + +> Fork this [JSFiddle](https://jsfiddle.net/zenorocha/5kk0eysw/) and reproduce your issue. + +(A clear and concise description of what the issue is.) + +### Have you read the [Contributing Guidelines on issues](https://github.com/zenorocha/clipboard.js/blob/master/contributing.md)? + +(Write your answer here.) + +### Expected Behaviour + + + +I thought that by going to the page '...' and pressing the button '...' then '...' would happen. + +_Tip: Try to use screenshots, gifs, videos, always remember people better understand with a visual way._ + +### Actual Behaviour + +Instead of '...', what I saw was that '...' happened instead. + +### To Reproduce + +(Write your steps such as:) + +1. Step 1... +1. Step 2... +1. Step 3... + +### Browsers Affected + +I tested on all major browsers and only IE 11 does not work. diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md new file mode 100644 index 0000000..adbcf5c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -0,0 +1,13 @@ +--- +name: πŸ“š Documentation +about: Report an issue related to documentation +labels: 'documentation, needs triage' +--- + +## πŸ“š Documentation + +(A clear and concise description of what the issue is.) + +### Have you read the [Contributing Guidelines on issues](https://github.com/zenorocha/clipboard.js/blob/master/contributing.md)? + +(Write your answer here.) diff --git a/.github/ISSUE_TEMPLATE/proposal.md b/.github/ISSUE_TEMPLATE/proposal.md new file mode 100644 index 0000000..f7ce878 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/proposal.md @@ -0,0 +1,26 @@ +--- +name: πŸ’₯ Proposal +about: Propose a non-trivial change to Clipboard.js +labels: 'proposal, needs triage' +--- + +## πŸ’₯ Proposal + +**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. + +**Are you able to assist to bring the feature to reality?** +no | yes, I can... + +**Additional context** +Add any other context or screenshots about the feature request here. + +### Have you read the [Contributing Guidelines on issues](https://github.com/zenorocha/clipboard.js/blob/master/contributing.md)? + +(Write your answer here.) From 82e0dca2ea15c4aded30503bcabd4f62dce001a1 Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Tue, 26 Jan 2021 21:29:17 +0000 Subject: [PATCH 3/4] Add pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..b2f50c8 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,35 @@ + + + + + +**What kind of change does this PR introduce?** (check at least one) + +- [ ] Bugfix +- [ ] Feature +- [ ] Code style update +- [ ] Refactor +- [ ] Build-related changes +- [ ] Other, please describe: + +**Does this PR introduce a breaking change?** (check one) + +- [ ] Yes +- [ ] No + +If yes, please describe the impact and migration path for existing applications: + +**The PR fulfills these requirements:** + +- [ ] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch +- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number) +- [ ] New/updated tests are included + +If adding a **new feature**, the PR's description includes: + +- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it) + +**Other information:** From 40bf3736c405be24e810f3ace102e23b39c4fe87 Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Thu, 28 Jan 2021 14:36:50 +0000 Subject: [PATCH 4/4] Add Operational System to bug template --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6647d5f..99fe3e6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -51,3 +51,7 @@ Instead of '...', what I saw was that '...' happened instead. ### Browsers Affected I tested on all major browsers and only IE 11 does not work. + +### Operational System + +(Place here your Operational System.)