name: Bug Report
description: Create a report to help us improve
title: "[Bug] "
labels: ["bug"]
assignees: []

body:
  - type: markdown
    attributes:
      value: |
        Thanks for taking the time to fill out this bug report! Please make sure to fill out all required fields.

  - type: checkboxes
    id: checklist
    attributes:
      label: Checklist
      options:
        - label: I make sure that the issue is NOT a duplicate of pinned issues
          required: true
        - label: I make sure I am using the LATEST version - check [here](https://github.com/InfinityLoop1308/PipePipe/releases)
          required: true
        - label: I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
          required: true
        - label: I have attached the error report in the issue
          required: false

  - type: textarea
    id: bug-description
    attributes:
      label: Describe the bug
      description: A clear and concise description of what the bug is
      placeholder: Tell us what happened
    validations:
      required: true

  - type: input
    id: version
    attributes:
      label: Version
      description: The app version you are currently using
      placeholder: e.g. 4.1.3
    validations:
      required: true

  - type: dropdown
    id: frequency
    attributes:
      label: Frequency
      description: How often does this bug occur?
      options:
        - Always (100% of the time)
        - Often (80-90% of the time)
        - Sometimes (40-60% of the time)
        - Rarely (10-30% of the time)
        - Only once (single occurrence)
      default: 4
    validations:
      required: true

  - type: input
    id: device
    attributes:
      label: Device
      description: What device and Android Version are you using?
      placeholder: e.g. Pixel 9 Pro, Android 16
    validations:
      required: false

  - type: textarea
    id: reproduction-steps
    attributes:
      label: Steps to reproduce the bug
      description: Please provide detailed steps to reproduce the issue
      placeholder: |
        1. Go to '...'
        2. Click on '...'
        3. Scroll down to '...'
        4. See error
    validations:
      required: false

  - type: textarea
    id: additional-context
    attributes:
      label: Additional context
      description: Add any other context about the problem here
      placeholder: Any additional information that might help us understand the issue
    validations:
      required: false
