From 3f0815855c914b4c14a5ad93abc655feb57b60e7 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 09:52:42 -0700 Subject: [PATCH 01/10] issues template --- .github/ISSUE_TEMPLATE/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..6a51269fc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ + +blank_issues_enabled: false +contact_links: + - name: Ask a question + url: https://https://github.com/umami-software/umami/discussions + about: Ask questions and discuss with other community members \ No newline at end of file From c9ec05599609f26d60d87d239eaaffcf524c9d80 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 10:04:23 -0700 Subject: [PATCH 02/10] introduce templates --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 94 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2.feature_request.yml | 94 ++++++++++++++++++++ 2 files changed, 188 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1.bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/2.feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml new file mode 100644 index 000000000..ae696764b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -0,0 +1,94 @@ +name: Bug Report +description: Create a bug report for Umami +labels: ['template: bug'] +body: + - type: markdown + attributes: + value: | + *Note:* If you leave out sections, the issue might be moved to the ["Help" section](https://github.com/vercel/next.js/discussions/categories/help). + [examples](https://github.com/vercel/next.js/tree/canary/examples) related issue should be reported using [this](https://github.com/vercel/next.js/issues/new?assignees=&labels=type%3A+example%2Ctemplate%3A+bug&template=2.example_bug_report.yml) issue template instead. + Feature requests should be opened as [discussions](https://github.com/vercel/next.js/discussions/new?category=ideas). [Read more](https://github.com/vercel/next.js/blob/canary/contributing/core/adding-features.md). + - type: checkboxes + attributes: + label: Verify canary release + description: 'Please run `npm install next@canary` to try the canary version of Next.js that ships daily. It includes all features and fixes that have not been released to the stable version yet. Some issues may already be fixed in the canary version, so please verify that your issue reproduces before opening a new issue.' + options: + - label: I verified that the issue exists in the latest Next.js canary release + required: true + - type: textarea + attributes: + label: Provide environment information + description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH. + render: bash + validations: + required: true + - type: dropdown + attributes: + label: Which area(s) of Next.js are affected? (leave empty if unsure) + multiple: true + options: + - 'App directory (appDir: true)' + - 'CLI (create-next-app)' + - 'Data fetching (gS(S)P, getInitialProps)' + - 'Dynamic imports (next/dynamic)' + - 'ESLint (eslint-config-next)' + - 'Font optimization (next/font)' + - 'Image optimization (next/image, next/legacy/image)' + - 'Internationalization (i18n)' + - 'Jest (next/jest)' + - 'MDX (@next/mdx)' + - 'Metadata (metadata, generateMetadata, next/head, head.js)' + - 'Middleware / Edge (API routes, runtime)' + - 'Operating System (Windows, MacOS, Linux)' + - 'Package manager (npm, pnpm, Yarn)' + - 'Routing (next/router, next/navigation, next/link)' + - 'Script optimization (next/script)' + - 'Standalone mode (output: "standalone")' + - 'Static HTML Export (output: "export")' + - 'SWC minifier (swcMinify: true)' + - 'SWC transpilation' + - 'Turbopack (--turbo)' + - 'TypeScript (plugin, built-in types)' + - type: input + attributes: + label: Link to the code that reproduces this issue + description: | + A link to a GitHub repository, a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) or a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. + To report an App Router related issue, you can use these templates: [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir), [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) or [`npx create-next-app -e reproduction-template-app-dir`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) + validations: + required: true + - type: textarea + attributes: + label: To Reproduce + description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. + validations: + required: true + - type: textarea + attributes: + label: Describe the Bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: markdown + attributes: + value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. + - type: markdown + attributes: + value: Contributors should be able to follow the steps provided in order to reproduce the bug. + - type: markdown + attributes: + value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! + - type: input + attributes: + label: Which browser are you using? (if relevant) + description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' + - type: input + attributes: + label: How are you deploying your application? (if relevant) + description: 'For example: next start, Vercel, Other platform' \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml new file mode 100644 index 000000000..52389753f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -0,0 +1,94 @@ +name: Feature Request +description: Create a feature request for Umami +labels: ['template: bug'] +body: + - type: markdown + attributes: + value: | + *Note:* If you leave out sections, the issue might be moved to the ["Help" section](https://github.com/vercel/next.js/discussions/categories/help). + [examples](https://github.com/vercel/next.js/tree/canary/examples) related issue should be reported using [this](https://github.com/vercel/next.js/issues/new?assignees=&labels=type%3A+example%2Ctemplate%3A+bug&template=2.example_bug_report.yml) issue template instead. + Feature requests should be opened as [discussions](https://github.com/vercel/next.js/discussions/new?category=ideas). [Read more](https://github.com/vercel/next.js/blob/canary/contributing/core/adding-features.md). + - type: checkboxes + attributes: + label: Verify canary release + description: 'Please run `npm install next@canary` to try the canary version of Next.js that ships daily. It includes all features and fixes that have not been released to the stable version yet. Some issues may already be fixed in the canary version, so please verify that your issue reproduces before opening a new issue.' + options: + - label: I verified that the issue exists in the latest Next.js canary release + required: true + - type: textarea + attributes: + label: Provide environment information + description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH. + render: bash + validations: + required: true + - type: dropdown + attributes: + label: Which area(s) of Next.js are affected? (leave empty if unsure) + multiple: true + options: + - 'App directory (appDir: true)' + - 'CLI (create-next-app)' + - 'Data fetching (gS(S)P, getInitialProps)' + - 'Dynamic imports (next/dynamic)' + - 'ESLint (eslint-config-next)' + - 'Font optimization (next/font)' + - 'Image optimization (next/image, next/legacy/image)' + - 'Internationalization (i18n)' + - 'Jest (next/jest)' + - 'MDX (@next/mdx)' + - 'Metadata (metadata, generateMetadata, next/head, head.js)' + - 'Middleware / Edge (API routes, runtime)' + - 'Operating System (Windows, MacOS, Linux)' + - 'Package manager (npm, pnpm, Yarn)' + - 'Routing (next/router, next/navigation, next/link)' + - 'Script optimization (next/script)' + - 'Standalone mode (output: "standalone")' + - 'Static HTML Export (output: "export")' + - 'SWC minifier (swcMinify: true)' + - 'SWC transpilation' + - 'Turbopack (--turbo)' + - 'TypeScript (plugin, built-in types)' + - type: input + attributes: + label: Link to the code that reproduces this issue + description: | + A link to a GitHub repository, a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) or a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. + To report an App Router related issue, you can use these templates: [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir), [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) or [`npx create-next-app -e reproduction-template-app-dir`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) + validations: + required: true + - type: textarea + attributes: + label: To Reproduce + description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. + validations: + required: true + - type: textarea + attributes: + label: Describe the Bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: markdown + attributes: + value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. + - type: markdown + attributes: + value: Contributors should be able to follow the steps provided in order to reproduce the bug. + - type: markdown + attributes: + value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! + - type: input + attributes: + label: Which browser are you using? (if relevant) + description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' + - type: input + attributes: + label: How are you deploying your application? (if relevant) + description: 'For example: next start, Vercel, Other platform' \ No newline at end of file From 2d6077fe163a78b62418765f76893aeaeb5ef2f5 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 10:59:35 -0700 Subject: [PATCH 03/10] clean-up template --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 101 ++++--------------- .github/ISSUE_TEMPLATE/2.feature_request.yml | 92 ++--------------- .github/ISSUE_TEMPLATE/config.yml | 2 +- 3 files changed, 32 insertions(+), 163 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index ae696764b..215ad40cd 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -1,94 +1,33 @@ -name: Bug Report +name: "🐛 Bug Report" description: Create a bug report for Umami -labels: ['template: bug'] +labels: ['bug'] body: - - type: markdown - attributes: - value: | - *Note:* If you leave out sections, the issue might be moved to the ["Help" section](https://github.com/vercel/next.js/discussions/categories/help). - [examples](https://github.com/vercel/next.js/tree/canary/examples) related issue should be reported using [this](https://github.com/vercel/next.js/issues/new?assignees=&labels=type%3A+example%2Ctemplate%3A+bug&template=2.example_bug_report.yml) issue template instead. - Feature requests should be opened as [discussions](https://github.com/vercel/next.js/discussions/new?category=ideas). [Read more](https://github.com/vercel/next.js/blob/canary/contributing/core/adding-features.md). - - type: checkboxes - attributes: - label: Verify canary release - description: 'Please run `npm install next@canary` to try the canary version of Next.js that ships daily. It includes all features and fixes that have not been released to the stable version yet. Some issues may already be fixed in the canary version, so please verify that your issue reproduces before opening a new issue.' - options: - - label: I verified that the issue exists in the latest Next.js canary release - required: true - - type: textarea - attributes: - label: Provide environment information - description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH. - render: bash - validations: - required: true - - type: dropdown - attributes: - label: Which area(s) of Next.js are affected? (leave empty if unsure) - multiple: true - options: - - 'App directory (appDir: true)' - - 'CLI (create-next-app)' - - 'Data fetching (gS(S)P, getInitialProps)' - - 'Dynamic imports (next/dynamic)' - - 'ESLint (eslint-config-next)' - - 'Font optimization (next/font)' - - 'Image optimization (next/image, next/legacy/image)' - - 'Internationalization (i18n)' - - 'Jest (next/jest)' - - 'MDX (@next/mdx)' - - 'Metadata (metadata, generateMetadata, next/head, head.js)' - - 'Middleware / Edge (API routes, runtime)' - - 'Operating System (Windows, MacOS, Linux)' - - 'Package manager (npm, pnpm, Yarn)' - - 'Routing (next/router, next/navigation, next/link)' - - 'Script optimization (next/script)' - - 'Standalone mode (output: "standalone")' - - 'Static HTML Export (output: "export")' - - 'SWC minifier (swcMinify: true)' - - 'SWC transpilation' - - 'Turbopack (--turbo)' - - 'TypeScript (plugin, built-in types)' - - type: input - attributes: - label: Link to the code that reproduces this issue - description: | - A link to a GitHub repository, a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) or a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. - To report an App Router related issue, you can use these templates: [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir), [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) or [`npx create-next-app -e reproduction-template-app-dir`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) - validations: - required: true - - type: textarea - attributes: - label: To Reproduce - description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. - validations: - required: true - type: textarea attributes: label: Describe the Bug description: A clear and concise description of what the bug is. validations: required: true - - type: textarea + - type: dropdown attributes: - label: Expected Behavior - description: A clear and concise description of what you expected to happen. + label: Version + description: What version of our software are you running? + options: + - v1 + - v2 validations: required: true - - type: markdown + - type: checkboxes attributes: - value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. - - type: markdown + label: Product + description: Is this related to Umami Cloud? + options: + - v1 + - v2 + validations: + required: true + - type: textarea attributes: - value: Contributors should be able to follow the steps provided in order to reproduce the bug. - - type: markdown - attributes: - value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! - - type: input - attributes: - label: Which browser are you using? (if relevant) - description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' - - type: input - attributes: - label: How are you deploying your application? (if relevant) - description: 'For example: next start, Vercel, Other platform' \ No newline at end of file + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index 52389753f..93b6e0725 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -1,94 +1,24 @@ name: Feature Request description: Create a feature request for Umami -labels: ['template: bug'] +labels: ['enhancement'] body: - - type: markdown - attributes: - value: | - *Note:* If you leave out sections, the issue might be moved to the ["Help" section](https://github.com/vercel/next.js/discussions/categories/help). - [examples](https://github.com/vercel/next.js/tree/canary/examples) related issue should be reported using [this](https://github.com/vercel/next.js/issues/new?assignees=&labels=type%3A+example%2Ctemplate%3A+bug&template=2.example_bug_report.yml) issue template instead. - Feature requests should be opened as [discussions](https://github.com/vercel/next.js/discussions/new?category=ideas). [Read more](https://github.com/vercel/next.js/blob/canary/contributing/core/adding-features.md). - - type: checkboxes - attributes: - label: Verify canary release - description: 'Please run `npm install next@canary` to try the canary version of Next.js that ships daily. It includes all features and fixes that have not been released to the stable version yet. Some issues may already be fixed in the canary version, so please verify that your issue reproduces before opening a new issue.' - options: - - label: I verified that the issue exists in the latest Next.js canary release - required: true - - type: textarea - attributes: - label: Provide environment information - description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH. - render: bash - validations: - required: true - - type: dropdown - attributes: - label: Which area(s) of Next.js are affected? (leave empty if unsure) - multiple: true - options: - - 'App directory (appDir: true)' - - 'CLI (create-next-app)' - - 'Data fetching (gS(S)P, getInitialProps)' - - 'Dynamic imports (next/dynamic)' - - 'ESLint (eslint-config-next)' - - 'Font optimization (next/font)' - - 'Image optimization (next/image, next/legacy/image)' - - 'Internationalization (i18n)' - - 'Jest (next/jest)' - - 'MDX (@next/mdx)' - - 'Metadata (metadata, generateMetadata, next/head, head.js)' - - 'Middleware / Edge (API routes, runtime)' - - 'Operating System (Windows, MacOS, Linux)' - - 'Package manager (npm, pnpm, Yarn)' - - 'Routing (next/router, next/navigation, next/link)' - - 'Script optimization (next/script)' - - 'Standalone mode (output: "standalone")' - - 'Static HTML Export (output: "export")' - - 'SWC minifier (swcMinify: true)' - - 'SWC transpilation' - - 'Turbopack (--turbo)' - - 'TypeScript (plugin, built-in types)' - - type: input - attributes: - label: Link to the code that reproduces this issue - description: | - A link to a GitHub repository, a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) or a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. - To report an App Router related issue, you can use these templates: [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir), [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) or [`npx create-next-app -e reproduction-template-app-dir`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-app-dir) - validations: - required: true - - type: textarea - attributes: - label: To Reproduce - description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. - validations: - required: true - type: textarea attributes: label: Describe the Bug description: A clear and concise description of what the bug is. validations: required: true - - type: textarea + - type: dropdown attributes: - label: Expected Behavior - description: A clear and concise description of what you expected to happen. + label: Version + description: What version of our software are you running? + options: + - v1 + - v2 validations: required: true - - type: markdown + - type: textarea attributes: - value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. - - type: markdown - attributes: - value: Contributors should be able to follow the steps provided in order to reproduce the bug. - - type: markdown - attributes: - value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! - - type: input - attributes: - label: Which browser are you using? (if relevant) - description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' - - type: input - attributes: - label: How are you deploying your application? (if relevant) - description: 'For example: next start, Vercel, Other platform' \ No newline at end of file + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 6a51269fc..461da4215 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,6 +1,6 @@ blank_issues_enabled: false contact_links: - - name: Ask a question + - name: "🤔 Ask a question" url: https://https://github.com/umami-software/umami/discussions about: Ask questions and discuss with other community members \ No newline at end of file From 402acf563ec7009d0ea13bbd7f8e7e0c2be2102c Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:01:40 -0700 Subject: [PATCH 04/10] fix bug report template --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 9 --------- .github/ISSUE_TEMPLATE/2.feature_request.yml | 16 +--------------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 215ad40cd..f0b4f4ef5 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -17,15 +17,6 @@ body: - v2 validations: required: true - - type: checkboxes - attributes: - label: Product - description: Is this related to Umami Cloud? - options: - - v1 - - v2 - validations: - required: true - type: textarea attributes: label: Relevant log output diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index 93b6e0725..c85387c6b 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -7,18 +7,4 @@ body: label: Describe the Bug description: A clear and concise description of what the bug is. validations: - required: true - - type: dropdown - attributes: - label: Version - description: What version of our software are you running? - options: - - v1 - - v2 - validations: - required: true - - type: textarea - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell \ No newline at end of file + required: true \ No newline at end of file From 6cdf9a68d119610e8f93f6254506cfad60eb0a34 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:06:25 -0700 Subject: [PATCH 05/10] fix config and clean up feature request --- .github/ISSUE_TEMPLATE/2.feature_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/config.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index c85387c6b..4b4883fc3 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -1,10 +1,10 @@ name: Feature Request -description: Create a feature request for Umami +description: Create a feature or enhancement request for Umami labels: ['enhancement'] body: - type: textarea attributes: - label: Describe the Bug - description: A clear and concise description of what the bug is. + label: Describe the feature or enhancement + description: A clear and concise description of what the feature or enhancement is. validations: required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 461da4215..2b6e35b05 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,5 +2,5 @@ blank_issues_enabled: false contact_links: - name: "🤔 Ask a question" - url: https://https://github.com/umami-software/umami/discussions + url: https://github.com/umami-software/umami/discussions about: Ask questions and discuss with other community members \ No newline at end of file From bf268749659f965810918de499f23a270ba3cb6c Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:18:53 -0700 Subject: [PATCH 06/10] clean up templates --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 3 +-- .github/ISSUE_TEMPLATE/2.feature_request.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index f0b4f4ef5..02d229cc9 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -1,6 +1,5 @@ name: "🐛 Bug Report" -description: Create a bug report for Umami -labels: ['bug'] +description: Create a bug report for Umami. body: - type: textarea attributes: diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index 4b4883fc3..8808eeee6 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -1,5 +1,5 @@ -name: Feature Request -description: Create a feature or enhancement request for Umami +name: "🛠 Feature Request" +description: Create a feature or enhancement request for Umami. labels: ['enhancement'] body: - type: textarea From a43bbc51f69a9344c525fdefae7cab5482e77840 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:24:31 -0700 Subject: [PATCH 07/10] update feature name --- .github/ISSUE_TEMPLATE/2.feature_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index 8808eeee6..3034767bb 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -1,4 +1,4 @@ -name: "🛠 Feature Request" +name: "✨ Feature Request" description: Create a feature or enhancement request for Umami. labels: ['enhancement'] body: From e77e030f2c73ce9850424311d064029072a63c26 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:31:54 -0700 Subject: [PATCH 08/10] update bug report --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 29 ++++++++++++++++--------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 02d229cc9..5aa7a6309 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -7,17 +7,26 @@ body: description: A clear and concise description of what the bug is. validations: required: true - - type: dropdown - attributes: - label: Version - description: What version of our software are you running? - options: - - v1 - - v2 - validations: - required: true - type: textarea attributes: label: Relevant log output description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell \ No newline at end of file + render: shell + - type: dropdown + attributes: + label: Database + description: What database are you using? + options: + - PostgreSQL + - MySQL + - Umami Cloud + validations: + required: true + - type: input + attributes: + label: Which browser are you using? (if relevant) + description: 'For example: Chrome, Edge, Firefox, etc' + - type: input + attributes: + label: How are you deploying your application? (if relevant) + description: 'For example: Vercel, Railway, Docker, etc' \ No newline at end of file From 6f4cc9e84c936871c753b38325b3e4b590eaff0a Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:34:03 -0700 Subject: [PATCH 09/10] typo correction --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 2b6e35b05..92132929a 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -3,4 +3,4 @@ blank_issues_enabled: false contact_links: - name: "🤔 Ask a question" url: https://github.com/umami-software/umami/discussions - about: Ask questions and discuss with other community members \ No newline at end of file + about: Ask questions and discuss with other community members. \ No newline at end of file From 22e2f79bff1d7d7f4671a765acea5369f0b1ff82 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 28 Apr 2023 11:35:01 -0700 Subject: [PATCH 10/10] re order required fields --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 5aa7a6309..db8be2102 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -7,11 +7,6 @@ body: description: A clear and concise description of what the bug is. validations: required: true - - type: textarea - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell - type: dropdown attributes: label: Database @@ -22,6 +17,11 @@ body: - Umami Cloud validations: required: true + - type: textarea + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell - type: input attributes: label: Which browser are you using? (if relevant)