Skip to content

Commit e4c5177

Browse files
authored
fixes (#326)
* fixes StatusFilterOperators fixed duplicates TestRunList fixed tags BuildList fixed style * TestDetailsModal style fixed
1 parent 7add252 commit e4c5177

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

src/components/BuildList/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const useStyles = makeStyles(() =>
4444
visibility: "hidden",
4545
},
4646
listItem: {
47+
paddingRight: 48,
4748
"&:hover $listItemSecondaryAction": {
4849
visibility: "inherit",
4950
},

src/components/TestDetailsDialog/TestDetailsModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const useStyles = makeStyles(() => ({
5959
textAlign: "left",
6060
background: "#efefef",
6161
paddingLeft: 8,
62+
paddingBottom: 8,
6263
},
6364
footer: {
6465
background: "#efefef",
@@ -465,6 +466,7 @@ const TestDetailsModal: React.FunctionComponent<TestDetailsModalProps> = ({
465466
const baselinePanel = () => (
466467
<Grid
467468
item
469+
xs={6}
468470
ref={leftItemRef}
469471
className={classes.drawAreaItem}
470472
alignItems="stretch"

src/components/TestRunList/StatusFilterOperators.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const StatusInputComponent = ({ item, applyValue }: GridFilterInputValueProps) =
2626
});
2727
};
2828

29-
const filterOptions: TestStatus[] = testRuns.map((item: TestRun) => item.status);
29+
const filterOptions: Array<TestStatus> = Array.from(
30+
new Set(testRuns.map((item) => item.status)),
31+
);
3032

3133
return (
3234
<FormControl variant="standard" fullWidth>

src/components/TestRunList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const columnsDef: GridColDef[] = [
5757
},
5858
renderCell: (params: GridCellParams) => (
5959
<React.Fragment>
60-
{params.row["tags"]
60+
{params.formattedValue
6161
?.toString()
6262
.split(";")
6363
.map(

0 commit comments

Comments
 (0)