name: ✨ 功能建议
description: 为 ContiNew App 提出新功能或改进建议
labels: ["feature"]
body:
  - type: markdown
    attributes:
      value: |
        感谢建议!ContiNew App 定位为通用多端工程底座,**通用性**是评估功能建议的首要因素。

        较复杂的功能建议先在此描述使用场景与设计方案,与维护者达成共识后再动手实现。

        > 依赖组件(如 wot-design-uni、uni-app)自身的功能请提交至对应组件仓库。
  - type: checkboxes
    id: confirmation
    attributes:
      label: 提交前确认
      options:
        - label: 我确认已搜索已有 Issue,不存在重复建议
          required: true
        - label: 我确认该功能具有通用性,而非特定业务场景的定制需求
          required: true
        - label: 我确认这是 ContiNew App 自身的需求,而非依赖组件的需求
          required: true
        - label: 我确认已在最新版本上验证该功能暂不存在
          required: true
        - label: 我愿意提交 PR 实现该功能
          required: false
  - type: textarea
    id: problem
    attributes:
      label: 功能描述
      description: 希望增加什么功能?解决什么问题?请描述具体的使用场景。
      placeholder: 我在使用 xxx 时,希望 ...
    validations:
      required: true
  - type: textarea
    id: solution
    attributes:
      label: 建议方案
      description: 期望的使用方式或实现思路,如交互形式、接口设计等。
    validations:
      required: true
  - type: textarea
    id: alternatives
    attributes:
      label: 备选方案
      description: 你考虑过的其他解决方案或替代思路。
    validations:
      required: false
  - type: textarea
    id: additional
    attributes:
      label: 附加信息
      description: 其他有助于理解功能建议的上下文,如其他脚手架的同类实现截图或参考链接。
    validations:
      required: false