name: Bug
description: Report a bug here
title: "[Bug] Replace this with your title"
labels: bug
body:
- type: checkboxes
  attributes:
    label: Is there an existing issue for this?
    options:
    - label: I have searched the existing issues
      required: true
      
- type: checkboxes
  attributes:
    label: Have you read the Wiki?
    description: |
      Please ensure you have read the [**Wiki**](https://github.com/arichornlover/uYouEnhanced/wiki)
    options:
    - label: Yes, I have read the Wiki
      required: true

- type: markdown
  attributes:
    value: "## Device Info"

- type: input
  attributes:
    label: iOS/iPadOS version
    placeholder: iOS 18.0.0
  validations:
    required: true

- type: input
  attributes:
    label: Device model
    placeholder: iPhone 16 Pro Max
  validations:
    required: true

- type: input
  attributes:
    label: Sideload method
    placeholder: AltStore, Sideloadly, TrollStore, Signulous, deb, ...
  validations:
    required: true

- type: input
  attributes:
    label: Tweak version
    placeholder: uYouEnhanced - v19.xx.x-3.0.4
    description: "**latest or newest is NOT a version number!**"
  validations:
    required: true

- type: dropdown
  attributes:
    label: Do you use YouTube Premium?
    options:
      - ❌ No, I don't use YouTube Premium
      - ✅ Yes, I do use YouTube Premium
  validations:
    required: true

- type: markdown
  attributes:
    value: "## Description"

- type: textarea
  attributes:
    label: Describe the bug
    description: Please attach videos or screenshots if possible
  validations:
    required: true

- type: textarea
  attributes:
    label: Steps to reproduce the issue
    description: Please attach videos or screenshots if possible
    value: |
        1. 
        2. 
        3. 
  validations:
    required: true

- type: textarea
  id: logs
  attributes:
    label: Crash log (if the app crashes)
    description: It can be found in Settings App > Privacy > Analytics & Improvements > Analytics Data > Youtube-xxx-xxx.ips
    render: shell

- type: dropdown
  attributes:
    label: Are you using the newest version of uYouEnhanced?
    description: Update to the [latest version](https://github.com/arichornlover/uYouEnhanced/releases) to see if it fixes your issue
    options:
      - ✅ Yes, I'm using the latest version
      - ❌ No, I'll explain at the end
  validations:
    required: true

- type: dropdown
  attributes:
    label: Does the issue happen with the official YouTube from AppStore?
    options:
      - ❌ No, I can't reproduce this issue in the official YouTube from AppStore 
      - ✅ Yes, I can reproduce this issue in the official YouTube from AppStore 
  validations:
    required: true

- type: checkboxes
  attributes:
    label: Select the configuration used for building or obtaining the uYouEnhanced ipa. (Optional)
    options:
      - label: "buildapp.yml (GitHub Actions — build method as suggested by [Wiki - Building](https://github.com/arichornlover/uYouEnhanced/wiki/Building))"
      - label: "build.sh (Shell script)"
      - label: "AltStore Source (obtained from https://raw.githubusercontent.com/arichornlover/arichornlover.github.io/main/apps.json)"
      - label: "Other (obtained from untrusted or potentially unsafe sources such as phishing sites, unknown individuals, or unofficial channels.)"

- type: textarea
  attributes:
    label: Additional context
  validations:
    required: false
