Skip to content
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

fix: site page crash error #444

Merged
merged 5 commits into from
Jan 4, 2025
Merged

fix: site page crash error #444

merged 5 commits into from
Jan 4, 2025

Conversation

YumoImer
Copy link
Collaborator

@YumoImer YumoImer commented Jan 3, 2025

Summary by CodeRabbit

  • 文档

    • 移除了 Bubble 组件文档中的 GPT-Vis 渲染示例代码片段(英文和中文文档)
  • 依赖

    • @petercatai/assistant 依赖版本从 ^2.0.10 升级到 ^2.0.13
    • 新增依赖 react-intl,版本为 7.0.4

Copy link
Contributor

coderabbitai bot commented Jan 3, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • components/attachments/__tests__/__snapshots__/demo-extend.test.ts.snap is excluded by !**/*.snap
  • components/thought-chain/__tests__/__snapshots__/demo-extend.test.ts.snap is excluded by !**/*.snap

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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

📝 Walkthrough

概述

浏览

此次拉取请求主要涉及 Bubble 组件的文档更新和依赖包版本升级。在中英文文档中删除了与 GPT-Vis 渲染图表相关的代码示例,同时将 @petercatai/assistant 依赖包版本从 ^2.0.10 升级到 ^2.0.13,并新增了 react-intl 依赖。

变更

文件 变更说明
components/bubble/index.en-US.md 删除 GPT-Vis 图表渲染代码示例
components/bubble/index.zh-CN.md 删除 GPT-Vis 图表渲染代码示例
package.json 升级 @petercatai/assistant 依赖版本到 ^2.0.13,新增 react-intl 依赖版本 7.0.4

可能相关的 PR

诗歌

🐰 泡泡组件轻轻飘,
文档清理显功劳,
GPT-Vis 示例悄悄走,
依赖升级版本高,
代码世界妙无穷!


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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.

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. (Beta)
  • @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

github-actions bot commented Jan 3, 2025

Preview is ready

Copy link

Walkthrough

This pull request addresses a site page crash error by removing a specific code reference in documentation files and updating a package dependency. The changes involve deleting a code snippet related to GPT-Vis in both English and Chinese documentation and updating the version of the @petercatai/assistant package in package.json.

Changes

Files Summary
components/bubble/index.en-US.md, components/bubble/index.zh-CN.md Removed the code snippet referencing GPT-Vis for rendering charts.
package.json Updated the @petercatai/assistant package version from ^2.0.10 to ^2.0.13.

@@ -111,7 +111,7 @@
"@microflash/rehype-figure": "^2.1.1",
"@npmcli/run-script": "^9.0.1",
"@octokit/rest": "^21.0.2",
"@petercatai/assistant": "^2.0.10",
"@petercatai/assistant": "^2.0.13",

Choose a reason for hiding this comment

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

Ensure that the update to @petercatai/assistant from version ^2.0.10 to ^2.0.13 is compatible with the rest of the codebase and does not introduce any breaking changes.

Copy link

codecov bot commented Jan 3, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
antdx-array-push 148.9kB 7.09kB (-4.54%) ⬇️

Copy link

socket-security bot commented Jan 3, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/lz-string@1.5.0 None 0 176 kB pieroxy
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/prismjs@1.29.0 None 0 2.05 MB rundevelopment
npm/regenerator-runtime@0.14.1 None 0 27.9 kB benjamn

