diff --git a/src/pages/ProcessGroups/views/ProcessGroup.tsx b/src/pages/ProcessGroups/views/ProcessGroup.tsx index 8cb598d89..07931d82e 100644 --- a/src/pages/ProcessGroups/views/ProcessGroup.tsx +++ b/src/pages/ProcessGroups/views/ProcessGroup.tsx @@ -136,7 +136,8 @@ const ProcessGroup = function () { rows={processResults} customCells={{ linkCell: CustomProcessCells.linkCell, - linkCellSite: CustomProcessCells.linkCellSite + linkCellSite: CustomProcessCells.linkCellSite, + TimestampCell: CustomProcessCells.TimestampCell }} /> )} diff --git a/src/pages/Processes/Processes.constants.ts b/src/pages/Processes/Processes.constants.ts index 1bb303dd2..ab3c285f2 100644 --- a/src/pages/Processes/Processes.constants.ts +++ b/src/pages/Processes/Processes.constants.ts @@ -57,7 +57,7 @@ export const CustomProcessCells = { HighlightValueCell({ ...props, format: formatBytes }), ByteRateFormatCell: (props: HighlightValueCellProps) => HighlightValueCell({ ...props, format: formatByteRate }), - ProcessTimestampCell: (props: LinkCellProps) => EndTimeCell(props) + TimestampCell: (props: LinkCellProps) => EndTimeCell(props) }; export const processesTableColumns: SKColumn[] = [ @@ -79,7 +79,7 @@ export const processesTableColumns: SKColumn[] = [ { name: ProcessesLabels.Created, prop: 'startTime' as keyof ProcessResponse, - customCellName: 'ProcessTimestampCell', + customCellName: 'TimestampCell', width: 15 } ]; diff --git a/src/pages/Sites/Sites.constants.ts b/src/pages/Sites/Sites.constants.ts index d23464d15..70ec8552d 100644 --- a/src/pages/Sites/Sites.constants.ts +++ b/src/pages/Sites/Sites.constants.ts @@ -31,7 +31,7 @@ export const siteColumns: SKColumn[] = [ { name: SiteLabels.Created, prop: 'startTime' as keyof SiteResponse, - customCellName: 'ProcessTimestampCell', + customCellName: 'TimestampCell', width: 15 } ]; diff --git a/src/pages/Sites/views/Sites.tsx b/src/pages/Sites/views/Sites.tsx index 0ed854136..2f8f4793e 100644 --- a/src/pages/Sites/views/Sites.tsx +++ b/src/pages/Sites/views/Sites.tsx @@ -33,7 +33,7 @@ const Sites = function () { rows={sites} paginationPageSize={BIG_PAGINATION_SIZE} customCells={{ - ProcessTimestampCell: (props: LinkCellProps) => EndTimeCell(props), + TimestampCell: (props: LinkCellProps) => EndTimeCell(props), LinkCell: (props: LinkCellProps) => LinkCell({ ...props, diff --git a/src/pages/shared/FlowPairs/FlowPair.constants.ts b/src/pages/shared/FlowPairs/FlowPair.constants.ts index fc74ba53e..562b7e23c 100644 --- a/src/pages/shared/FlowPairs/FlowPair.constants.ts +++ b/src/pages/shared/FlowPairs/FlowPair.constants.ts @@ -38,7 +38,7 @@ export const flowPairsComponentsTable = { type: 'process', link: `${ProcessesRoutesPaths.Processes}/${props.data.counterFlow.processName}@${props.data.counterFlow.process}` }), - ProcessTimestampCell: (props: LinkCellProps) => EndTimeCell(props), + TimestampCell: (props: LinkCellProps) => EndTimeCell(props), TcpTTFB: (props: LinkCellProps) => formatLatency(props.data.counterFlow.latency + props.data.forwardFlow.latency), DurationCell: (props: LinkCellProps) => @@ -54,7 +54,7 @@ export const tcpFlowPairsColumns: SKColumn[] = [ { name: FlowPairLabels.FlowPairClosed, prop: 'endTime' as keyof FlowPairsResponse, - customCellName: 'ProcessTimestampCell', + customCellName: 'TimestampCell', width: 15 }, { @@ -121,7 +121,7 @@ export const httpFlowPairsColumns: SKColumn[] = [ { name: FlowPairLabels.Completed, prop: 'endTime' as keyof FlowPairsResponse, - customCellName: 'ProcessTimestampCell', + customCellName: 'TimestampCell', width: 15 }, { diff --git a/src/pages/shared/Metrics/__tests__/__snapshots__/Metrics.spec.tsx.snap b/src/pages/shared/Metrics/__tests__/__snapshots__/Metrics.spec.tsx.snap index 1d76d8610..8887fdb19 100644 --- a/src/pages/shared/Metrics/__tests__/__snapshots__/Metrics.spec.tsx.snap +++ b/src/pages/shared/Metrics/__tests__/__snapshots__/Metrics.spec.tsx.snap @@ -566,7 +566,33 @@ exports[`Metrics Component renders correctly 1`] = `
- Latencies + Latencies +
+ +
@@ -592,7 +618,7 @@ exports[`Metrics Component renders correctly 1`] = `