---
name: 🐛 Bug Report
description: Report a reproducible bug in the current release of NetBox
labels: ["type: bug"]
body:
  - type: markdown
    attributes:
      value: >
        **NOTE:** This form is only for reporting _reproducible bugs_. If you're having 
        trouble with installation or just looking for assistance with using NetBox 
        Topology Views, please visit our 
        [discussion forum](https://github.com/mattieserver/netbox-topology-views/discussions) instead.
  - type: input
    attributes:
      label: NetBox version
      description: What version of NetBox are you currently running?
      placeholder: v3.3.9
    validations:
      required: true
  - type: input
    attributes:
      label: Topology Views version
      description: What version of NetBox Topology Views are you currently running?
      placeholder: v3.1.0
    validations:
      required: true
  - type: textarea
    attributes:
      label: Steps to Reproduce
      description: >
        Describe in detail the exact steps that someone else can take to
        reproduce this bug using the current stable release of NetBox Topology Views.
      placeholder: |
        1. Click on "create widget"
        2. Set foo to 12 and bar to G
        3. Click the "create" button
    validations:
      required: true
  - type: textarea
    attributes:
      label: Expected Behavior
      description: What did you expect to happen?
      placeholder: A new widget should have been created with the specified attributes
    validations:
      required: true
  - type: textarea
    attributes:
      label: Observed Behavior
      description: What happened instead?
      placeholder: A TypeError exception was raised
    validations:
      required: true
