-
-
Notifications
You must be signed in to change notification settings - Fork 720
docs: modification tips #844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthrough本次更改包括两个方面:一是将 Bubble 组件演示文件中的复制提示信息由中文改为英文;二是修正了 Bubble 组件英文文档中 API 表格的格式,将合并的行拆分为两个独立的行,提升了表格的清晰度和准确性。 Changes
Suggested labels
Suggested reviewers
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 30th. To opt out, configure ✨ Finishing Touches
🧪 Generate Unit Tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Walkthrough: This pull request focuses on improving the documentation by fixing formatting issues and updating text content for clarity. The changes include modifications to the text in a TypeScript file and adjustments in a markdown documentation file. Changes:
|
Bundle ReportChanges will increase total bundle size by 28 bytes (0.02%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antdx-array-pushAssets Changed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
components/bubble/demo/header-and-footer.tsx (1)
10-10
: 统一冒号样式
当前模板字符串使用了中文全角冒号 “:”,建议替换为英文半角冒号 “:”,以保持英文提示的一致性:- message.success(`Text copied successfully:${textToCopy}`); + message.success(`Text copied successfully: ${textToCopy}`);components/bubble/index.en-US.md (1)
53-54
: 修正 shape 行的 Version 列
shape
和styles
已正确拆分,提升了表格可读性。建议将shape
行的 Version 列保持为空(与placement
一致),而非使用-
,以统一表格风格:- | shape | Shape of bubble | `round` \| `corner` | - | - | + | shape | Shape of bubble | `round` \| `corner` | - | |
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
components/bubble/demo/header-and-footer.tsx
(1 hunks)components/bubble/index.en-US.md
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: test / react component workflow
- GitHub Check: build preview
- GitHub Check: size
🔇 Additional comments (1)
components/bubble/demo/header-and-footer.tsx (1)
9-9
: 翻译正确,无逻辑变更
已将空内容提示从“文本为空”改为“Text is empty”,翻译贴切且保留了原有控制流。
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #844 +/- ##
==========================================
- Coverage 92.35% 92.34% -0.02%
==========================================
Files 66 66
Lines 1492 1490 -2
Branches 405 401 -4
==========================================
- Hits 1378 1376 -2
Misses 114 114 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
很棒,没有问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accept
* chore: sync main to feature branch (#810) * fix(attachment): fix image display style (#751) * chore: update CodePreviewer to support React 19 (#758) * docs: update a new contributions charts (#761) * fix: fix some potential issue (#773) * refactor: using setState function (#774) Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com> * type: fix some potential issue (#775) * fix: watch config three sub-items (#777) * feat: function setState * fix: watch config --------- Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com> * fix: fix Conversations ellipsis tooltip issues by removing it (#776) * fix: fix Conversations ellipsis tooltip issues by removing it * test: update snapshot * style: use native text overflow style * docs: changelog of 1.2.0 (#778) * fix: fix some potential issue * fix: fix some potential issue * fix: fix some potential issue * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * 🏷️ type: add Conversation type export (#258) Co-authored-by: afc163 <afc163@gmail.com> * docs: fix the wrong docs of ThoughtChain (#781) * fix: fix some potential issue * fix: fix some potential issue * fix: fix some potential issue * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of A953 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: changelog of 1.2.0 * docs: fix the wrong docs of ThoughtChain * docs: optimize Bubble.List scoll position * docs: fix thought-chain and changelog * fix: Prompts scroll styles (#785) * fix: Prompts srollX * fix: Prompts srollX * docs: optimize Bubble.List scroll bar position (#783) * docs: optimize Bubble.List scoll position * docs: optimize Bubble.List scoll position * test: demo snap * fix: Prompts srollX * chore: sync main to feature branch --------- Co-authored-by: wzc520pyfm <1528857653@qq.com> Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Co-authored-by: Shinji-Li <1349021570@qq.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Vanndxh <77873426+vanndxh@users.noreply.github.com> Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: fix warning of deprecated API (#827) * chore: fix warning of deprecated API * chore: fix ts * chore: fix logic * test: ignore legacy * chore: delete webpack.config.js (#229) * docs(bubble): update content and messageRender type (#814) * docs: sender supplement documents to address user inquiries (#835) * docs: supplement documents to address user inquiries * docs: sender * chore: sync main to feature branch * feat: make the Bubble foot and header to get from context & Bubble can get key (#683) * feat: 调整Bubble foot,header参数,支持头部获取上下文 * fix: # 支持useXAgent通过deps 获取最新状态 * fix: 剔多余提交 * fix: 英文文档格式修复 * fix 简化参数 * Update header-and-footer.tsx fix: 调整用例 * feat: bubble's footer and header * feat: bubble's footer and header * test: bubble's footer and header * fix: ts of key * fix: ts of key --------- Co-authored-by: Mickey <951203214@qq.com> * fix: resolve the security issues of apikey (#840) * fix: Resolve the security issues of apikey * fix: Resolve the security issues of apikey * test: update snap * fix:api key and stream * fix:api key and stream * docs: modification tips (#844) * docs: changelog of 1.3.0 (#845) * test: sender * test: delete * docs: changelog of 1.3.0 * docs: changelog of 1.3.0 * docs: changelog of 1.3.0 --------- Co-authored-by: wzc520pyfm <1528857653@qq.com> Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Co-authored-by: Shinji-Li <1349021570@qq.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Vanndxh <77873426+vanndxh@users.noreply.github.com> Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com> Co-authored-by: Lawliet <37376096+L-Hknu@users.noreply.github.com>
🤔 This is a ...
修复一些文档格式
Summary by CodeRabbit
Bug Fixes
Documentation