name: 缺陷反馈|Bug
description: 当您发现了一个缺陷,需要向社区反馈时,请使用此模板。
title: "[Bug]: 【等级:严重/一般/提示】【分类:稳定性/性能/功能/工程/工具】【RNOH版本】【组件】【属性】问题描述"
labels: ["bug", "triage"]
type: "缺陷"
body:
- type: markdown
attributes:
value: |
感谢对RN社区的支持与关注,欢迎反馈缺陷。
- type: textarea
id: problem
attributes:
label: 发生了什么问题?
description: 提供尽可能多的信息描述产生了什么问题。
placeholder: |
1、可提供截图或视频来更清晰地说明发生的行为。
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: 期望行为是什么?
description: 描述期望的行为应该是什么样子的。
placeholder: |
1、可提供截图或视频来更清晰地说明期望的行为。
2、如果期望行为与当前行为不同,请详细说明差异。
validations:
required: true
- type: textarea
id: defect-reproduction
attributes:
label: 如何复现该缺陷?
description: 提供尽可能多的信息描述如何复现该缺陷。
placeholder: |
【预置条件】
【测试步骤】
validations:
required: true
- type: input
id: version
attributes:
label: React Native OpenHarmony 版本。
description: 请提供您使用的React Native OpenHarmony版本信息。
placeholder: "0.72.48"
validations:
required: true
- type: textarea
id: react-native-info
attributes:
label: 涉及编译环境信息,请补充。
description: 在您的终端中运行 `npx @react-native-community/cli info`,然后将结果粘贴到这里。
placeholder: |
请在此处粘贴 `npx @react-native-community/cli info` 的输出结果。 如下所示:
...
System:
OS: macOS 14.1.1
CPU: (10) arm64 Apple M1 Max
Memory: 417.81 MB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node: ...
version: 22.14.0
...
render: text
validations:
required: true
- type: textarea
id: stacktrace
attributes:
label: 堆栈跟踪或日志
description: 请提供崩溃或故障的堆栈跟踪或日志。
render: text
placeholder: |
请在此处粘贴堆栈跟踪或日志。它们可能看起来像这样:
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libfabricjni.so caused by: com.facebook.react.fabric.StateWrapperImpl result: 0
at com.facebook.soloader.SoLoader.g(Unknown Source:341)
at com.facebook.soloader.SoLoader.t(Unknown Source:124)
at com.facebook.soloader.SoLoader.s(Unknown Source:2)
at com.facebook.soloader.SoLoader.q(Unknown Source:42)
at com.facebook.soloader.SoLoader.p(Unknown Source:1)
...
validations:
required: true
- type: textarea
id: other-info
attributes:
label: 其他补充信息
description: 补充下其他您认为需要提供的信息。
render: text
placeholder: |
1、如果您有复现问题的公共仓库的链接,可提供链接。
2、如果您认为该缺陷与特定的设备、操作系统版本或其他环境因素相关,请提供相关信息。
3、如果您已经尝试过某些解决方法或绕过方法,请描述它们以及它们的效果。
validations:
required: false
- type: checkboxes
id: checklist
attributes:
label: 提交前检查清单
description: 请在提交 Issue 前确认以下事项
options:
- label: 搜索现有 Issue,避免重复提交
required: true
- label: 使用正确的 Issue 模板
required: true
- label: 提供清晰的复现步骤(Bug 类)
required: false
- label: 附上相关日志、截图或代码片段
required: false
- label: 说明环境信息(操作系统、版本号等)
required: true
- label: 检查标题是否清晰且包含类型前缀
required: true