文件最后提交记录最后更新时间
chore: (partially) fix android project in tester ## Summary The tester's Android project wasn't updated after introducing monorepo setup. This is a partial fix, because react-native-core needs also to be updated https://gl.swmansion.com/rnoh/react-native-core/-/commit/ded97ee7046b442c5646def5409216878fe9fd0f. In the near future, this monorepo will use local react-native-core (that's why I don't bother updating react-native-core in this MR). ## Test Plan 1. Patch react-native-core similarly to this commit https://gl.swmansion.com/rnoh/react-native-core/-/commit/ded97ee7046b442c5646def5409216878fe9fd0f 2. Run Android ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Closes https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1501 See merge request rnoh/react-native-harmony!1831 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
Fix tintColor implementation Co-authored-by: Jakub Migdał<jakub.migdal@swmansion.com> # message auto-generated for no-merge-commit merge: merge __jm__tintColor into 0.77.1-rc.1-ohos Fix tintColor implementation Created-by: kidq330 Commit-by: Jakub Migdał Merged-by: huangyouhua Description: ## Description Fixes the method used to implement the tintColor prop of the Image component, to be consistent with Android. Previously it was approximated using a color matrix based filter, instead of a Porter-Duff blending filter like on Android. ## Changes - [fixed] tintColor consistency with Android - [fixed] passing tintColor as an immediate prop of Image ## Test Plan 1. Open the Tester project 2. Open the Image section. 3. Open the example labeled: render the same colors as the Android screenshot on the right. 4. Compare with the Android screenshot at the bottom. There should be minimal difference between colors. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!15218 个月前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(Config): exempt LICENSE-Meta from OAT scan and align copyright with upstream 问题描述: OAT 4 扫描报告 LICENSE-Meta 文件存在 Copyright Header Invalid: InvalidCopyright 告警。 LICENSE-Meta 中的版权声明 "Copyright (c) Meta Platforms, Inc. and affiliates" 不符合 OAT.xml policylist 中定义的允许版权模式 (Huawei Technologies Co., Ltd. 或个人开发者格式 ^[A-Z][a-z]+ [A-Z][a-z]+), 且末尾缺少句号,与 React Native 上游官方格式 "Copyright (c) Meta Platforms, Inc. and affiliates." 不一致,可能导致合规风险。 解决方案: 1. 在 OAT.xml 的 defaultFilter 和 copyrightPolicyFilter 中分别添加3个 LICENSE-Meta 文件的 filepath 过滤项, 声明其来自上游 Meta,与 LICENSE-Facebook 等处理一致; 2. 在3个 LICENSE-Meta 文件版权声明末尾补齐句号, 使其与 React Native 官方仓库格式完全一致。 影响范围: 仅修改 OAT.xml 过滤规则和 LICENSE-Meta 文本格式, 不改变任何源码逻辑与功能,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
chore: update podfile lock and add pnpm ios:tester command Co-authored-by: Arkadiusz Kasprzyk<arkadiusz.kasprzyk@swmansion.com> # message auto-generated for no-merge-commit merge: merge kas/refine-ios-setup into 0.77.1-rc.1-ohos chore: update podfile lock and add pnpm ios:tester command Created-by: arkadiuszkasprzyk Commit-by: Arkadiusz Kasprzyk Merged-by: huangyouhua Description: ## Description Podfile lock wasn't updated since RNOH 0.75. ## Changes ## Test Plan - run pnpm ios:tester on MacOS from the project root ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!16467 个月前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
Update react-native to 0.80.2 Co-authored-by: Patryk Fryda<patryk.fryda@swmansion.com> # message auto-generated for no-merge-commit merge: !1834 merge 0.80 into 0.82 Update react-native to 0.80.2 Created-by: pafry Commit-by: Patryk Fryda Merged-by: huangyouhua Description: **This PR is based on https://gitcode.com/openharmony-sig/ohos_react_native/pull/1768** ## Why are these changes being made? There is ongoing effort to update react-native and RNOH to 0.82. This is the third step. chore: update react-native to 0.80.2 ## Notable react-native changes: - https://github.com/facebook/react-native/pull/50379 - synchronouslyUpdateViewOnUIThread on UIManager - https://github.com/facebook/react-native/pull/36385 - moving /graphics/conversions.h to /core/graphicsConversions.h - https://github.com/facebook/react-native/pull/50889/files - introduction of TextLayoutManagerExtended ## Changelog - updated react-native to 0.80.2 ## Test Plan - launch tester app, - run sequential and concurrent tests ## Checklist - [x] pnpm verify command has passed successfully. - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!18345 个月前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
fix(oat): align copyright and license headers 问题描述: 最新一轮静态检查中,仓内部分脚本、模板、测试与 CLI 相关文件缺少统一的版权与许可证头注释,导致 OAT 头注释类告警未完全收敛,也增加了仓内文件头规范不一致的问题。 解决方案: - 为命中的 JS、TS、ETS、TSX 与配置文件补充统一的 MIT 版权头 - 对 Handlebars 模板文件补充等价的模板注释头,保持模板语法正确 - 统一文件头年份与版权格式,消除缺失头注释和格式不一致告警 影响范围: - 主要影响 CLI、tester、testerino、公共脚本与模板文件的头部注释规范 - 不改变文件原有实现逻辑、运行行为与构建结果 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 12 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
chore: packages directory ## Summary This MR prepares this repository for yarn workspaces. ## Checklist - [x] Project compiles and the tester application works. ## Issue Links Related https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1802 Signed-off-by: huangyouhua <1356795413@qq.com> 1 年前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(oat): align copyright and license headers 问题描述: 最新一轮静态检查中,仓内部分脚本、模板、测试与 CLI 相关文件缺少统一的版权与许可证头注释,导致 OAT 头注释类告警未完全收敛,也增加了仓内文件头规范不一致的问题。 解决方案: - 为命中的 JS、TS、ETS、TSX 与配置文件补充统一的 MIT 版权头 - 对 Handlebars 模板文件补充等价的模板注释头,保持模板语法正确 - 统一文件头年份与版权格式,消除缺失头注释和格式不一致告警 影响范围: - 主要影响 CLI、tester、testerino、公共脚本与模板文件的头部注释规范 - 不改变文件原有实现逻辑、运行行为与构建结果 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 12 天前
feat(Upgrade): 升级React Native版本为0.84.1 Co-authored-by: fangyygw<fang_zhen@hoperun.com> 1 个月前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
feat(Upgrade): 升级React Native版本为0.84.1 Co-authored-by: fangyygw<fang_zhen@hoperun.com> 1 个月前