diff --git a/webui/react/package-lock.json b/webui/react/package-lock.json index e9933e80a140..44286bc62bf0 100644 --- a/webui/react/package-lock.json +++ b/webui/react/package-lock.json @@ -18,7 +18,7 @@ "fp-ts": "^2.16.5", "fuse.js": "^7.0.0", "hermes-parallel-coordinates": "^0.6.17", - "hew": "github:determined-ai/hew#thiago/ET-791", + "hew": "npm:@hpe.com/hew@^0.6.50", "humanize-duration": "^3.28.0", "immutable": "^4.3.0", "io-ts": "^2.2.21", @@ -7793,7 +7793,8 @@ "node_modules/hew": { "name": "@hpe.com/hew", "version": "0.6.52", - "resolved": "git+ssh://git@github.com/determined-ai/hew.git#95a8cd475fa0a1446a4ec57a70dd220df0920b1e", + "resolved": "https://registry.npmjs.org/@hpe.com/hew/-/hew-0.6.52.tgz", + "integrity": "sha512-IPKOSR0KvcWAiMuRlWM0/RwpRta/98jaUAR6CeDvRejsq5WNO6gyQdG37X/gr0WBKIeKAr3nxFoBCXke45l4ug==", "dependencies": { "@ant-design/icons": "^5.0.1", "@codemirror/lang-json": "^6.0.1", diff --git a/webui/react/package.json b/webui/react/package.json index 8e4506fd22b4..e190e2c6f712 100644 --- a/webui/react/package.json +++ b/webui/react/package.json @@ -42,7 +42,7 @@ "fp-ts": "^2.16.5", "fuse.js": "^7.0.0", "hermes-parallel-coordinates": "^0.6.17", - "hew": "github:determined-ai/hew#thiago/ET-791", + "hew": "npm:@hpe.com/hew@^0.6.50", "humanize-duration": "^3.28.0", "immutable": "^4.3.0", "io-ts": "^2.2.21", diff --git a/webui/react/src/components/Searches/Searches.tsx b/webui/react/src/components/Searches/Searches.tsx index 6b643648596a..aa7dc13d7dd7 100644 --- a/webui/react/src/components/Searches/Searches.tsx +++ b/webui/react/src/components/Searches/Searches.tsx @@ -661,7 +661,6 @@ const Searches: React.FC = ({ project }) => { }; let dataPath: string | undefined = undefined; - const colType = currentColumn.type.replace('COLUMN_TYPE_', '').toLowerCase(); switch (currentColumn.location) { case V1LocationType.EXPERIMENT: dataPath = `experiment.${currentColumn.column}`; @@ -678,7 +677,6 @@ const Searches: React.FC = ({ project }) => { settings.columnWidths[currentColumn.column], dataPath, undefined, - colType, ); break; } @@ -688,7 +686,6 @@ const Searches: React.FC = ({ project }) => { currentColumn.displayName || currentColumn.column, settings.columnWidths[currentColumn.column], dataPath, - colType, ); break; case V1ColumnType.TEXT: @@ -699,7 +696,6 @@ const Searches: React.FC = ({ project }) => { currentColumn.displayName || currentColumn.column, settings.columnWidths[currentColumn.column], dataPath, - colType, ); } if (currentColumn.column === 'searcherMetricsVal') { diff --git a/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx b/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx index 209dc84282cc..6c7b45874759 100644 --- a/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx +++ b/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx @@ -783,7 +783,6 @@ const F_ExperimentList: React.FC = ({ project }) => { }; let dataPath: string | undefined = undefined; - const colType = currentColumn.type.replace('COLUMN_TYPE_', '').toLowerCase(); switch (currentColumn.location) { case V1LocationType.EXPERIMENT: dataPath = `experiment.${currentColumn.column}`; @@ -829,7 +828,6 @@ const F_ExperimentList: React.FC = ({ project }) => { max: heatmap.max, min: heatmap.min, }, - colType, ); } else { columnDefs[currentColumn.column] = defaultNumberColumn( @@ -840,7 +838,6 @@ const F_ExperimentList: React.FC = ({ project }) => { MIN_COLUMN_WIDTH, dataPath, undefined, - colType, ); } break; @@ -853,7 +850,6 @@ const F_ExperimentList: React.FC = ({ project }) => { defaultColumnWidths[currentColumn.column as ExperimentColumn] ?? MIN_COLUMN_WIDTH, dataPath, - colType, ); break; case V1ColumnType.TEXT: @@ -866,7 +862,6 @@ const F_ExperimentList: React.FC = ({ project }) => { defaultColumnWidths[currentColumn.column as ExperimentColumn] ?? MIN_COLUMN_WIDTH, dataPath, - colType, ); } if (currentColumn.column === 'searcherMetricsVal') { diff --git a/webui/react/src/pages/FlatRuns/FlatRuns.tsx b/webui/react/src/pages/FlatRuns/FlatRuns.tsx index b14363ec67b6..54a749885447 100644 --- a/webui/react/src/pages/FlatRuns/FlatRuns.tsx +++ b/webui/react/src/pages/FlatRuns/FlatRuns.tsx @@ -365,7 +365,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { }; let dataPath: string | undefined = undefined; - const colType = columnName.split('_')[1]; switch (currentColumn.location) { case V1LocationType.EXPERIMENT: dataPath = `experiment.${currentColumn.column}`; @@ -417,7 +416,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { max: heatmap.max, min: heatmap.min, }, - colType, ); } else { columnDefs[currentColumn.column] = defaultNumberColumn( @@ -428,7 +426,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { MIN_COLUMN_WIDTH, dataPath, undefined, - colType, ); } break; @@ -441,7 +438,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { defaultColumnWidths[currentColumn.column as RunColumn] ?? MIN_COLUMN_WIDTH, dataPath, - colType, ); break; case V1ColumnType.ARRAY: @@ -452,7 +448,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { defaultColumnWidths[currentColumn.column as RunColumn] ?? MIN_COLUMN_WIDTH, dataPath, - colType, ); break; case V1ColumnType.TEXT: @@ -465,7 +460,6 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { defaultColumnWidths[currentColumn.column as RunColumn] ?? MIN_COLUMN_WIDTH, dataPath, - colType, ); } if (currentColumn.column === 'searcherMetricsVal') {