Commit Graph

162 Commits

Author SHA1 Message Date
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
23729ad5a7 Address the copy/copyable deprecation 2019-04-10 14:54:35 -07:00
Michael Lange
738ceda8f2 Improve the search box component to make it fluid and iconed 2019-04-10 10:34:10 -05:00
Michael Lange
bff6039dca Always left-align the dropdown position to the trigger 2019-04-10 10:34:10 -05:00
Michael Lange
b4a921f511 Tab and keyboard navigation for multi-select 2019-04-10 10:34:10 -05:00
Michael Lange
32f815dc51 Round out the freestyle entry 2019-04-10 10:34:10 -05:00
Michael Lange
eae97d992c Persistence and onSelect handler for the multi-select-dropdown 2019-04-10 10:34:10 -05:00
Michael Lange
384ad49504 Freestyle entry for the new multi-select-dropdown component 2019-04-10 10:34:10 -05:00
Michael Lange
25a29cb4ee Conditionally show utilization metrics on alloc and task rows 2018-12-13 07:53:17 -08:00
Michael Lange
104be1cad6 Grow the default 0 to 1 bounds to the domain of the data when necessary 2018-12-05 22:07:44 -08:00
Michael Lange
5aef27ccd8 Guard against the element already being destroyed
Since DOM code is in a run.next, it's possible that between the DOM
code being queued and running the element is destroyed. So the DOM
code needs to guard against this using the isDestroyed API.
2018-11-02 17:08:02 -07:00
Michael Lange
badb6c42d0 Add onChange hook to the search-box component 2018-10-30 10:50:24 -07:00
Michael Lange
f02d99a2c0 Merge pull request #4718 from hashicorp/f-ui-a11y-line-chart
UI: Add some simple accessibility labels for line charts
2018-10-17 09:43:27 -07:00
Michael Lange
3517c7c569 Be consistent with "time series" instead of "time-series" 2018-10-17 07:37:45 -07:00
Michael Lange
6d4d520095 Override the a11y title and description for the stats time series chart
Since this is a use case specific chart, we can use use case specific
language in our labels.
2018-09-27 12:55:52 -07:00
Michael Lange
d83d2314de Add a11y features to the line-chart component
- Treat it as an image
- Add a title and a description
- Hide the axes, just in case
2018-09-27 12:55:52 -07:00
Michael Lange
1e34a6ac72 Add utilization stats to the task rows on allocation detail 2018-09-26 10:59:26 -07:00
Michael Lange
65336ccd96 Use the StatsTracker method of getting alloc stats in alloc row 2018-09-26 10:59:26 -07:00
Michael Lange
866f650de8 Acceptance test coverage for all the pages with resource utilization graphs 2018-09-19 16:33:51 -07:00
Michael Lange
28d8f797e6 Handle the empty data cases 2018-09-19 16:32:53 -07:00
Michael Lange
8de545c1b7 Add cancelation support to stats trackers 2018-09-17 16:59:09 -07:00
Michael Lange
cf57ddc89e Gap support for line charts 2018-09-17 16:58:56 -07:00
Michael Lange
f0208c0a24 Add request throttling to the abstract stats tracker
This is the best of three options

1. Users of stats trackers control polling (old method)
2. Stat tracker is stateful and has start/stop methods (like logging)
3. Stat trackers blindly throttle requests

This is the best option because it means N number of concurrent users of
a stats tracker can request polling without inundating the tracker with
redundant frames (or the network with redundant requests), but they also
don't have to coordinate amongst themselves to determine what state a
tracker should be in.
2018-09-17 15:58:28 -07:00
Michael Lange
670b246f4c Use the new stats tracker service to get stats trackers in primary metric 2018-09-17 15:57:58 -07:00
Michael Lange
58349199c6 Style the primary-metric pattern 2018-09-14 10:20:33 -07:00
Michael Lange
79c8667072 Handle the length = 0 and length = 1 cases for activeDatum 2018-09-14 10:19:35 -07:00
Michael Lange
48910d8334 New primary-metric component
It encapsulates all the tracker, polling, and markup for this style
of metric.
2018-09-13 17:01:24 -07:00
Michael Lange
48d0220561 Use percent for the y-axis binding 2018-09-13 17:01:24 -07:00
Michael Lange
40861aaae3 Unit test coverage for the line chart component 2018-09-13 16:45:56 -07:00
Michael Lange
fd80df66a5 Split the line-chart and stats-time-series freestyle entries 2018-09-13 16:45:56 -07:00
Michael Lange
a3e858e27e Updates to the styleguide 2018-09-13 16:45:56 -07:00
Michael Lange
4b67b7668c Use "global" gradients via a clipping mask and a rect w/100% height 2018-09-13 16:45:54 -07:00
Michael Lange
b84d75597d Avoid race conditions around showing and hiding the line chart tooltip 2018-09-13 16:45:13 -07:00
Michael Lange
0d7c22ff08 Stats time series
A use-case specific line-chart for showing utilization metrics by
percent
2018-09-13 16:45:13 -07:00
Michael Lange
bb40cb029b Don't round numbers when the domain is between 0 and 1 2018-09-13 16:45:13 -07:00
Michael Lange
5e09491bab Styleguide entry for the line chart component 2018-09-13 16:45:13 -07:00
Michael Lange
48df4d2d29 New line chart component 2018-09-13 16:45:08 -07:00
Michael Lange
334358ad24 Merge pull request #4615 from hashicorp/f-ui-restart-stopped-job
UI: Restart stopped job
2018-08-30 09:49:14 -07:00
Michael Lange
d824b70cee Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
f4ceb2264c Fix the flickering issue with start/stop job
When the server doesn't respond immediately, there is a visible window
of time between the action being submitted and the blocking query coming
back with the new job status.
2018-08-28 11:27:00 -07:00
Michael Lange
f79f037096 Add a confirmation loading state to the two-step-button component 2018-08-28 11:27:00 -07:00
Michael Lange
f09e9a41bc Switch stop/run job actions to EC tasks 2018-08-28 11:27:00 -07:00
Michael Lange
619376c3b8 Add Start Job action on the job overview page for when a job is dead 2018-08-28 11:27:00 -07:00
Michael Lange
c510060c12 Change the latest deployment component to include a Promote Canary button
Before it would say the deployment required promotion, now it has a
button that triggers the promotion.
2018-08-24 16:41:47 -07:00
Michael Lange
85aaa53fd5 Simplify the data control flow around job.plan() 2018-08-23 15:40:42 -07:00
Michael Lange
6463efe2ce Test coverage for the job-editor component
Most of this was ported over from the existing job run acceptance tests
2018-08-23 09:00:14 -07:00
Michael Lange
d36270b0dd fixup-job-editor 2018-08-21 16:43:46 -07:00
Michael Lange
cdc37ec36c Support different contexts for the job editor 2018-08-21 16:41:05 -07:00
Michael Lange
a2c12b91e3 Move the bulk of the new job page into a new job editor component 2018-08-21 12:07:45 -07:00
Michael Lange
9b7b465a66 Show the scheduler dry-run output on the plan page 2018-08-20 16:44:37 -07:00