Skip to content

Commit fcc0a2b

Browse files
committed
chore(webui): Upgrade Antd to 6.x and remove @ant-design/v5-patch-for-react-19 (resolves y-scope#1894).
1 parent dbc1799 commit fcc0a2b

File tree

6 files changed

+769
-854
lines changed

6 files changed

+769
-854
lines changed

components/webui/client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"license": "Apache-2.0",
1414
"type": "module",
1515
"dependencies": {
16-
"@ant-design/v5-patch-for-react-19": "^1.0.3",
1716
"@emotion/react": "^11.14.0",
1817
"@emotion/styled": "^11.14.1",
1918
"@monaco-editor/react": "^4.7.0",
@@ -22,7 +21,7 @@
2221
"@tanstack/react-query": "^5.90.19",
2322
"@tanstack/react-query-devtools": "^5.91.2",
2423
"@webui/common": "*",
25-
"antd": "^5.27.5",
24+
"antd": "^6.3.1",
2625
"antlr4": "^4.13.2",
2726
"axios": "^1.13.2",
2827
"chart.js": "^4.5.1",

components/webui/client/src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import queryClient from "./config/queryClient";
88
import router from "./router";
99
import THEME_CONFIG from "./theme";
1010

11-
import "@ant-design/v5-patch-for-react-19";
12-
1311

1412
/**
1513
* Renders Web UI app.

components/webui/client/src/pages/SearchPage/SearchControls/QueryStatus/QueryDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ const QueryDrawer = () => {
7474
{searchUiState === SEARCH_UI_STATE.FAILED && (
7575
<Alert
7676
description={errorMsg}
77-
message={errorName}
7877
showIcon={true}
78+
title={errorName}
7979
type={"error"}/>
8080
)}
8181
</div>

components/webui/client/src/pages/SearchPage/SearchState/useUpdateStateWithMetadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ const useUpdateStateWithMetadata = () => {
7474
description: errorMsg,
7575
duration: 15,
7676
key: `search-failed-${resultsMetadata._id}`,
77-
message: errorName,
7877
pauseOnHover: true,
7978
placement: "bottomRight",
8079
showProgress: true,
80+
title: errorName,
8181
});
8282
}
8383
break;

components/webui/client/src/theme.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const THEME_CONFIG: ThemeConfig = Object.freeze({
1010
colorPrimary: "#2a8efa",
1111
borderRadius: 3,
1212
},
13-
cssVar: true,
1413
hashed: false,
1514
});
1615

0 commit comments

Comments
 (0)