From: Kunal Marwaha Date: Thu, 13 Dec 2018 04:02:30 +0000 (-0800) Subject: [misc] Update issue templates (#4661) X-Git-Tag: 2.23.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feaf48160f30e108bfa7c577a0d87f177541b742;p=thirdparty%2Fmoment.git [misc] Update issue templates (#4661) * Update issue templates * Remove old issue template --- diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..220afb778 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,50 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**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. Scroll down to '....' +4. 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. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Moment-specific environment** + +* The time zone setting of the machine the code is running on +* The time and date at which the code was run +* Other libraries in use (TypeScript, Immutable.js, etc) + +Please run the following code in your environment and include the output: +``` +console.log((new Date()).toString()) +console.log((new Date()).toLocaleString()) +console.log((new Date()).getTimezoneOffset()) +console.log(navigator.userAgent) +console.log(moment.version) +``` + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..066b2d920 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- + +**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. diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 568fdacf3..000000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,25 +0,0 @@ -**Description of the Issue and Steps to Reproduce:** - -*Please include the values of all variables used.* - -**Environment:** - -*Examples: Chrome 49 on OSX, Internet Explorer 10 on Windows 7, Node.JS 4.4.4 on Ubuntu 16.0.4* - -*Both the browser and the OS are important to us, particularly if you have an unsual environment like an IOT application.* - -**Other information that may be helpful:** -* The time zone setting of the machine the code is running on -* The time and date at which the code was run -* Other libraries in use (TypeScript, Immutable.js, etc) - -If you are reporting an issue, please run the following code in the environment you are using and include the output: -```js -console.log( (new Date()).toString()) -console.log((new Date()).toLocaleString()) -console.log( (new Date()).getTimezoneOffset()) -console.log( navigator.userAgent) -console.log(moment.version) -``` - -*Ensure your issue is isolated to moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.* \ No newline at end of file