Skip to content

docs(dumi): fix CodePreviewer live demo module resolution#1830

Merged
afc163 merged 3 commits intoant-design:mainfrom
1uokun:main
Mar 18, 2026
Merged

docs(dumi): fix CodePreviewer live demo module resolution#1830
afc163 merged 3 commits intoant-design:mainfrom
1uokun:main

Conversation

@1uokun
Copy link
Copy Markdown
Contributor

@1uokun 1uokun commented Mar 18, 2026

中文版模板 / 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

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 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.

📝 Change Log

Language Changelog
🇺🇸 English Update Documentation
🇨🇳 Chinese 更新文档
Desc Before After
LiveCode Error image 同时将LiveError sticky展示,避免代码过长时不可见
playground UI fix image image

Summary by CodeRabbit

  • 样式优化

    • 聊天界面改为可伸缩滚动(移除固定高度,chatList 支持弹性伸展与纵向滚动),并调整内外边距与占位符样式
    • 输入区域改为独立的发送容器,优化无消息时的占位渲染与圆角一致性
    • 代码预览器中错误提示改为独立的粘性展示区域,错误显示位置与代码隐藏操作更直观
  • 构建配置

    • 更新了若干模块别名的解析路径为绝对引用以优化解析方式

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 18, 2026

Preview failed

@dosubot dosubot bot added the documentation Improvements or additions to documentation label Mar 18, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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!

This pull request refactors the error display mechanism for Dumi's live code previews, ensuring a more consistent and robust way to show live demo errors. Concurrently, it addresses module resolution issues within the Dumi configuration and implements several UI improvements across various playground components, enhancing their responsiveness and visual presentation.

Highlights

  • Live Demo Error Handling Refactor: The LiveError component was introduced and integrated into CodePreviewer.tsx to centralize and improve the display of errors in live demos. The error prop was subsequently removed from CodePreview.tsx and LiveCode.tsx as error handling is now managed externally by CodePreviewer.
  • Module Resolution Fix: Module alias paths in .dumirc.ts were updated to use path.join(__dirname, ...) for @ant-design/x-markdown, @ant-design/x-sdk, and @ant-design/x-skill, resolving potential issues with module imports.
  • Playground UI Enhancements: Various playground components (agent-tbox.tsx, copilot.tsx, independent.tsx, ultramodern.tsx) received style adjustments to improve layout, enable flexible height, and enhance scrolling behavior for chat lists and related elements.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

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.

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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 22731fb7-03e7-418a-b9fc-bf8123aa8662

📥 Commits

Reviewing files that changed from the base of the PR and between 8018888 and 6dec48d.

📒 Files selected for processing (1)
  • packages/x/.dumi/theme/common/CodePreview.tsx
💤 Files with no reviewable changes (1)
  • packages/x/.dumi/theme/common/CodePreview.tsx

📝 Walkthrough

概览

此变更重构了预览组件的错误处理流程,将 LiveError 从子组件传递改为在父组件中直接渲染,同时更新了多个游乐场组件的样式以支持更灵活的布局,包括调整填充、边距和高度约束。

变更

内聚组/ 文件 总结
错误处理重构
packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx, packages/x/.dumi/theme/common/CodePreview.tsx, packages/x/.dumi/theme/common/LiveCode.tsx
移除 error 属性的传递和使用,将 LiveError 从 CodePreview/LiveCode 中剥离,在 CodePreviewer 中通过新建粘性容器单独渲染 LiveError 以及控制码隐藏按钮。更新了组件签名和属性,简化错误处理流程。
配置更新
packages/x/.dumirc.ts
将三个公共别名(@ant-design/x-markdown、@ant-design/x-sdk、@ant-design/x-skill)的模块解析由相对路径改为使用 path.join(__dirname, '...') 的绝对路径引用,调整模块解析方式。
游乐场样式调整
packages/x/docs/playground/agent-tbox.tsx, packages/x/docs/playground/copilot.tsx, packages/x/docs/playground/independent.tsx, packages/x/docs/playground/ultramodern.tsx
所有相关游乐场文件中,聊天列表样式增加 flex: 1overflow-y: auto 支持弹性伸缩,去除了兼容固定高度的约束。调整了 padding、margin 和 border-radius,ultramodern.tsx 重构了发送者容器结构和渲染流程。

估计代码审查工作量

🎯 3 (中等) | ⏱️ ~20 分钟

诗句

