name: 🐛 Bug report
description: Create a report to help us improve TinyPro
title: '🐛 [Bug]: '
labels: [🐛  bug]
body:
  - type: markdown
    attributes:
      value: |
        Please fill out the following carefully in order to better fix the problem.
  - type: input
    id: tiny-pro-version
    attributes:
      label: Version
      description: |
        ### **Check if the issue is reproducible with the latest stable version.**
        You can use the command `npm ls @opentiny/tiny-toolkit-pro` to view it
      placeholder: latest
    validations:
      required: true
  - type: textarea
    id: minimal-repo
    attributes:
      label: Link to minimal reproduction
      description: |
        **Provide a streamlined CodePen / CodeSandbox or GitHub repository link as much as possible. Please don't fill in a link randomly, it will only close your issue directly.**
      placeholder: Please Input
    validations:
      required: true
  - type: textarea
    id: reproduce
    attributes:
      label: Step to reproduce
      description: |
        **After the replay is turned on, what actions do we need to perform to make the bug appear? Simple and clear steps can help us locate the problem more quickly. Please clearly describe the steps of reproducing the issue. Issues without clear reproducing steps will not be repaired. If the issue marked with 'need reproduction' does not provide relevant steps within 7 days, it will be closed directly.**
      placeholder: Please Input
    validations:
      required: true
  - type: textarea
    id: expected
    attributes:
      label: What is expected
      placeholder: Please Input
  - type: textarea
    id: actually
    attributes:
      label: What is actually happening
      placeholder: Please Input
  - type: input
    id: project-name
    attributes:
      label: What is your project name
      description: We also welcome you to fill in more detailed project information in the issue.
      placeholder: Please Input
    validations:
      required: true
  - type: textarea
    id: additional-comments
    attributes:
      label: Any additional comments (optional)
      description: |
        **Some background / context of how you ran into this bug.**
      placeholder: Please Input