Skip to content

Commit

Permalink
Merge pull request #19013 from jeclrsg/hpcc-32425-files-copy-to-clipb…
Browse files Browse the repository at this point in the history
…oard

HPCC-32425 ECL Watch v9 copy to clipboard missing columns

Reviewed-by: Gordon Smith <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Aug 21, 2024
2 parents 44f7563 + a4cc067 commit 9723ed0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
7 changes: 6 additions & 1 deletion esp/src/src-react/components/Files.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export const Files: React.FunctionComponent<FilesProps> = ({
}
return "";
},
field: nlsHPCC.Protected,
},
IsCompressed: {
headerIcon: "ZipFolder",
Expand All @@ -168,6 +169,7 @@ export const Files: React.FunctionComponent<FilesProps> = ({
}
return "";
},
field: nlsHPCC.Compressed,
},
Name: {
label: nlsHPCC.LogicalName,
Expand All @@ -194,18 +196,21 @@ export const Files: React.FunctionComponent<FilesProps> = ({
formatter: (value, row) => {
return Utility.formatNum(row.IntRecordCount);
},
csvFormatter: (value, row) => row.IntRecordCount,
},
FileSize: {
label: nlsHPCC.Size,
formatter: (value, row) => {
return Utility.convertedSize(row.IntSize);
},
csvFormatter: (value, row) => row.IntSize,
},
CompressedFileSizeString: {
label: nlsHPCC.CompressedSize,
formatter: (value, row) => {
return Utility.convertedSize(row.CompressedFileSize);
}
},
csvFormatter: (value, row) => row.CompressedFileSize,
},
Parts: {
label: nlsHPCC.Parts, width: 40,
Expand Down
11 changes: 7 additions & 4 deletions esp/src/src-react/components/Queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ export const Queries: React.FunctionComponent<QueriesProps> = ({
return <Icon iconName="Pause" />;
}
return "";
}
},
field: nlsHPCC.Suspended,
},
ErrorCount: {
headerIcon: "Warning",
Expand All @@ -124,7 +125,8 @@ export const Queries: React.FunctionComponent<QueriesProps> = ({
return <Icon iconName="Warning" />;
}
return "";
}
},
field: nlsHPCC.ErrorWarnings,
},
MixedNodeStates: {
headerIcon: "Error",
Expand All @@ -136,7 +138,7 @@ export const Queries: React.FunctionComponent<QueriesProps> = ({
return <Icon iconName="Error" />;
}
return "";
}
},
},
Activated: {
headerIcon: "SkypeCircleCheck",
Expand All @@ -147,7 +149,8 @@ export const Queries: React.FunctionComponent<QueriesProps> = ({
return <Icon iconName="SkypeCircleCheck" />;
}
return "";
}
},
field: nlsHPCC.Active,
},
Id: {
label: nlsHPCC.ID,
Expand Down
18 changes: 8 additions & 10 deletions esp/src/src-react/components/Workunits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export const Workunits: React.FunctionComponent<WorkunitsProps> = ({
return <Icon iconName="LockSolid" />;
}
return "";
}
},
field: nlsHPCC.Protected,
},
Wuid: {
label: nlsHPCC.WUID, width: 120,
Expand All @@ -143,23 +144,20 @@ export const Workunits: React.FunctionComponent<WorkunitsProps> = ({
"Compile Cost": {
label: nlsHPCC.CompileCost, width: 100,
justify: "right",
formatter: (cost, row) => {
return `${formatCost(row.CompileCost)}`;
}
formatter: (cost, row) => `${formatCost(row.CompileCost)}`,
csvFormatter: (cost, row) => row.CompileCost,
},
"Execution Cost": {
label: nlsHPCC.ExecuteCost, width: 100,
justify: "right",
formatter: (cost, row) => {
return `${formatCost(row.ExecuteCost)}`;
}
formatter: (cost, row) => `${formatCost(row.ExecuteCost)}`,
csvFormatter: (cost, row) => row.ExecuteCost,
},
"File Access Cost": {
label: nlsHPCC.FileAccessCost, width: 100,
justify: "right",
formatter: (cost, row) => {
return `${formatCost(row.FileAccessCost)}`;
}
formatter: (cost, row) => `${formatCost(row.FileAccessCost)}`,
csvFormatter: (cost, row) => row.FileAccessCost,
}
};
}, [filter]);
Expand Down

0 comments on commit 9723ed0

Please sign in to comment.