You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/11 15:30:38 UTC
[PR] refactor: replace deprecated Ant Design APIs [rocketmq-dashboard]
Aias00 opened a new pull request, #1908:
URL: https://github.com/apache/rocketmq-dashboard/pull/1908
## Summary
- replace deprecated Ant Design `Card.bodyStyle` usage with `styles.body`
- replace deprecated `Card.bordered={false}` usage with `variant="borderless"`
- replace deprecated Modal and Drawer `destroyOnClose` usage with `destroyOnHidden`
- keep ACL and Settings out of scope because open PRs #1757 and #1771 already update those pages
This is a compatibility-only migration; page behavior and visual configuration are preserved.
## Validation
- `npm test -- --run --silent` (92 test files, 532 tests passed)
- `npm run build`
- targeted ESLint passed for 15 changed files
- the remaining `BrokerCluster.tsx` lint failure is pre-existing on the base branch and unrelated to the one-line Card property migration; #1907 contains the corresponding hooks fix
- verified no `bodyStyle`, `bordered={false}`, or `destroyOnClose` usages remain in the scoped files
Closes #1906
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor: replace deprecated Ant Design APIs [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #1908:
URL: https://github.com/apache/rocketmq-dashboard/pull/1908
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor: replace deprecated Ant Design APIs [rocketmq-dashboard]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on PR #1908:
URL: https://github.com/apache/rocketmq-dashboard/pull/1908#issuecomment-5267070353
@lizhimins This consolidated Ant Design compatibility PR is ready for review: the branch is CLEAN and Backend Build, Frontend Build, and Frontend Docker Build are all green. Together with #1966, it completes #1765; this PR carries the General Settings input migration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org