docs(cndocs): remove deprecated APIs#1038
Merged
Merged
Conversation
❌ Deploy Preview for reactnativecn failed. Why did it fail? →
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (4)
📝 WalkthroughWalkthroughThe documentation removes InteractionManager pages and navigation, updates animation and gesture guidance to reference interaction handles and idle-time work, and removes or revises deprecated Modal, ScrollView, and StatusBar API documentation. ChangesDocumentation cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
同步上游
Remove deprecated APIs (#5167)对中文文档的影响:InteractionManagerAPI 文档,并从中文侧边栏移除对应入口Animated、动画指南、PanResponder与性能指南中对InteractionManager的引用,改为 interaction handle 或requestIdleCallback的最新表述Modal、ScrollView、StatusBar中移除上游已删除的弃用属性、方法和兼容值InteractionManager章节website → cnwebsite 同步
本次上游合并在
website/中仅修改了sidebars.ts(移除interactionmanager);已同步到cnwebsite/sidebars.ts。本次没有新的 package、Docusaurus 配置、TypeScript 配置或依赖版本变更需要同步。候选核验
sync-translations.sh共列出 18 个候选。逐项核验后,9 个文档存在本次上游内容漂移,interactionmanager.md为上游已删除的孤立中文文档;其余 8 个候选(已移除组件 stub)及colors.md已与上游结构和链接对齐,因此未做无意义改写。验证
git diff --checkyarn --cwd cnwebsite build(通过;仅有仓库现存的历史版本文档链接和 HTML minifier 警告)本批次不涉及 Expo-first 内容。
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by CodeRabbit
requestIdleCallbackfor deferring JavaScript work during idle periods.Modal,ScrollView, andStatusBarproperties and methods.