81c59489f3
This adds a new UI for searching and filtering through tests in a timeline. A new dropdown for filter options is added to the timeline panel header, where users can query and select tests based on name and metadata (pass/fail/skip). A list of results is displayed which can be selected from directly, but results are also highlighted on the timeline directly. Some rearchitecting of the HTML layout for the timeline directive was needed to allow part of the timeline to be inside a panel header, so the entire panel layout was moved inside the timeline directive. A new `filterFunction` field was added to the main timeline controller to support communicating the filtering parameters to other components of the timeline. Additionally, a new `contextClass` filter was added to avoid excessive code duplication for highlighting element color based on test status - existing uses were replaced with this. Change-Id: I5f35091ab2b605e0821125e79de47c4c6067f644
29 lines
551 B
SCSS
29 lines
551 B
SCSS
timeline-search {
|
|
display: inline-block;
|
|
|
|
.popover {
|
|
max-width: 500px;
|
|
|
|
.timeline-search-popover {
|
|
width: 300px;
|
|
.input-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.status-group label {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.jump-group li {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jump-group ul {
|
|
max-height: 20em;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|