pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

[WIP] Upgrade to antd v6

Open Copilot opened this issue 1 month ago • 8 comments

  • [x] Review Ant Design v6 migration guide and breaking changes
  • [x] Update antd dependency from ^5.28.1 to ^6.0.0
  • [x] Update peerDependencies for antd to ^6.0.0
  • [x] Update @ant-design/cssinjs from ^1.24.0 to ^2.0.1
  • [x] Update @ant-design/icons from ^5.6.1 to ^6.1.0
  • [x] Update React peer dependency from >=17.0.0 to >=18.0.0
  • [x] Fix useStyle hook to work with new useStyleRegister return type (void)
  • [x] Update Popover styles API from 'body' to 'container'
  • [x] Add required cssVar configuration to useCacheToken
  • [x] Run TypeScript type check - all errors fixed
  • [x] Run build - compilation succeeds
  • [x] Update test snapshots for antd v6
  • [ ] Run tests to verify functionality
  • [ ] Address any test failures
  • [ ] Review and update documentation if needed
Original prompt

升级到 antd v6


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Nov 25 '25 07:11 Copilot

[!IMPORTANT]

Review skipped

Bot user detected.

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.


Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 25 '25 07:11 coderabbitai[bot]

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedantd@​6.0.0871001009980
Added@​ant-design/​icons@​6.1.0891008788100
Added@​ant-design/​cssinjs@​2.0.19810010097100

View full report

socket-security[bot] avatar Nov 25 '25 07:11 socket-security[bot]

@copilot snapshot 需要更新一下

afc163 avatar Nov 25 '25 10:11 afc163

@copilot snapshot 需要更新一下

已更新 snapshot,提交在 84ff1af

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • at.alicdn.com
    • Triggering command: /usr/local/bin/node /usr/local/bin/node -e const sendRequest = require('http').request; const options = { "method": "GET", "headers": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "close", "Referer" (dns block)
  • proapi.azurewebsites.net
    • Triggering command: /usr/local/bin/node /usr/local/bin/node --conditions node --conditions development /home/REDACTED/work/pro-components/pro-components/node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/index.js/../entry/process.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot avatar Nov 25 '25 10:11 Copilot

@afc163 大佬 还继续嘛

XuJin186 avatar Nov 26 '25 01:11 XuJin186

@XuJin186 欢迎 PR

afc163 avatar Nov 26 '25 02:11 afc163

我看有许多测试用例失败只是由于 class 有变化,例如 .ant-select-selector 应该改为 .ant-select-content 之类的 但是我怎么 at 不出来 copilot @afc163

gin-lsl avatar Dec 02 '25 13:12 gin-lsl

大佬们 进度怎么不动了呢

zhengmenghuang avatar Dec 11 '25 01:12 zhengmenghuang

焦急

leshalv avatar Dec 15 '25 04:12 leshalv

催更

deng-yc avatar Dec 16 '25 08:12 deng-yc

@copilot 修复目前没有完成的存在问题的代码

Zzzz-zmy avatar Dec 19 '25 14:12 Zzzz-zmy