Commit Graph

187 Commits

Author SHA1 Message Date
Michael Lange
5801b79b81 Show the correct template for parameterized job children 2018-11-07 21:04:27 -08:00
Michael Lange
b00916ac17 Test coverage for resetPagination 2018-10-30 14:17:23 -07:00
Michael Lange
3c75bd49eb Merge pull request #4727 from hashicorp/f-ui-improved-stats-charts
UI: Improved stats charts
2018-10-17 10:55:54 -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
2c20678d8b Add role="tooltip" to tooltips throughout the app 2018-10-17 07:17:24 -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
0e563e505b Make the global logo link to the jobs page (home page) 2018-09-26 11:19:24 -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
0ede4c512e Integration tests for the primary-metric component 2018-09-19 14:15:32 -07:00
Michael Lange
cf57ddc89e Gap support for line charts 2018-09-17 16:58:56 -07:00
Michael Lange
58349199c6 Style the primary-metric pattern 2018-09-14 10:20:33 -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
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
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
db6ad98eb4 Make the tooltip animation snappier for line charts
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
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
c96c99aa37 Test coverage for the promote canary feature 2018-08-30 09:38:29 -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
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
b478d71a7b Support cancellation of editing in the job-editor 2018-08-21 16:45:53 -07:00
Michael Lange
8031a0d35d Fix multiple highlight bug in the distribution-bar component
Caused by the re-indexing that occurs to remove zero-value bars.
2018-08-21 16:37:36 -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
223dae27a0 Fixed bug that prevented non verbose job diffs from printing changed leaf nodes 2018-08-20 16:44:37 -07:00
Michael Lange
9b7b465a66 Show the scheduler dry-run output on the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
1c94fdb175 Don't use the verbose diff for job run plan 2018-08-17 18:32:59 -07:00
Michael Lange
27f4a59259 Fix no allocations error message layout for the recent allocations component 2018-08-14 17:37:15 -07:00
Michael Lange
ee08e40071 Delete the removed "depth" aspect of json viewer from the styleguide 2018-08-13 17:04:14 -07:00
Michael Lange
8291373d24 Theme CodeMirror
Borrowed heavily from Vault
2018-08-13 17:04:14 -07:00
Michael Lange
19d7202bd1 Use ivy-codemirror in the JSON Viewer component 2018-08-13 17:04:14 -07:00
Michael Lange
95e8259447 Acceptance tests for the region switcher 2018-08-10 12:52:05 -07:00
Michael Lange
362aff0fab Simplify the control flow around changing namespaces and regions
The UI will no longer try to redirect to the appropriate namespace or
region if one is found in localStorage. Instead, it will assume that
the lack of query param means the default namespaces or region is
desired.
2018-08-09 18:22:39 -07:00
Michael Lange
3f262143b6 Move the region switcher out of the secondary nav and into the gutter when the gutter is collapsed 2018-08-09 18:22:37 -07:00
Michael Lange
8c3e5b2e1f Only show the region switcher when there are multiple regions 2018-08-09 18:22:37 -07:00
Michael Lange
27308a884c Styles for the region switcher 2018-08-09 18:22:37 -07:00
Michael Lange
178642efe0 Test coverage for gutter menu interactions 2018-08-06 11:21:54 -07:00
Michael Lange
a69f5f15ac Make it "feel" mobile with a backdrop that closes the gutter menu on tap 2018-08-06 11:21:54 -07:00
Michael Lange
3a81b0e8ab Visual treatment for the collapsed gutter menu 2018-08-06 11:21:54 -07:00
Michael Lange
4eadc9f6ed Refactor navbar markup 2018-08-06 11:21:53 -07:00
Michael Lange
823c12ea26 Style the hamburber menu icon 2018-08-06 11:21:53 -07:00