name: Bug Report
description: Create a report to help us fix broken features
labels: ["bug"]
body:
  - type: textarea
    id: what-happened
    attributes:
      label: Describe the bug, what's wrong, and what you expected.
      description: |
        Provide a clear and concise description of what the bug is and what you expected to happen.
      placeholder: What went wrong?
    validations:
      required: true
  - type: textarea
    id: reproduce
    attributes:
      label: Steps to reproduce the bug.
      description: |
        Please provide a list of steps to reproduce the bug and, if possible, include a code snippet/snippets to reproduce the bug.
      placeholder: Provide some code for us to reproduce the bug!
      value: "```python\nInsert code here\n```"
    validations:
      required: true
  - type: textarea
    id: system-information
    attributes:
      label: System Information
      placeholder: The log will automatically be formatted and copied to clipboard! No need to type backticks.
      description: |
        Please run the following code wherever you are experiencing the bug, and paste the output below.
        This report helps us track down bugs and will be critical to addressing your bug.
        ```python
        # Get system info
        from fracability.utils import general_use
        general_use.report()
        ```
      render: shell
    validations:
      required: true
  - type: textarea
    id: screenshots_videos
    attributes:
      label: Screenshots and/or videos
      description: If applicable, please add screenshots/short videos to the text box below
  - type: textarea
    id: data
    attributes:
      label: Datasets
      description: If possible, please upload the dataset/part of the dataset you used. If possible please provide a description of the dataset and what to expect. Please zip files that are inherent to each other.
      placeholder: Upload here your data
      value: "- This file contains xyz: _your_file.csv_\n- This zip contains all the files related to xyz: _your_zip.zip_"
