name: Bug Report
about: Something broke
title: "bug: "
labels:
    - bug

body:
    - type: textarea
      id: description
      attributes:
          label: What happened
          placeholder: Describe the bug
      validations:
          required: true

    - type: textarea
      id: expected
      attributes:
          label: What should happen
          placeholder: Expected behavior
      validations:
          required: true

    - type: textarea
      id: steps
      attributes:
          label: Steps to reproduce
          placeholder: |
              1.
              2.
              3.
          render: shell
      validations:
          required: true

    - type: dropdown
      id: os
      attributes:
          label: OS
          options:
              - NixOS
              - Arch
              - Debian / Ubuntu
              - Fedora
              - Alpine
              - Artix
              - Gentoo
              - Other
      validations:
          required: false

    - type: input
      id: other-os
      attributes:
          label: Other OS (if "Other" above)
          placeholder: e.g. Void, Gentoo, FreeBSD
      validations:
          required: false

    - type: dropdown
      id: init
      attributes:
          label: Init system
          description: Relevant for UWSM configuration
          options:
              - systemd
              - non-systemd (openrc / runit / s6 / ...)
      validations:
          required: false

    - type: input
      id: other-init
      attributes:
          label: Other init system (if "non-systemd" above)
          placeholder: e.g. openrc, runit, s6, dinit
      validations:
          required: false

    - type: input
      id: qt-version
      attributes:
          label: Qt version
          placeholder: 6.11.1
      validations:
          required: false

    - type: input
      id: commit
      attributes:
          label: Branch / commit
          placeholder: main / abc1234
      validations:
          required: false

    - type: textarea
      id: logs
      attributes:
          label: Logs / backtrace / screenshots
          render: shell
      validations:
          required: false

    - type: textarea
      id: workaround
      attributes:
          label: Found a workaround?
      validations:
          required: false
