5cd7e924fe
* init dropdown * add dropdown to storybook * move http requests components into container * add event handler for selecting new time window * no need for this. in the template * filter bar chart and table * add bar chart transitions * handle Last 12 Months in dropdown * don't use fake data * start tests * add jsdoc and notes for storybook * add container to storybook * compute filteredCounters when counters change * move static dropdown options to template * add tests * style the dropdown * use this.elementId * fix linting errors * use ember array extensions * use fillIn instead of page object and make dom assertions consistent * calculate the correct percent change between months * use data-test selector instead of id * show plus or minus next to percent change
1,004 B
1,004 B
HttpRequestsDropdown
HttpRequestsDropdown components are used to render a dropdown that filters the HttpRequestsBarChart.
Param | Type | Default | Description |
---|---|---|---|
counters | Array |
|
A list of objects containing the total number of HTTP Requests for each month. counters should be the response from the /internal/counters/requests endpoint. |
Example
<HttpRequestsDropdown @counters={counters} />
See