name: Bug Report
description: Report a FreeDATA bug
title: "[Bug]: "
labels: "bug :beetle:"
body:
  - type: markdown
    attributes:
      value: |
        Thanks for taking the time to fill out this bug report!

  - type: input
    id: freedata-version
    attributes:
      label: FreeDATA Version
      description: |
        What version of FreeDATA are you using?
    validations:
      required: true

  - type: dropdown
    id: operating-system
    attributes:
      label: What operating system are you using?
      options:
        - Windows
        - macOS
        - Ubuntu
        - Other Linux
        - Other (specify below)
    validations:
      required: true

  - type: input
    id: operating-system-version
    attributes:
      label: Operating System Version
      description: What operating system version are you using? On Windows, click Start button > Settings > System > About. On macOS, click the Apple Menu > About This Mac. On Linux, use lsb_release or uname -a.
      placeholder: "e.g. Windows 10 version 1909, macOS Catalina 10.15.7, or Ubuntu 20.04"
    validations:
      required: true

  - type: dropdown
    id: architecture
    attributes:
      label: Architecture
      description: Please specify the system architecture.
      options:
        - x86
        - x64
        - ARM Desktop
        - ARM Raspberry Pi
    validations:
      required: true

  - type: dropdown
    id: area-of-problem
    attributes:
      label: Area of problem
      description: Select the area where the problem occurred.
      options:
        - Server - Message System
        - Server - General
        - Server - API
        - Server - File Transfer
        - Server - Socket Interface
        - GUI
        - Rig Control
        - Installation
    validations:
      required: true

  - type: textarea
    id: description
    attributes:
      label: Describe the bug
      description: A clear and concise description of what the bug is.
      placeholder: "A clear and concise description of what the bug is."
    validations:
      required: true

  - type: textarea
    id: steps-to-reproduce
    attributes:
      label: To Reproduce
      description: |
        Steps to reproduce the behavior:
        1. Go to '...'
        2. Click on '....'
        3. Scroll down to '....'
        4. See error
      placeholder: "1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error"
    validations:
      required: true

  - type: textarea
    id: expected-behavior
    attributes:
      label: Expected behavior
      description: A clear and concise description of what you expected to happen.
      placeholder: "A clear and concise description of what you expected to happen."
    validations:
      required: true

  - type: textarea
    id: screenshots
    attributes:
      label: Screenshots
      description: If applicable, add screenshots to help explain your problem.
      placeholder: "If applicable, add screenshots to help explain your problem."

  - type: textarea
    id: log-files
    attributes:
      label: Log Files
      description: If applicable, add log files to help explain your problem.
      placeholder: "If applicable, add log files to help explain your problem."

  - type: textarea
    id: additional-context
    attributes:
      label: Additional context
      description: Add any other context about the problem here.
      placeholder: "Add any other context about the problem here."
