name: Bug report
description: Something in HellionChat is broken or behaves wrong
labels:
  - bug
body:
  - type: markdown
    attributes:
      value: |
        Thanks for reporting. Please fill in the fields below so I can
        reproduce the issue. If this is a security issue, stop here and
        report it privately to [kontakt@hellion-media.de](mailto:kontakt@hellion-media.de?subject=%5BHellionChat%20Security%5D)
        instead.

  - type: input
    id: version
    attributes:
      label: HellionChat version
      description: From Settings → Information → Version
      placeholder: '0.5.4'
    validations:
      required: true

  - type: dropdown
    id: platform
    attributes:
      label: Platform
      options:
        - Windows (XIVLauncher)
        - Linux (XIVLauncher Core)
        - macOS (XIVLauncher Core / wine)
        - Other
    validations:
      required: true

  - type: textarea
    id: what-happened
    attributes:
      label: What happened
      description: Plain description, no log dumps yet
    validations:
      required: true

  - type: textarea
    id: expected
    attributes:
      label: What you expected
    validations:
      required: true

  - type: textarea
    id: steps
    attributes:
      label: How to reproduce
      description: Step-by-step from "open settings" or "log in" through to the broken behaviour
    validations:
      required: true

  - type: textarea
    id: log
    attributes:
      label: Relevant /xllog excerpt
      description: Filter for "HellionChat" if the log is huge
      render: text

  - type: checkboxes
    id: confirm
    attributes:
      label: Pre-flight
      options:
        - label: I am running the latest version of HellionChat
          required: true
        - label: I have searched existing issues for duplicates
          required: true
