10000 chore: sync main to feature branch by kimteayon · Pull Request #810 · ant-design/x · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: sync main to feature branch #810

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

Merged
merged 15 commits into from
May 8, 2025
Merged

chore: sync main to feature branch #810

merged 15 commits into from
May 8, 2025

Conversation

kimteayon
Copy link
Collaborator

No description provided.

wzc520pyfm and others added 14 commits April 22, 2025 22:25
chore: sync feature to main branch
Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com>
* feat: function setState

* fix: watch config

---------

Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com>
* fix: fix Conversations ellipsis tooltip issues by removing it

* test: update snapshot

* style: use native text overflow style
* 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
Co-authored-by: afc163 <afc163@gmail.com>
* 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

* docs: fix the wrong docs of ThoughtChain

* docs: optimize Bubble.List scoll position

* docs: fix thought-chain and changelog
* fix: Prompts srollX

* fix: Prompts srollX
* docs: optimize Bubble.List scoll position

* docs: optimize Bubble.List scoll position

* test: demo snap

* fix: Prompts srollX
Copy link
Contributor
coderabbitai bot commented May 8, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor
github-actions bot commented May 8, 2025

Preview is ready

Copy link

Walkthrough: This pull request synchronizes the main branch with a feature branch, updating dependencies to support React 19 and adding various enhancements and bug fixes across multiple components. It includes changes to styles, demos, and documentation, as well as updates to the CHANGELOG and package version.

Changes:

Files Summary
.dumi/theme/builtins/Previewer/CodePreviewer.tsx Updated dependencies to support React 19 and added a patch for React 19 compatibility.
CHANGELOG.en-US.md, CHANGELOG.zh-CN.md Added entries for version 1.2.0, detailing bug fixes and new features.
README-zh_CN.md, README.md Added contribution leaderboard links.
components/attachments/style/fileCard.ts Modified styles for image handling within file cards.
components/bubble/tests/snapshots/demo.test.ts.snap, components/bubble/demo/list.tsx, components/bubble/demo/markdown.tsx Adjusted styles and added console logging for markdown rendering.
components/conversations/Item.tsx Removed tooltip and ellipsis logic, simplified rendering.
components/conversations/tests/snapshots/demo-extend.test.ts.snap, components/conversations/tests/snapshots/demo.test.ts.snap, components/conversations/tests/snapshots/index.test.tsx.snap Updated snapshots to reflect changes in conversation item rendering.
components/conversations/style/index.ts Adjusted styles for conversation labels and menu icons.
components/index.ts Added export for Conversation type.
components/prompts/style/index.ts Adjusted overflow styles and hid scrollbars.
components/thought-chain/tests/index.test.tsx, components/thought-chain/demo/collapsible.tsx Added tests and updated demo for ThoughtChain component.
components/use-x-agent/index.en-US.md, components/use-x-agent/index.zh-CN.md Changed type definitions to interfaces.
components/use-x-agent/index.ts Updated dependency array for useEffect hook.
components/use-x-chat/index.ts Modified RequestParams type definition.
docs/playground/copilot.tsx, docs/playground/independent.tsx Adjusted styles for padding and layout.
package.json Updated version to 1.2.0.

@dosubot dosubot bot added the documentation Improvements or additions to documentation label May 8, 2025
Copy link
Contributor
github-actions bot commented May 8, 2025

size-limit report 📦

Path Size
dist/antdx.min.js 37.03 KB (+57 B 🔺)

Copy link
cloudflare-workers-and-pages bot commented May 8, 2025

Deploying ant-design-x with  Cloudflare Pages  Cloudflare Pages

Latest commit: fd57916
Status: ✅  Deploy successful!
Preview URL: https://fbc21ecc.ant-design-x.pages.dev
Branch Preview URL: https://main2featrue.ant-design-x.pages.dev

View logs

Copy link
codecov bot commented May 8, 2025

Bundle Report

Changes will increase total bundle size by 499 bytes (0.37%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
antdx-array-push 135.94kB 499 bytes (0.37%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: antdx-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
antdx.min.js 499 bytes 135.94kB 0.37%

Copy link
codecov bot commented May 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.33%. Comparing base (88069a1) to head (fd57916).
Report is 1 commits behind head on feature.

Additional details and impacted files
@@             Coverage Diff             @@
##           feature     #810      +/-   ##
===========================================
- Coverage    92.36%   92.33%   -0.04%     
===========================================
  Files           66       66              
  Lines         1494     1487       -7     
  Branches       388      403      +15     
===========================================
- Hits          1380     1373       -7     
  Misses         114      114              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 8, 2025
@kimteayon kimteayon merged commit c4f30e2 into feature May 8, 2025
12 of 13 checks passed
@kimteayon kimteayon deleted the main2featrue branch May 8, 2025 10:58
kimteayon added a commit that referenced this pull request May 21, 2025
* 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 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>
coding-ice added a commit to coding-ice/x that referenced this pull request Jun 17, 2025
* fix(attachment): fix image display style (ant-design#751)

* chore: update CodePreviewer to support React 19 (ant-design#758)

* docs: update a new contributions charts (ant-design#761)

* fix: fix some potential issue (ant-design#773)

* refactor: using setState function (ant-design#774)

Co-authored-by: vanndxh <wangyuezhou.wyz@digital-engine.com>

* type: fix some potential issue (ant-design#775)

* fix: watch config three sub-items  (ant-design#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 (ant-design#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 (ant-design#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 (ant-design#258)

Co-authored-by: afc163 <afc163@gmail.com>

* docs: fix the wrong docs of ThoughtChain (ant-design#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 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 (ant-design#785)

* fix: Prompts srollX

* fix: Prompts srollX

* docs: optimize Bubble.List scroll bar position (ant-design#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BranchAutoMerge documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants
0