name: Feature Request
description: Suggest a new feature or improvement
title: "[FEATURE] "
labels: ["enhancement"]

body:
  - type: markdown
    attributes:
      value: |
        Have a suggestion for improvement? We'd love to hear it!

  - type: textarea
    id: description
    attributes:
      label: Description
      description: What feature or improvement would you like to see?
      placeholder: Describe the feature or enhancement you're requesting
    validations:
      required: true

  - type: textarea
    id: motivation
    attributes:
      label: Motivation
      description: Why would this be useful?
      placeholder: Explain why this feature would be helpful and what problem it solves
    validations:
      required: true

  - type: dropdown
    id: category
    attributes:
      label: Category
      options:
        - "New example"
        - "Better documentation"
        - "New plugin coverage"
        - "Framework integration"
        - "Performance tips"
        - "Accessibility guidance"
        - "Other"

  - type: textarea
    id: example
    attributes:
      label: Example Use Case
      description: Can you provide an example of how this would be used?
      placeholder: |
        For example: "I'd like an example showing how to animate a grid layout transition with Flip plugin in React"
    validations:
      required: false

  - type: textarea
    id: alternative
    attributes:
      label: Alternative Approaches
      description: Are there any alternative solutions you've considered?
      placeholder: Describe other ways you've thought about solving this
    validations:
      required: false
