name: Feature Request ✨
description: Suggest an idea for future development of this project. Please use English only.
title: '[FEATURE_REQUEST] <title>'
labels: ['🦄 Feature Request']

body:

  # Field 1 - Did the user searched for similar requests
  - type: dropdown
    id: similarRequest
    attributes:
      label: Have you searched for similar requests?
      description:
      options:
        - 'No'
        - 'Yes'
    validations:
      required: true

  # Field 2 - Is it bug-related
  - type: textarea
    id: issue
    attributes:
      label: Is your feature request related to a problem? If so, please describe.
      description:
      placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    validations:
      required: false

  # Field 3 - Describe feature
  - type: textarea
    id: solution
    attributes:
      label: Describe the solution you'd like
      placeholder: An outline of how you would like this to be implemented, include as much details as possible 
    validations:
      required: true

  # Field 4 - Describe alternatives
  - type: textarea
    id: alternatives
    attributes:
      label: Describe alternatives you've considered
      placeholder: A clear and concise description of any alternative solutions or features you've considered.
    validations:
      required: false

  # Field 5 - Additional context
  - type: textarea
    id: addcontext
    attributes:
      label: Additional context
      placeholder: Add any other context or screenshots about the feature request here.
    validations:
      required: false

  # Field 6 - Priority
  - type: dropdown
    id: priority
    attributes:
      label: Priority
      description: How urgent is the development of this feature
      options:
        - Low (Nice-to-have)
        - Medium (Would be very useful)
        - High (The app does not function without it)
    validations:
      required: true

  # Field 7 - Can the user user test in staging
  - type: dropdown
    id: canTestStaging
    attributes:
      label: Are you willing to test this on staging/unstable branch if this is implemented?
      description: Otherwise you'll need to wait until the next stable release after the feature is developed.
      options:
        - 'No'
        - 'Maybe'
        - 'Yes'
    validations:
      required: false

  # Final text
  - type: markdown
    attributes:
      value: |-
        ## Thanks 🙏
        Thank you for your feature suggestion.
        Please note that there is no guarantee that your idea will be implemented.
    validations:
      required: false