Skip to content

Conversation

@danjianyishangshou
Copy link

中文版模板 / Chinese template

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • 📽️ Demo improvement
  • 💄 Component style improvement
  • 🤖 TypeScript definition improvement
  • 📦 Bundle size optimization
  • ⚡️ Performance optimization
  • ⭐️ Feature enhancement
  • 🌐 Internationalization
  • 🛠 Refactoring
  • 🎨 Code style optimization
  • ✅ Test Case
  • 🔀 Branch merge
  • ⏩ Workflow
  • ⌨️ Accessibility improvement
  • ❓ Other (about what?)

🔗 Related Issues

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.
image

📝 Change Log

变更摘要


新增: SlotTextArea 支持 maxLength 属性限制输入长度
修复: 超出长度时不再重置内容或丢失光标位置
优化: 粘贴和插入操作自动适配长度限制
兼容: 与现有slot配置无缝协作

Language Changelog
🇺🇸 English
🇨🇳 Chinese

jinyang and others added 30 commits September 11, 2025 16:01
* feat: add openLinksInNewTab & docs change & xss

* fix: fix CR

* fix: fix CR

* fix: fix CR

* feat: xmarkdown default less

* feat: default less

* feat: theme

* docs: add custom components

* feat: theme

* feat: theme

* feat: add theme

* feat: antd

* fix: fix test case

* test: less

---------

Co-authored-by: jinyang <[email protected]>
Co-authored-by: Mickey <[email protected]>
* feat(use-x-chat): add updating status

* test(use-x-chat): fix test error about on-update callback

* docs(use-x-chat): add loading for stream demo

* fix(use-x-chat): always set loadingMsg when init

* fix(use-x-chat): set placeholderMsg default value to empty string

* test(use-x-chat): fix check filed for case about loading placeholder msg

---------

Co-authored-by: Mickey <[email protected]>
…not be displayed when collapsible is enabled (ant-design#1172)

* fix(thought-chain): 修改title的结构

* fix(thought-chain): 修改title部分结构,满足传递ReactNode

* chore: update snapShot

* update docs case

* update docs case

* update checkTextOverflow

* chore: update snapShot

* fix: replace span with div and update snapShot
* chore: changelog of 1.6.1

* chore: changelog of 1.6.1

* chore: changelog of 1.6.1
…esign#1178)

* chore: changelog of 2.0.0-alpha.7

* chore: update

* docs: 更新antdx文档

* docs: 更新changelog文档位置

* docs: 更新changelog文档位置

* feat: site

* feat: markdown Semantic

* chore: version

* chore: changelog of alpha7

* fix: markdown

* fix: lint

* fix: lint

* fix:dekkp

* fix:dekkp
kimteayon and others added 20 commits November 20, 2025 18:27
chore: Merge antdx v2 next branch into main
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1333)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: changelog 2.0.0

* chore: changelog 2.0.0
* feat: site

* feat: site

* feat: site
* feat: site

* feat: site

* feat: site

* feat: site

* feat: site
* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site
* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site

* feat: site
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 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.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 26, 2025

Prepare preview

@dosubot dosubot bot added the enhancement New feature or request label Nov 26, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @danjianyishangshou, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

此拉取请求主要引入了对 SlotTextArea 组件的 maxLength 属性支持,以限制用户输入文本的长度。它还解决了在超出长度限制时可能导致内容重置或光标丢失的现有问题,并优化了粘贴和插入行为,使其能够智能地适应新的长度限制。此外,此PR还包含了一些项目配置和文档的更新,以适应项目结构和代码规范的演进。

Highlights

  • 新增 SlotTextArea maxLength 属性: SlotTextArea 组件现在支持 maxLength 属性,允许限制用户输入文本的长度。
  • 优化输入体验: 修复了超出长度限制时内容被重置或光标位置丢失的问题,并优化了粘贴和插入操作,使其能自动适应长度限制。
  • 增强兼容性: 新增功能与现有的 slot 配置无缝协作。
Ignored Files
  • Ignored by pattern: .github/workflows/** (5)
    • .github/workflows/main.yml
    • .github/workflows/preview-build.yml
    • .github/workflows/preview-deploy.yml
    • .github/workflows/site-deploy.yml
    • .github/workflows/size-limit.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

你好,感谢你的贡献。这个 Pull Request 的标题是“Featrue sender max length”,但实际内容是一次大规模的 Monorepo 结构重构,涉及了项目配置、文档和文件结构的巨大变更。这导致 PR 的范围过大,且与标题和描述严重不符。

为了保证代码库的可维护性和审查效率,我强烈建议:

  1. 拆分 PR:将 Monorepo 重构和 maxLength 功能的实现拆分成两个独立的 PR。
  2. 更新标题和描述:如果无法拆分,请将此 PR 的标题和描述修改为能准确反映其内容(例如,“Refactor: 迁移到 Monorepo 结构”)。

由于本次变更范围极广,我的审查主要集中在一些明显的文档链接错误和文本一致性问题上。对于更小的、目标明确的 PR,我们可以进行更深入和全面的审查。下面是一些具体的反馈,请查阅。

@codecov
Copy link

codecov bot commented Nov 27, 2025

Bundle Report

Changes will decrease total bundle size by 1.35MB (-31.6%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
x-markdown-array-push 2.79MB -1.35MB (-32.64%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: x-markdown-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
code-high-light.js (New) 2.79MB 2.79MB 100.0% 🚀
mermaid.min.js (Deleted) -4.14MB 0 bytes -100.0% 🗑️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.