Skip to content

Commit

Permalink
Reorder the select boxes on evals so namespaces are first (#13866)
Browse files Browse the repository at this point in the history
* Reorder the select boxes on evals so namespaces are first

* Wrap evals buttons in a button-bar for consistent styling and spacing
  • Loading branch information
philrenaud committed Jul 20, 2022
1 parent 6468714 commit a0c6bb4
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions ui/app/templates/evaluations/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,36 @@
/>
</div>
<div class="toolbar-item is-right-aligned">
<SingleSelectDropdown
data-test-evaluation-status-facet
@label="Status"
@options={{this.optionsEvaluationsStatus}}
@selection={{this.status}}
@onSelect={{action this.setQueryParam "status"}}
/>
<SingleSelectDropdown
data-test-evaluation-triggered-by-facet
@label="Triggered By"
@options={{this.optionsTriggeredBy}}
@selection={{this.triggeredBy}}
@onSelect={{action this.setQueryParam "triggeredBy"}}
/>
<SingleSelectDropdown
data-test-evaluation-type-facet
@label="Type"
@options={{this.optionsType}}
@selection={{this.type}}
@onSelect={{action this.setQueryParam "type"}}
/>
<SingleSelectDropdown
data-test-evaluation-namespace-facet
@label="Namespace"
@options={{this.optionsNamespaces}}
@selection={{this.qpNamespace}}
@onSelect={{action this.setQueryParam "qpNamespace"}}
/>
<div class="button-bar">
<SingleSelectDropdown
data-test-evaluation-namespace-facet
@label="Namespace"
@options={{this.optionsNamespaces}}
@selection={{this.qpNamespace}}
@onSelect={{action this.setQueryParam "qpNamespace"}}
/>
<SingleSelectDropdown
data-test-evaluation-status-facet
@label="Status"
@options={{this.optionsEvaluationsStatus}}
@selection={{this.status}}
@onSelect={{action this.setQueryParam "status"}}
/>
<SingleSelectDropdown
data-test-evaluation-triggered-by-facet
@label="Triggered By"
@options={{this.optionsTriggeredBy}}
@selection={{this.triggeredBy}}
@onSelect={{action this.setQueryParam "triggeredBy"}}
/>
<SingleSelectDropdown
data-test-evaluation-type-facet
@label="Type"
@options={{this.optionsType}}
@selection={{this.type}}
@onSelect={{action this.setQueryParam "type"}}
/>
</div>
</div>
</div>
<div class="table-container">
Expand Down

0 comments on commit a0c6bb4

Please sign in to comment.