-
Notifications
You must be signed in to change notification settings - Fork 91
ENG-3435: Clean up antd v6 deprecated prop warnings #7936
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| type: Fixed | ||
| description: Cleaned up Ant Design v6 deprecated prop warnings in the browser console across the Admin UI | ||
| pr: 7936 | ||
| labels: [] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -294,11 +294,11 @@ export const DatamapReportTable = ({ | |
| }, | ||
| ], | ||
| }} | ||
| overlayClassName="group-by-menu-list" | ||
| classNames={{ root: "group-by-menu-list" }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The Cypress helper Please verify in a running browser instance that:
The same applies to the |
||
| > | ||
| <Button | ||
| icon={<Icons.ChevronDown size={14} />} | ||
| iconPosition="end" | ||
| iconPlacement="end" | ||
| loading={groupChangeStarted} | ||
| data-testid="group-by-menu" | ||
| > | ||
|
|
@@ -335,7 +335,7 @@ export const DatamapReportTable = ({ | |
| ], | ||
| }} | ||
| placement="bottomRight" | ||
| overlayClassName="more-menu-list" | ||
| classNames={{ root: "more-menu-list" }} | ||
| > | ||
| <Button | ||
| icon={<Icons.OverflowMenuVertical />} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clients/admin-ui/src/features/chat-provider/ChatConfigurations.tsx:43orientationis not a prop on antd v6'sSpacecomponent. TheSpacecomponent usesdirectionin antd v5 and v6 —orientationis a prop onDividerandSteps, notSpace.If
Spacedoes not acceptorientation, the layout will silently revert to horizontal (the default), breaking all vertical stacked layouts. This affects ~40 files in this PR.Please verify against the antd v6.x
SpacePropstype definition before merging. Ifdirectionis still valid onSpacein v6 (with or without a deprecation warning), these changes are incorrect and should be reverted.