Skip to content

Commit

Permalink
Allow-the-ability-to-sort-Experiments-by-last-run-creation-#10884
Browse files Browse the repository at this point in the history
Signed-off-by: Elay Aharoni (EXT-Nokia) <[email protected]>
  • Loading branch information
Elay Aharoni (EXT-Nokia) committed Sep 3, 2024
1 parent 0f664da commit 9686eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/Apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ export enum ExperimentSortKeys {
CREATED_AT = 'created_at',
ID = 'id',
NAME = 'name',
LAST_RUN_CREATED_AT = 'last_run_created_at',
}

// Valid sortKeys as specified by the backend.
Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/ExperimentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export class ExperimentList extends Page<{ namespace?: string }, ExperimentListS
customRenderer: this._last5RunsCustomRenderer,
flex: 1,
label: 'Last 5 runs',
sortKey: ExperimentSortKeys.LAST_RUN_CREATED_AT,
},
];

Expand Down

0 comments on commit 9686eaf

Please sign in to comment.