Skip to content

docs(cndocs): sync textinput and releases table with upstream - #1042

Merged
sunnylqm merged 1 commit into
productionfrom
auto-translate-20260816
Aug 16, 2026
Merged

docs(cndocs): sync textinput and releases table with upstream#1042
sunnylqm merged 1 commit into
productionfrom
auto-translate-20260816

Conversation

@sunnylqm

@sunnylqm sunnylqm commented Aug 16, 2026

Copy link
Copy Markdown

同步内容

本次同步基于上游 facebook/react-native-website@main(含 0.87 版本发布、TextInput 文档更新等)合并到 production 后进行。

翻译文件(cndocs/)

colors.md 为误报:上游仅修正英文拼写(same likesame as),中文翻译结构(标题、属性、章节)与上游完全一致,无需改动。

网站配置/组件同步(cnwebsite/)

  • cnwebsite/src/components/releases/_releases-table.md
    • 0.87.x / 0.86.x 状态更新为 Active(0.87 已于 2026-08-10 发布)
    • 0.85.x 更新为 End of Cycle,0.84.x、0.83.x、0.82.x、0.81.x 更新为 Unsupported

本次上游合并未涉及 package.jsondocusaurus.config.tssidebars.tstsconfig.json 等配置/依赖变更(仅有 0.87 版本化文档新增、release 表格更新、静态 logo SVG 与博客资源),故无需同步依赖版本。

验证

  • yarn --cwd cnwebsite build 通过(仅剩版本化文档中既有的 HTML minifier 警告,与本次改动无关)

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Documentation

    • Updated TextInput examples to use the direct useState hook.
    • Simplified multiline input guidance by removing outdated border and wrapper notes.
  • Release Information

    • Updated React Native release statuses for versions 0.81.x–0.87.x.
    • Corrected the 0.86.x release date to June 9, 2026.

- textinput: remove outdated multiline single-side border caveat (upstream react#5200)
- textinput: add missing useState import, drop React. prefix in SnackPlayer examples
- cnwebsite releases table: mark 0.87/0.86 Active, 0.85 End of Cycle, 0.84 Unsupported
@netlify

netlify Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploy Preview for reactnativecn failed. Why did it fail? →

Name Link
🔨 Latest commit 44605f4
🔍 Latest deploy log https://app.netlify.com/projects/reactnativecn/deploys/6a81c93b32aa9a0008a3c19f

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1813cfb4-1309-4939-a3fa-2df5783b93db

📥 Commits

Reviewing files that changed from the base of the PR and between e82a21f and 44605f4.

📒 Files selected for processing (2)
  • cndocs/textinput.md
  • cnwebsite/src/components/releases/_releases-table.md

Included review availability: Your plan includes up to 2 reviews per rolling hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

本次更新调整了 TextInput 中文文档示例,并同步 React Native 0.87.x 至 0.81.x 的发布状态及 0.86.x 发布日期。

Changes

TextInput 文档

Layer / File(s) Summary
更新 TextInput 示例
cndocs/textinput.md
示例直接导入并调用 useState。多行输入说明移除边框样式限制和 View 包裹说明。

版本发布信息

Layer / File(s) Summary
更新版本生命周期状态
cnwebsite/src/components/releases/_releases-table.md
更新 0.87.x 至 0.81.x 的生命周期状态,并将 0.86.x 发布日期修正为 2026-06-09。

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 44605

This change updates translated documentation and release-status labels without changing runtime code or dependencies; no actionable merge-blocking risk remains after normal checks and review.

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the documentation and release-table synchronization changes described in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch auto-translate-20260816

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sunnylqm
sunnylqm merged commit 739d8bf into production Aug 16, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant