Skip to content

Commit 22937f9

Browse files
authored
Cleanup the /intermittent-failures/main table. (#8938)
1 parent e731c85 commit 22937f9

File tree

5 files changed

+166
-150
lines changed

5 files changed

+166
-150
lines changed

ui/css/intermittent-failures.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,6 @@ h1,
1616
margin-bottom: 7px;
1717
}
1818

19-
.bug-column-header {
20-
margin-left: 10px;
21-
}
22-
23-
.bug-column {
24-
margin-left: 5px;
25-
}
26-
27-
.bug-column .bug-details {
28-
display: none;
29-
}
30-
31-
.bug-column:hover .bug-details,
32-
.bug-column:focus-within .bug-details {
33-
display: initial;
34-
}
35-
3619
/* Graph Alternate View - Table */
3720
.alternate-table {
3821
max-width: 660px;

ui/intermittent-failures/BugColumn.jsx

Lines changed: 0 additions & 71 deletions
This file was deleted.

ui/intermittent-failures/BugDetailsView.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ BugDetailsView.propTypes = {
329329
hash: PropTypes.string,
330330
}).isRequired,
331331
tree: PropTypes.string.isRequired,
332-
updateAppState: PropTypes.func,
333332
updateState: PropTypes.func.isRequired,
334333
updateHash: PropTypes.func.isRequired,
335334
startday: PropTypes.string.isRequired,
@@ -380,7 +379,6 @@ BugDetailsView.defaultProps = {
380379
errorMessages: [],
381380
tableFailureStatus: null,
382381
graphFailureStatus: null,
383-
updateAppState: null,
384382
uniqueLines: [],
385383
uniqueFrequency: {},
386384
};

ui/intermittent-failures/Layout.jsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const Layout = (props) => {
2828
table,
2929
datePicker,
3030
header,
31+
location,
3132
} = props;
3233

3334
let failureMessage = null;
@@ -37,7 +38,14 @@ const Layout = (props) => {
3738
failureMessage = graphData;
3839
}
3940
return (
40-
<Container fluid className="my-5 max-width-default">
41+
<Container
42+
fluid
43+
className={`my-5 ${
44+
location && location.pathname !== '/intermittent-failures/main'
45+
? 'max-width-default'
46+
: ''
47+
}`}
48+
>
4149
<Navigation
4250
updateState={updateState}
4351
updateHash={updateHash}

0 commit comments

Comments
 (0)