Skip to content

Commit

Permalink
Increase sample polling interval from 2s to 5s and move investigatorS…
Browse files Browse the repository at this point in the history
…ampleId column to the front
  • Loading branch information
qu8n authored and ao508 committed Sep 30, 2024
1 parent 611d453 commit 833dff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/SamplesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { useParams } from "react-router-dom";
import { DataName } from "../shared/types";
import { parseUserSearchVal } from "../utils/parseSearchQueries";

const POLLING_INTERVAL = 2000;
const POLLING_INTERVAL = 5000; // 5s
const MAX_ROWS_TABLE = 500;
const MAX_ROWS_EXPORT = 5000;
const MAX_ROWS_SCROLLED_ALERT =
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/shared/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ export const WesSampleDetailsColumns: ColDef[] = [
field: "cmoSampleName",
headerName: "CMO Sample Name",
},
{
field: "investigatorSampleId",
headerName: "Investigator Sample ID",
},
{
field: "initialPipelineRunDate",
headerName: "Initial Pipeline Run Date",
Expand Down Expand Up @@ -783,10 +787,6 @@ export const WesSampleDetailsColumns: ColDef[] = [
field: "cancerTypeDetailed",
headerName: "Cancer Type Detailed",
},
{
field: "investigatorSampleId",
headerName: "Investigator Sample ID",
},
];

export const ReadOnlyCohortSampleDetailsColumns = _.cloneDeep(
Expand Down

0 comments on commit 833dff8

Please sign in to comment.