🐰 错误浮上又离去,
容器粘住展新姿,
列表伸缩自在飞,
样式调和更灵动,
代码轻盈舞动起!✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Pull request title accurately describes the main change: fixing module resolution in CodePreviewer's live demo functionality.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.

Add a configuration file to your project to customize how CodeRabbit runs oxc.

Copy link
Copy Markdown
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

This pull request introduces several documentation and UI improvements. It fixes a module resolution issue for live demos in the dumi configuration by using absolute paths. It also refactors the error display for live code previews, making the error message sticky at the bottom. Additionally, it improves the layout of several playground examples by using flexible box properties for scrollable chat lists, which is more robust than using calc().

My review focuses on a few areas for improvement. I've identified a potential bug in CodePreview.tsx where a prop removal could lead to a runtime error. I've also pointed out a couple of potential UI inconsistencies in the playground examples for copilot and ultramodern demos related to component alignment and width constraints. Addressing these points will help improve the correctness and visual consistency of the documentation site.

Comment on lines 460 to -462
onItemClick={(info) => handleUserSubmit(info?.data?.description as string)}
style={{
marginInline: 16,
}}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Removing this inline marginInline style may cause a visual misalignment. The Welcome component above has a margin, but now this Prompts component will not, causing them to have different indentation levels. To maintain consistent alignment, consider re-adding a margin to this component, for example by applying a style class.

Comment on lines +102 to +104
chatSender: css`
padding: ${token.paddingXS}px;
`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The Sender component's container div.chatSender no longer has a maxWidth. This could result in the input area becoming excessively wide on larger screens, which is inconsistent with the maxWidth of the message bubbles above. To ensure a consistent layout, please add a maxWidth and center the element.

    chatSender: css`
      padding: ${token.paddingXS}px;
      width: 100%;
      max-width: 940px;
      margin-inline: auto;
    `,

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
packages/x/docs/playground/copilot.tsx (1)

207-209: CSS 格式小问题:flex:1 缺少空格

flex:1; 应该写成 flex: 1;,在冒号后添加空格以保持代码风格一致性。

🔧 建议修复
     chatList: css`
-      flex:1;
+      flex: 1;
       overflow-y: auto;
       padding-inline: 16px;
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/x/docs/playground/copilot.tsx` around lines 207 - 209, Fix the CSS
spacing issue by changing the declaration "flex:1;" to "flex: 1;" in the CSS
rule that also contains "overflow-y: auto" and "padding-inline: 16px"; ensure
the colon is followed by a single space and run the repo's CSS/formatting tool
to keep style consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx`:
- Around line 530-537: The hide-control uses a focusable div with tabIndex and
role but no keyboard handler; update the CodePreviewer hide control (the element
using setCodeExpand(false) and styles.codeHideBtn) to be a native <button>
(remove tabIndex and role) so Enter/Space trigger works natively, preserve
onClick and children (<UpOutlined /> and FormattedMessage), and adjust CSS for
styles.codeHideBtn if needed to reset default button styles and maintain
layout/appearance.

In `@packages/x/docs/playground/agent-tbox.tsx`:
- Around line 298-301: 当前样式块中同时使用了 `padding-top: 32px` 和后续的 `padding:
${token.paddingLG}px`,导致 `padding-top` 被覆盖;请在 agent-tbox.tsx 中的该样式块统一声明间距:要么删除
`padding-top: 32px` 并只保留 `padding: ${token.paddingLG}px`,要么把 32px 合并进
shorthand(例如将 shorthand 的 top 值替换为
32px),以消除歧义并确保顶部间距按预期生效(参考属性名:padding-top、padding、token.paddingLG)。

---

Nitpick comments:
In `@packages/x/docs/playground/copilot.tsx`:
- Around line 207-209: Fix the CSS spacing issue by changing the declaration
"flex:1;" to "flex: 1;" in the CSS rule that also contains "overflow-y: auto"
and "padding-inline: 16px"; ensure the colon is followed by a single space and
run the repo's CSS/formatting tool to keep style consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 2d1c6bb0-46ca-47a9-9023-7befc3f5f201

📥 Commits

Reviewing files that changed from the base of the PR and between 6a0ab2f and 8018888.

📒 Files selected for processing (8)
  • packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx
  • packages/x/.dumi/theme/common/CodePreview.tsx
  • packages/x/.dumi/theme/common/LiveCode.tsx
  • packages/x/.dumirc.ts
  • packages/x/docs/playground/agent-tbox.tsx
  • packages/x/docs/playground/copilot.tsx
  • packages/x/docs/playground/independent.tsx
  • packages/x/docs/playground/ultramodern.tsx
💤 Files with no reviewable changes (1)
  • packages/x/.dumi/theme/common/CodePreview.tsx

Comment on lines +530 to +537
tabIndex={0}
role="button"
className={styles.codeHideBtn}
onClick={() => setCodeExpand(false)}
>
<UpOutlined />
<FormattedMessage id="app.demo.code.hide.simplify" />
</div>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# 验证该按钮是否仅有 role/tabIndex 但无键盘事件
rg -n -C2 'tabIndex=\{0\}|role="button"|onKeyDown=' packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx

Repository: ant-design/x

Length of output: 295


🏁 Script executed:

cat -n packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx | sed -n '525,545p'

Repository: ant-design/x

Length of output: 801


隐藏代码控件缺少键盘触发,存在可访问性缺口。

第 530-533 行使用了可聚焦的 divtabIndex={0} + role="button"),但缺少 onKeyDown 处理器,键盘用户无法通过 Enter/Space 键触发点击。建议改用原生 <button> 元素。

建议修改
-            <div
-              tabIndex={0}
-              role="button"
+            <button
+              type="button"
               className={styles.codeHideBtn}
               onClick={() => setCodeExpand(false)}
             >
               <UpOutlined />
               <FormattedMessage id="app.demo.code.hide.simplify" />
-            </div>
+            </button>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
tabIndex={0}
role="button"
className={styles.codeHideBtn}
onClick={() => setCodeExpand(false)}
>
<UpOutlined />
<FormattedMessage id="app.demo.code.hide.simplify" />
</div>
<button
type="button"
className={styles.codeHideBtn}
onClick={() => setCodeExpand(false)}
>
<UpOutlined />
<FormattedMessage id="app.demo.code.hide.simplify" />
</button>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/x/.dumi/theme/builtins/Previewer/CodePreviewer.tsx` around lines 530
- 537, The hide-control uses a focusable div with tabIndex and role but no
keyboard handler; update the CodePreviewer hide control (the element using
setCodeExpand(false) and styles.codeHideBtn) to be a native <button> (remove
tabIndex and role) so Enter/Space trigger works natively, preserve onClick and
children (<UpOutlined /> and FormattedMessage), and adjust CSS for
styles.codeHideBtn if needed to reset default button styles and maintain
layout/appearance.

