Skip to content

Commit

Permalink
chore(github): Update BUG-REPORT template (#2871)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
dnys1 authored and fjnoyp committed Apr 14, 2023
1 parent 6900f05 commit 11379ef
Showing 1 changed file with 39 additions and 57 deletions.
96 changes: 39 additions & 57 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 11379ef

Please sign in to comment.