Skip to content

Commit

Permalink
feat: Update hew package to version 0.6.52 and change source to npm r…
Browse files Browse the repository at this point in the history
…egistry.
  • Loading branch information
thiagodallacqua-hpe committed Oct 21, 2024
1 parent b063426 commit fb38df4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
5 changes: 3 additions & 2 deletions webui/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webui/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 0 additions & 4 deletions webui/react/src/components/Searches/Searches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ const Searches: React.FC<Props> = ({ project }) => {
};

let dataPath: string | undefined = undefined;
const colType = currentColumn.type.replace('COLUMN_TYPE_', '').toLowerCase();
switch (currentColumn.location) {
case V1LocationType.EXPERIMENT:
dataPath = `experiment.${currentColumn.column}`;
Expand All @@ -678,7 +677,6 @@ const Searches: React.FC<Props> = ({ project }) => {
settings.columnWidths[currentColumn.column],
dataPath,
undefined,
colType,
);
break;
}
Expand All @@ -688,7 +686,6 @@ const Searches: React.FC<Props> = ({ project }) => {
currentColumn.displayName || currentColumn.column,
settings.columnWidths[currentColumn.column],
dataPath,
colType,
);
break;
case V1ColumnType.TEXT:
Expand All @@ -699,7 +696,6 @@ const Searches: React.FC<Props> = ({ project }) => {
currentColumn.displayName || currentColumn.column,
settings.columnWidths[currentColumn.column],
dataPath,
colType,
);
}
if (currentColumn.column === 'searcherMetricsVal') {
Expand Down
5 changes: 0 additions & 5 deletions webui/react/src/pages/F_ExpList/F_ExperimentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,6 @@ const F_ExperimentList: React.FC<Props> = ({ project }) => {
};

let dataPath: string | undefined = undefined;
const colType = currentColumn.type.replace('COLUMN_TYPE_', '').toLowerCase();
switch (currentColumn.location) {
case V1LocationType.EXPERIMENT:
dataPath = `experiment.${currentColumn.column}`;
Expand Down Expand Up @@ -829,7 +828,6 @@ const F_ExperimentList: React.FC<Props> = ({ project }) => {
max: heatmap.max,
min: heatmap.min,
},
colType,
);
} else {
columnDefs[currentColumn.column] = defaultNumberColumn(
Expand All @@ -840,7 +838,6 @@ const F_ExperimentList: React.FC<Props> = ({ project }) => {
MIN_COLUMN_WIDTH,
dataPath,
undefined,
colType,
);
}
break;
Expand All @@ -853,7 +850,6 @@ const F_ExperimentList: React.FC<Props> = ({ project }) => {
defaultColumnWidths[currentColumn.column as ExperimentColumn] ??
MIN_COLUMN_WIDTH,
dataPath,
colType,
);
break;
case V1ColumnType.TEXT:
Expand All @@ -866,7 +862,6 @@ const F_ExperimentList: React.FC<Props> = ({ project }) => {
defaultColumnWidths[currentColumn.column as ExperimentColumn] ??
MIN_COLUMN_WIDTH,
dataPath,
colType,
);
}
if (currentColumn.column === 'searcherMetricsVal') {
Expand Down
6 changes: 0 additions & 6 deletions webui/react/src/pages/FlatRuns/FlatRuns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
};

let dataPath: string | undefined = undefined;
const colType = columnName.split('_')[1];
switch (currentColumn.location) {
case V1LocationType.EXPERIMENT:
dataPath = `experiment.${currentColumn.column}`;
Expand Down Expand Up @@ -417,7 +416,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
max: heatmap.max,
min: heatmap.min,
},
colType,
);
} else {
columnDefs[currentColumn.column] = defaultNumberColumn(
Expand All @@ -428,7 +426,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
MIN_COLUMN_WIDTH,
dataPath,
undefined,
colType,
);
}
break;
Expand All @@ -441,7 +438,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
defaultColumnWidths[currentColumn.column as RunColumn] ??
MIN_COLUMN_WIDTH,
dataPath,
colType,
);
break;
case V1ColumnType.ARRAY:
Expand All @@ -452,7 +448,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
defaultColumnWidths[currentColumn.column as RunColumn] ??
MIN_COLUMN_WIDTH,
dataPath,
colType,
);
break;
case V1ColumnType.TEXT:
Expand All @@ -465,7 +460,6 @@ const FlatRuns: React.FC<Props> = ({ projectId, workspaceId, searchId }) => {
defaultColumnWidths[currentColumn.column as RunColumn] ??
MIN_COLUMN_WIDTH,
dataPath,
colType,
);
}
if (currentColumn.column === 'searcherMetricsVal') {
Expand Down

0 comments on commit fb38df4

Please sign in to comment.