已合并
fix:Add use cases for missing onScroll and onTouch callbacks in the carousel library #2012
yanPeng创建于 20 小时前
fix:Add use cases for missing onScroll and onTouch callbacks in the carousel library #2012
已合并
yanPeng创建于 20 小时前
yanPeng
yanPeng
20 小时前

fix:Add use cases for missing onScroll and onTouch callbacks in the carousel library

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 yanPeng 的贡献)
openharmony_ci
openharmony_ci成员
20 小时前 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
openharmony_ciopenharmony_ci成员
20 小时前 添加了label:dco检查成功
yanPengyanPeng
20 小时前 关联了issue:fix:72 Add use cases for missing onScroll and onTouch callbacks in the carousel library
yanPeng
yanPeng
20 小时前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
20 小时前 评论:

首次触发
门禁构建开始,包含静态检查、代码编译【rnt__sig编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a8ea40b64650f998b32e7c3/runlist

likedislike
openharmony_ciopenharmony_ci成员
19 小时前 添加了label:静态检查失败
openharmony_ci
openharmony_ci成员
19 小时前 评论:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a8ea40b64650f998b32e7c3/runlist

静态检查:

# check type result report
1 codeCheck noPass >>>

编译测试:
# Device build result package
1 rnt__sig pending NA

likedislike
胡枭
胡枭
19 小时前 评论:

已检视,无其他问题

likedislike
yanPeng
yanPeng
19 小时前 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
19 小时前 删除了label:静态检查失败
openharmony_ci
openharmony_ci成员
19 小时前 评论:

部分构建失败,仅触发失败构建
门禁构建开始,包含静态检查、代码编译【rnt__sig编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a8ea87a64650f998b35052d/runlist

likedislike
cpf-manager
cpf-manager19 小时前进行代码检视2
24P4/rn-tester/examples/react-native-snap-carousel/SnapCarousel.tsx
@@ -1273,3 +1393,3 @@
12731393 onSnapToItem={(index) => { setCurrentIndex(index + 1) }}
12741394 />
1275- <View style={{ flexDirection: 'row' }}>
1395+ <View style={{ flexDirection: 'row', alignItems: 'right' }}>
cpf-manager
cpf-manager19 小时前评论:

【AI-Review】【一般】【基础代码问题】【代码逻辑错误】alignItems 值无效

● 问题: 文件 24P4/rn-tester/examples/react-native-snap-carousel/SnapCarousel.tsx 第1395行,<View style={{ flexDirection: 'row', alignItems: 'right' }}> 中的 alignItems: 'right' 不是 React Native 支持的合法值。React Native 中 alignItems 的合法值仅为 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline',不存在 'right'。此行由原 flexDirection: 'row' 修改为新增 alignItems: 'right',属于本次 PR 的增量变更。

● 影响: 一般。该 TestCase 渲染时此样式会被 React Native 忽略(并触发运行时警告),无法实现预期的子元素右对齐效果;同时 TypeScript 严格模式下会触发类型错误,影响构建。

● 建议: 若需让 Text 在 flexDirection: 'row' 的容器中右对齐,应使用合法值 alignItems: 'flex-end',或在 Text 上设置 alignSelf: 'flex-end' / textAlign: 'right'
<View style={{ flexDirection: 'row', alignItems: 'flex-end' }}>

likedislike
yanPeng
yanPeng
19 小时前 评论:

这个布局正常,不影响测试

openharmony_ciopenharmony_ci成员
18 小时前 添加了label:编译成功
openharmony_ciopenharmony_ci成员
18 小时前 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
18 小时前 通过测试
openharmony_ci
openharmony_ci成员
18 小时前 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a8ea87a64650f998b35052d/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 rnt__sig success >>>

likedislike
dingchengjiedingchengjie成员
18 小时前 通过审查
dingchengjiedingchengjie成员
18 小时前 解决了最后一个问题
openharmony_ciopenharmony_ci成员
18 小时前 关闭了关联的issue
openharmony_ciopenharmony_ci成员
18 小时前 合入了pull request,合并节点 SHA:6980ffb1353228205fb0db35494f0e60aed609be