diff --git a/src/components/RunList/index.tsx b/src/components/RunList/index.tsx index 7b81bee..6859aa3 100644 --- a/src/components/RunList/index.tsx +++ b/src/components/RunList/index.tsx @@ -138,9 +138,14 @@ const _columns: MRT_ColumnDef[] = [ maxSize: 70, }, { + id: "flavors", accessorKey: "flavor", header: "flavor", - maxSize: 20, + maxSize: 25, + Cell: ({ row }) => { + if (!row.original.flavor) return "-"; + return row.original.flavor; + }, }, { accessorKey: "machine_type", @@ -398,7 +403,7 @@ type FilterMenuProps = { const FILTER_SECTIONS = ["run", "build", "result"] const FILTER_SECTIONS_COLUMNS = [ ["scheduled", "suite", "machine_type", "user"], - ["branch", "sha1"], + ["branch", "sha1", "flavors"], ["status"], ] diff --git a/src/pages/Runs/index.tsx b/src/pages/Runs/index.tsx index ffe298b..db20fa7 100644 --- a/src/pages/Runs/index.tsx +++ b/src/pages/Runs/index.tsx @@ -15,6 +15,7 @@ export default function Runs() { status: StringParam, suite: StringParam, user: StringParam, + flavors: StringParam, }, { removeDefaultsFromUrl: true, updateType: "push",