Comment on lines 298 to 301
padding-top: 32px;
width: 100%;
padding-inline: ${token.paddingLG}px;
padding: ${token.paddingLG}px;
box-sizing: border-box;
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot Mar 18, 2026

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

padding-top 被后续 padding 覆盖,建议合并声明。

Line 298 的 padding-top: 32px 会被 Line 300 的 padding: ... 覆盖,当前顶部间距不是 32px。建议明确保留哪种间距,避免样式歧义。

💡 建议修改
     placeholder: css`
-      padding-top: 32px;
       width: 100%;
-      padding: ${token.paddingLG}px;
+      padding: ${token.paddingLG}px;
+      padding-top: 32px;
       box-sizing: border-box;
     `,
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
padding-top: 32px;
width: 100%;
padding-inline: ${token.paddingLG}px;
padding: ${token.paddingLG}px;
box-sizing: border-box;
width: 100%;
padding: ${token.paddingLG}px;
padding-top: 32px;
box-sizing: border-box;
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/x/docs/playground/agent-tbox.tsx` around lines 298 - 301,
当前样式块中同时使用了 `padding-top: 32px` 和后续的 `padding: ${token.paddingLG}px`,导致
`padding-top` 被覆盖;请在 agent-tbox.tsx 中的该样式块统一声明间距:要么删除 `padding-top: 32px` 并只保留
`padding: ${token.paddingLG}px`,要么把 32px 合并进 shorthand(例如将 shorthand 的 top 值替换为
32px),以消除歧义并确保顶部间距按预期生效(参考属性名:padding-top、padding、token.paddingLG)。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

demo code短平快,保障样式没问题即可

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@1uokun 理解,demo 代码以简洁实用为主,样式视觉效果没问题即可,不做强制要求。忽略此建议。


🧠 Learnings used
Learnt from: afc163
Repo: ant-design/x PR: 0
File: :0-0
Timestamp: 2025-04-11T14:47:09.527Z
Learning: 当评审 ant-design/x 仓库中的 PR 时,需要用中文回复中文评论。该项目的文档支持中英双语。

Learnt from: afc163
Repo: ant-design/x PR: 0
File: :0-0
Timestamp: 2025-04-11T14:47:09.527Z
Learning: 当评审 ant-design/x 仓库中的 PR 时,需要用中文回复中文评论。该项目的文档支持中英双语。

@1uokun
Copy link
Copy Markdown
Contributor Author

1uokun commented Mar 18, 2026

首页是否同意添加<SearchBar />

理由:文档内容较多,搜索还是有必要。

下面为预览实现,首要保障了官网风格统一,如果同意我将优化后继续加在当前mr中

Mar-18-2026.11-03-10.mp4

@1uokun
Copy link
Copy Markdown
Contributor Author

1uokun commented Mar 18, 2026

官网livedemo无法编辑问题比较紧急可优先发布 @kimteayon

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Bundle Report

Changes will decrease total bundle size by 368.14kB (-10.07%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
x-markdown-array-push 1.36MB 1.24MB (1000.14%) ⬆️
antdx-array-push 1.92MB -1.61MB (-45.51%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: antdx-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
antdx.min.js (New) 1.92MB 1.92MB 100.0% 🚀
antdx.js (Deleted) -3.53MB 0 bytes -100.0% 🗑️
view changes for bundle: x-markdown-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
latex.min.js (New) 262.19kB 262.19kB 100.0% 🚀
static/KaTeX_AMS-Regular.*.ttf (New) 63.63kB 63.63kB 100.0% 🚀
static/KaTeX_Main-Regular.*.ttf (New) 53.58kB 53.58kB 100.0% 🚀
static/KaTeX_Main-Bold.*.ttf (New) 51.34kB 51.34kB 100.0% 🚀
static/KaTeX_Main-Italic.*.ttf (New) 33.58kB 33.58kB 100.0% 🚀
static/KaTeX_AMS-Regular.*.woff (New) 33.52kB 33.52kB 100.0% 🚀
static/KaTeX_Main-BoldItalic.*.ttf (New) 32.97kB 32.97kB 100.0% 🚀
static/KaTeX_Math-Italic.*.ttf (New) 31.31kB 31.31kB 100.0% 🚀
static/KaTeX_Math-BoldItalic.*.ttf (New) 31.2kB 31.2kB 100.0% 🚀
static/KaTeX_Main-Regular.*.woff (New) 30.77kB 30.77kB 100.0% 🚀
static/KaTeX_Main-Bold.*.woff (New) 29.91kB 29.91kB 100.0% 🚀
static/KaTeX_AMS-Regular.*.woff2 (New) 28.08kB 28.08kB 100.0% 🚀
static/KaTeX_Typewriter-Regular.*.ttf (New) 27.56kB 27.56kB 100.0% 🚀
static/KaTeX_Main-Regular.*.woff2 (New) 26.27kB 26.27kB 100.0% 🚀
static/KaTeX_Main-Bold.*.woff2 (New) 25.32kB 25.32kB 100.0% 🚀
static/KaTeX_SansSerif-Bold.*.ttf (New) 24.5kB 24.5kB 100.0% 🚀
latex.min.css (New) 24.38kB 24.38kB 100.0% 🚀
static/KaTeX_SansSerif-Italic.*.ttf (New) 22.36kB 22.36kB 100.0% 🚀
static/KaTeX_Main-Italic.*.woff (New) 19.68kB 19.68kB 100.0% 🚀
static/KaTeX_Fraktur-Bold.*.ttf (New) 19.58kB 19.58kB 100.0% 🚀
static/KaTeX_Fraktur-Regular.*.ttf (New) 19.57kB 19.57kB 100.0% 🚀
static/KaTeX_SansSerif-Regular.*.ttf (New) 19.44kB 19.44kB 100.0% 🚀
static/KaTeX_Main-BoldItalic.*.woff (New) 19.41kB 19.41kB 100.0% 🚀
static/KaTeX_Math-Italic.*.woff (New) 18.75kB 18.75kB 100.0% 🚀
static/KaTeX_Math-BoldItalic.*.woff (New) 18.67kB 18.67kB 100.0% 🚀
static/KaTeX_Main-Italic.*.woff2 (New) 16.99kB 16.99kB 100.0% 🚀
static/KaTeX_Main-BoldItalic.*.woff2 (New) 16.78kB 16.78kB 100.0% 🚀
static/KaTeX_Script-Regular.*.ttf (New) 16.65kB 16.65kB 100.0% 🚀
static/KaTeX_Math-Italic.*.woff2 (New) 16.44kB 16.44kB 100.0% 🚀
static/KaTeX_Math-BoldItalic.*.woff2 (New) 16.4kB 16.4kB 100.0% 🚀
static/KaTeX_Typewriter-Regular.*.woff (New) 16.03kB 16.03kB 100.0% 🚀
static/KaTeX_SansSerif-Bold.*.woff (New) 14.41kB 14.41kB 100.0% 🚀
static/KaTeX_SansSerif-Italic.*.woff (New) 14.11kB 14.11kB 100.0% 🚀
static/KaTeX_Typewriter-Regular.*.woff2 (New) 13.57kB 13.57kB 100.0% 🚀
static/KaTeX_Fraktur-Bold.*.woff (New) 13.3kB 13.3kB 100.0% 🚀
static/KaTeX_Fraktur-Regular.*.woff (New) 13.21kB 13.21kB 100.0% 🚀
static/KaTeX_Caligraphic-Bold.*.ttf (New) 12.37kB 12.37kB 100.0% 🚀
static/KaTeX_Caligraphic-Regular.*.ttf (New) 12.34kB 12.34kB 100.0% 🚀
static/KaTeX_SansSerif-Regular.*.woff (New) 12.32kB 12.32kB 100.0% 🚀
static/KaTeX_Size1-Regular.*.ttf (New) 12.23kB 12.23kB 100.0% 🚀
static/KaTeX_SansSerif-Bold.*.woff2 (New) 12.22kB 12.22kB 100.0% 🚀
static/KaTeX_SansSerif-Italic.*.woff2 (New) 12.03kB 12.03kB 100.0% 🚀
static/KaTeX_Size2-Regular.*.ttf (New) 11.51kB 11.51kB 100.0% 🚀
static/KaTeX_Fraktur-Bold.*.woff2 (New) 11.35kB 11.35kB 100.0% 🚀
static/KaTeX_Fraktur-Regular.*.woff2 (New) 11.32kB 11.32kB 100.0% 🚀
static/KaTeX_Script-Regular.*.woff (New) 10.59kB 10.59kB 100.0% 🚀
static/KaTeX_Size4-Regular.*.ttf (New) 10.36kB 10.36kB 100.0% 🚀
static/KaTeX_SansSerif-Regular.*.woff2 (New) 10.34kB 10.34kB 100.0% 🚀
static/KaTeX_Script-Regular.*.woff2 (New) 9.64kB 9.64kB 100.0% 🚀
static/KaTeX_Caligraphic-Bold.*.woff (New) 7.72kB 7.72kB 100.0% 🚀
static/KaTeX_Caligraphic-Regular.*.woff (New) 7.66kB 7.66kB 100.0% 🚀
static/KaTeX_Size3-Regular.*.ttf (New) 7.59kB 7.59kB 100.0% 🚀
static/KaTeX_Caligraphic-Bold.*.woff2 (New) 6.91kB 6.91kB 100.0% 🚀
static/KaTeX_Caligraphic-Regular.*.woff2 (New) 6.91kB 6.91kB 100.0% 🚀
static/KaTeX_Size1-Regular.*.woff (New) 6.5kB 6.5kB 100.0% 🚀
static/KaTeX_Size2-Regular.*.woff (New) 6.19kB 6.19kB 100.0% 🚀
static/KaTeX_Size4-Regular.*.woff (New) 5.98kB 5.98kB 100.0% 🚀
static/KaTeX_Size1-Regular.*.woff2 (New) 5.47kB 5.47kB 100.0% 🚀
static/KaTeX_Size2-Regular.*.woff2 (New) 5.21kB 5.21kB 100.0% 🚀
static/KaTeX_Size4-Regular.*.woff2 (New) 4.93kB 4.93kB 100.0% 🚀
static/KaTeX_Size3-Regular.*.woff (New) 4.42kB 4.42kB 100.0% 🚀
static/KaTeX_Size3-Regular.*.woff2 (New) 3.62kB 3.62kB 100.0% 🚀
x-markdown.min.js (Deleted) -117.46kB 0 bytes -100.0% 🗑️
x-markdown.min.css (Deleted) -6.45kB 0 bytes -100.0% 🗑️

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (6a0ab2f) to head (6dec48d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1830   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         149      149           
  Lines        5044     5044           
  Branches     1438     1469   +31     
=======================================
  Hits         4914     4914           
  Misses        128      128           
  Partials        2        2           

☔ 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 Mar 18, 2026
@afc163 afc163 merged commit 1b85e6f into ant-design:main Mar 18, 2026
11 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).

🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。

Thank you for your contribution!

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

Labels

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.

2 participants