From 11379ef6bde817ab0bb3f80f2709699ea4afd009 Mon Sep 17 00:00:00 2001 From: Dillon Nys <24740863+dnys1@users.noreply.github.com> Date: Fri, 14 Apr 2023 09:15:07 -0700 Subject: [PATCH] chore(github): Update BUG-REPORT template (#2871) * chore(github): Update BUG-REPORT template (#1705) Adds beta platforms to the BUG-REPORT template commit-id:41bf7773 * chore(repo): Update bug report to include deployment option (#1928) Adds the following info to the bug report template: - Whether the CLI or another mechanism was used to deploy their backend - Their sanitized amplifyconfig These both seem to provide a lot of insight and they can be missed in the conversation, especially the first one. We cannot assume that people filing issues are using pristine Amplify-generated backends. * chore(repo): Slim down bug report template (#2586) The current bug report template is very long and may discourage people from submitting feedback. While many of these would be great to know, only some are needed to begin triaging correctly. I've removed the ask for their Amplify config as well. I've noticed some people are not sure how to provide it and that more often than not, it's the `schema.graphql` we need rather. --- .github/ISSUE_TEMPLATE/BUG-REPORT.yaml | 96 +++++++++++--------------- 1 file changed, 39 insertions(+), 57 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml index a471ef0269d..3af80c04ad6 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml @@ -64,75 +64,57 @@ body: required: false - label: Android required: false - - type: dropdown - id: androidAPILevel - attributes: - label: Android Device/Emulator API Level - description: "If applicable, please mark the API level of the Android device or emulator with which this issue occurs." - multiple: true - options: - - API 16 - 20 - - API 21 - - API 22 - - API 23 - - API 24 - - API 25 - - API 26 - - API 27 - - API 28 - - API 29 - - API 30 - - API 31 - - API 32+ - - type: textarea - id: environment - attributes: - label: Environment - description: "Please provide details of your Flutter build environment (`flutter doctor`)." - placeholder: | - Paste the output of running `flutter doctor` here - render: bash - validations: - required: true - - type: textarea - id: dependencies - attributes: - label: Dependencies - description: "Please provide your project's dependency versions (`flutter pub deps --no-dev --style=compact`)." - placeholder: | - Paste the output of running `flutter pub deps --no-dev --style=compact` here - render: bash - validations: - required: true + - label: Web + required: false + - label: macOS + required: false + - label: Windows + required: false + - label: Linux + required: false - type: input - id: device + id: flutter-version attributes: - label: Device - description: "Which device(s) did you experience the issue on? (or `N/A` if not applicable)" - placeholder: "iPhone 12, Pixel 5" + label: "Flutter Version" + description: "Please share which version of Flutter you're using (found using `flutter --version`)." + placeholder: "3.3.10" validations: required: true - type: input - id: os + id: amplify-version attributes: - label: OS - description: "Which operating system(s) did you experience the issue on? (or `N/A` if not applicable)" - placeholder: "iOS 15.1, Android 11" + label: Amplify Flutter Version + description: "The version of the Amplify Flutter libraries you're currently using." + placeholder: "0.6.10" validations: required: true - - type: input - id: cli-version + - type: dropdown + id: deployment-method attributes: - label: CLI Version - description: "Which version of the Amplify CLI are you running? (`amplify -v`)" - placeholder: "7.6.21" + label: Deployment Method + description: "How do you currently deploy your backend?" + multiple: false + options: + - Amplify CLI + - Amplify CLI + Custom Pipeline + - Custom Pipeline validations: required: true - type: textarea - id: additional-context + id: schema attributes: - label: Additional Context - description: Please add any other context about the problem here. - placeholder: "No additional context provided" + label: Schema + description: If your issue is related to GraphQL API or DataStore, please share your `schema.graphql`. + placeholder: | + # This "input" configures a global authorization rule to enable public access to + # all models in this schema. Learn more about authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules + input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY! + + type Todo @model { + id: ID! + name: String! + description: String + } + render: GraphQL validations: required: false