name: "Bug report"
description: "Report a bug to help us identify and fix issues in the project."
labels: ["bug"]

body:
  - type: markdown
    attributes:
      value: |
        - Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
        - For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).

  - type: checkboxes
    id: read_issues
    attributes:
      label: "I have read the known issues"
      description: "You [better do](https://winutil.christitus.com/knownissues/), cause your issue can be already there"
      options:
        - label: Yes, I did
          required: true

  - type: input
    id: winutil_version
    attributes:
      label: "Version of WinUtil"
      description: "Provide a version that you are using when issue submitted (it can be found in right corner of app)"
    validations:
      required: true

  - type: dropdown
    id: affected_part
    attributes:
      label: What part of WinUtil are you having issues with?
      options:
        - Program Install Tab
        - Tweaks Tab
        - Config Tab
        - Updates Tab
        - Win11 Creator Tab
    validations:
      required: false

  - type: textarea
    id: issue_description
    attributes:
      label: Provide a clear and concise description of the issue.
    validations:
      required: true

  - type: textarea
    id: tweaks_applied
    attributes:
      label: List the tweaks you applied before the issue occurred.
    validations:
      required: false

  - type: textarea
    id: error_output
    attributes:
      label: Paste the full error output (if available) or Screenshot or Video.
      placeholder: "Include any relevant logs or error messages."