🚮 Removed packages: npm/@ant-design/colors@7.2.0, npm/@ant-design/cssinjs-utils@1.1.3, npm/@ant-design/cssinjs@1.22.1, npm/@ant-design/fast-color@2.0.6, npm/@ant-design/icons@5.5.2, npm/@ant-design/tools@18.0.2, npm/@ant-design/v5-patch-for-react-19@1.0.3, npm/@antv/gpt-vis@0.4.2, npm/@biomejs/biome@1.9.4, npm/@codecov/webpack-plugin@1.7.0, npm/@codesandbox/sandpack-react@2.19.10, npm/@ctrl/tinycolor@4.1.0, npm/@emotion/react@11.14.0, npm/@emotion/server@11.11.0, npm/@happy-dom/jest-environment@16.3.0, npm/@ianvs/prettier-plugin-sort-imports@4.4.0, npm/@madccc/duplicate-package-checker-webpack-plugin@1.0.0, npm/@microflash/rehype-figure@2.1.1, npm/@npmcli/run-script@9.0.2, npm/@octokit/rest@21.0.2, npm/@petercatai/assistant@2.0.13, npm/@qixian.cs/github-contributors-list@2.0.2, npm/@rc-component/father-plugin@1.2.0-alpha.0, npm/@rc-component/trigger@2.2.6, npm/@size-limit/file@11.1.6, npm/@stackblitz/sdk@1.11.0, npm/@testing-library/dom@10.4.0, npm/@testing-library/jest-dom@6.6.3, npm/@testing-library/react@16.1.0, npm/@testing-library/user-event@14.5.2, npm/@types/adm-zip@0.5.7, npm/@types/ali-oss@6.16.11, npm/@types/cli-progress@3.11.6, npm/@types/fs-extra@11.0.4, npm/@types/gtag.js@0.0.20, npm/@types/http-server@0.12.4, npm/@types/inquirer@9.0.7, npm/@types/isomorphic-fetch@0.0.39, npm/@types/jest-axe@3.5.9, npm/@types/jest-environment-puppeteer@5.0.6, npm/@types/jest-image-snapshot@6.4.0, npm/@types/jest@29.5.14, npm/@types/jquery@3.5.32, npm/@types/jsdom@21.1.7, npm/@types/markdown-it@14.1.2, npm/@types/minimist@1.2.5, npm/@types/node@22.10.5, npm/@types/ora@3.2.0, npm/@types/pixelmatch@5.2.6, npm/@types/pngjs@6.0.5, npm/@types/prismjs@1.26.5, npm/@types/progress@2.0.7, npm/@types/qs@6.9.17, npm/@types/react-copy-to-clipboard@5.0.7, npm/@types/react-dom@19.0.2, npm/@types/react-highlight-words@0.20.0, npm/@types/react-resizable@3.0.8, npm/@types/react@19.0.2, npm/@types/semver@7.5.8, npm/@types/spinnies@0.5.3, npm/@types/tar@6.1.13, npm/@types/throttle-debounce@5.0.2, npm/@types/warning@3.0.3, npm/@umijs/fabric@4.0.1, npm/adm-zip@0.5.16, npm/ali-oss@6.22.0, npm/antd-style@3.7.1, npm/antd-token-previewer@2.0.8, npm/antd@5.22.7, npm/axios@1.7.9, npm/browserslist-to-esbuild@2.1.1, npm/browserslist@4.24.3, npm/chalk@4.1.2, npm/cheerio@1.0.0, npm/circular-dependency-plugin@5.2.2, npm/cli-progress@3.12.0, npm/copy-to-clipboard@3.3.3, npm/cross-fetch@4.1.0, npm/crypto@1.0.1, npm/dekko@0.2.1, npm/dumi-plugin-color-chunk@1.1.2, npm/dumi@2.4.17, npm/esbuild-loader@4.2.2, npm/fast-glob@3.3.2, npm/father@4.5.1-beta.4, npm/fetch-jsonp@1.3.0, npm/rc-motion@2.9.5, npm/rc-util@5.44.3, npm/react-dom@19.0.0

View full report↗︎

Copy link

cloudflare-workers-and-pages bot commented Jan 3, 2025

Deploying ant-design-x with  Cloudflare Pages  Cloudflare Pages

Latest commit: 82477e6
Status: ✅  Deploy successful!
Preview URL: https://156ddada.ant-design-x.pages.dev
Branch Preview URL: https://docs-hide-gptvis-demo.ant-design-x.pages.dev

View logs

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.45%. Comparing base (fdb9df2) to head (82477e6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #444   +/-   ##
=======================================
  Coverage   91.45%   91.45%           
=======================================
  Files          67       67           
  Lines        1462     1462           
  Branches      370      370           
=======================================
  Hits         1337     1337           
  Misses        125      125           

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

@YumoImer YumoImer merged commit 7f3f8e0 into main Jan 4, 2025
15 of 16 checks passed
@YumoImer YumoImer deleted the docs/hide-gptvis-demo branch January 4, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants