name: Bug report
description: Something broke. Help us fix it.
title: "[Bug] "
labels: ["bug", "needs-triage"]
body:
  - type: markdown
    attributes:
      value: |
        Thanks for filing a bug. Please attach a diagnostic bundle if possible — it speeds up triage by 10x. Generate one via Settings → Help → Generate diagnostic bundle.

  - type: input
    id: version
    attributes:
      label: Lumotia version
      description: Settings → Help. e.g. v0.1.0
      placeholder: v0.1.0
    validations:
      required: true

  - type: dropdown
    id: platform
    attributes:
      label: Platform
      options:
        - Linux (Fedora)
        - Linux (Ubuntu LTS)
        - Linux (other)
        - macOS Apple Silicon
        - macOS Intel
        - Windows 11
        - Windows 10
    validations:
      required: true

  - type: textarea
    id: what-happened
    attributes:
      label: What happened?
      description: A clear description of the bug.
    validations:
      required: true

  - type: textarea
    id: expected
    attributes:
      label: What did you expect to happen?
    validations:
      required: true

  - type: textarea
    id: steps
    attributes:
      label: Steps to reproduce
      placeholder: |
        1. Open Lumotia
        2. Click record
        3. ...
    validations:
      required: true

  - type: textarea
    id: diagnostic-bundle
    attributes:
      label: Diagnostic bundle
      description: Drag-and-drop the .zip from Settings → Help → Generate diagnostic bundle. Never includes audio or transcripts.
    validations:
      required: false

  - type: textarea
    id: extras
    attributes:
      label: Anything else?
      description: Screenshots, logs, related captures.
    validations:
      required: false
