Skip to content

Commit 9c01135

Browse files
committed
Add more filters
1 parent 28de42d commit 9c01135

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

client/src/pages/submission-summary/table/SummaryTable.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,20 @@ export default function Table({ apiKey }: { apiKey?: string | number }) {
361361
sx={{ gap: 1, alignItems: "center", minWidth: "max-content" }}
362362
direction="row"
363363
>
364-
{[
365-
{ label: "Valid", key: "valid" },
366-
{ label: "Invalid", key: "invalid" },
367-
{ label: "Duplicate", key: "outdated" },
368-
{ label: "All", key: "total" },
369-
].map(({ label, key }) => {
364+
{(
365+
[
366+
{ label: "Valid", key: "valid" },
367+
{ label: "Invalid", key: "invalid" },
368+
{ label: "Duplicate", key: "outdated" },
369+
{ label: "Solution tie", key: "tie" },
370+
{ label: "Solution dominated", key: "dominated" },
371+
{ label: "Best solution", key: "best" },
372+
{ label: "Lower-bound tie", key: "lb_tie" },
373+
{ label: "Lower-bound dominated", key: "lb_dominated" },
374+
{ label: "Best lower-bound", key: "lb_best" },
375+
{ label: "All", key: "total" },
376+
] satisfies { label: string; key: keyof SummarySlice }[]
377+
).map(({ label, key }) => {
370378
const selected = key === slice;
371379
return (
372380
<Chip

0 commit comments

Comments
 (0)