name: 缺陷反馈|Bug
description: 当您发现了一个缺陷,需要向社区反馈时,请使用此模板。| When a defect is discovered and needs to reported to the community, please use this template.
title: "[Bug]: "
labels: ["bug"]
body:
  - type: markdown
    attributes:
      value: |
        感谢对仓颉社区的支持与关注,欢迎反馈缺陷。| Thanks for your support and attention to the Cangjie community. We welcome feedback on any issues.
  - type: textarea
    attributes:
      label: 发生了什么问题?| Describe the issue that occurred.
      description: 提供尽可能多的信息描述产生了什么问题:| Provide as much information as possible describing what issue occurred.
      placeholder: ""
    validations:
      required: true
  - type: textarea
    attributes:
      label: 期望行为是什么?| What is the expected behavior?
      description: 描述期望行为或效果应如何:| Detailed description of expected behavior.
      placeholder: ""
    validations:
      required: true
  - type: textarea
    attributes:
      label: 如何复现该缺陷?| How to reproduce the issue?
      description: 提供尽可能多的信息描述如何复现该缺陷,如错误文档截图、最小可复现用例代码等:| Provide as much information as possible describing how to reproduce the issue, such as screenshots of the error documentation, a minimal reproducible sample, etc.
    validations:
      required: true
  - type: textarea
    attributes:
      label: 其他补充信息 | Other information.
      description: 补充下其他您认为需要提供的信息:| Supplement with any other information you think needs to be provided.
    validations:
      required: false
  - type: checkboxes
    attributes:
      label: 分支版本信息 | Involved Branches
      description: 在哪些分支版本存在该缺陷?| In which branches does this defect exist?
      options:
        - label: dev
          required: false
        - label: main
          required: false
        - label: release/1.0
          required: false
        - label: release/OpenHarmony-release-6.0
          required: false
    validations:
      required: true