Commit Graph

16843 Commits

Author SHA1 Message Date
Nick Ethier
64f4e9e691 consul: add support for canary meta 2020-01-27 09:53:30 -05:00
Mahmood Ali
9fdc9dea4e Merge pull request #6950 from hashicorp/c-golang-1.12.15
Upgrade to using golang 1.12.15
2020-01-27 09:10:55 -05:00
Mahmood Ali
30af487eb3 fix comment 2020-01-27 09:10:38 -05:00
Michael Lange
fea44b0d8e Merge pull request #6819 from hashicorp/f-ui-node-drain
UI: Invoke Node Drains
2020-01-23 16:48:57 -08:00
Michael Lange
4793dc9afb Replace custom parse-duration implementation with an existing lib 2020-01-23 16:34:38 -08:00
Michael Lange
b9b6cda5b4 Update client detail test given change to the compositeStatus property 2020-01-23 16:34:38 -08:00
Michael Lange
40d65319e7 Tweak vertical spacing of headings 2020-01-23 16:34:37 -08:00
Michael Lange
deb2b310f6 Remove superfluous information from the client details ribbon 2020-01-23 16:34:36 -08:00
Michael Lange
66ea7c100f Increase the size and spacing of the toggle component 2020-01-23 16:34:35 -08:00
Michael Lange
4cc6702075 Use qunit-dom where applicable 2020-01-23 16:34:35 -08:00
Michael Lange
1d6799e5e5 Stack the popover menu under the subnav 2020-01-23 16:34:34 -08:00
Michael Lange
93eaaab77e New test coverage for the drain capabilities 2020-01-23 16:34:34 -08:00
Michael Lange
b11c82caaf Update existing tests 2020-01-23 16:34:33 -08:00
Michael Lange
413681e317 PopoverMenu integration tests 2020-01-23 16:34:32 -08:00
Michael Lange
8dadd3db46 Integration tests for the toggle component 2020-01-23 16:34:32 -08:00
Michael Lange
b03e1e6ee2 Update the client detail page object 2020-01-23 16:34:31 -08:00
Michael Lange
da941d2e44 Model the notification pattern as a page object component 2020-01-23 16:34:30 -08:00
Michael Lange
8f67e4ba25 Clear all notifications when resetting the controller 2020-01-23 16:34:29 -08:00
Michael Lange
3009ad3f38 Switch drain popover checkboxes for toggles 2020-01-23 16:34:29 -08:00
Michael Lange
a36290ddc4 Toggle bugs: focus and multiline alignment 2020-01-23 16:34:28 -08:00
Michael Lange
595f3c9b1a Swap the eligiblity checkbox out for a toggle 2020-01-23 16:34:27 -08:00
Michael Lange
2e39c0a529 New toggle component 2020-01-23 16:34:27 -08:00
Michael Lange
6a0a77c5ad Force drain button in the drain info box 2020-01-23 16:34:26 -08:00
Michael Lange
4bcd47c0b3 Make outline buttons have a solid white background 2020-01-23 16:34:25 -08:00
Michael Lange
504a7afa03 Modifiers to the two-step-button 2020-01-23 16:34:25 -08:00
Michael Lange
96522e7f53 Drain stop and update and notifications 2020-01-23 16:34:24 -08:00
Michael Lange
fabf956b6e Drain complete notification 2020-01-23 16:34:24 -08:00
Michael Lange
e886361075 Fill out the metrics and time since values in the drain summary 2020-01-23 16:34:23 -08:00
Michael Lange
ad8df16c44 Fill in the drain strategy ribbon values 2020-01-23 16:34:22 -08:00
Michael Lange
4439853737 Stub out all the markup for the new drain strategy view 2020-01-23 16:34:22 -08:00
Michael Lange
2ddc54e7a1 Polish for the drain popover 2020-01-23 16:34:21 -08:00
Michael Lange
da576bc805 Refactor parseDuration to support multi-character units 2020-01-23 16:34:20 -08:00
Michael Lange
6f6b9c2443 Test coverage for the parse duration util 2020-01-23 16:34:20 -08:00
Michael Lange
faffb83d1d Extract the duration parsing into a util 2020-01-23 16:34:19 -08:00
Michael Lange
e47d255b07 Factor out the drain popover and implement its behaviors 2020-01-23 16:34:18 -08:00
Michael Lange
d401a11d0c Add triggerClass support to the popover menu 2020-01-23 16:34:18 -08:00
Michael Lange
7eb71ca439 Let dropdowns assume their full width 2020-01-23 16:34:17 -08:00
Michael Lange
0a8c27d0cf Initial layout of the drain options popover 2020-01-23 16:34:16 -08:00
Michael Lange
030b449463 More form styles as needed for the drain form 2020-01-23 16:34:16 -08:00
Michael Lange
5098b552cf Multiline modifier for tooltips 2020-01-23 16:34:15 -08:00
Michael Lange
b02f05fbda Update the dropdown styles to be more similar to button styles 2020-01-23 16:34:14 -08:00
Michael Lange
de03d82df9 PopoverMenu component 2020-01-23 16:34:14 -08:00
Michael Lange
8788d39987 Eligibility toggling behavior 2020-01-23 16:34:13 -08:00
Michael Lange
44904ba3f1 Update the underlying node model when toggling eligibility in mirage 2020-01-23 16:34:12 -08:00
Michael Lange
09b62eb8cb Add tooltip to the eligibility control 2020-01-23 16:34:11 -08:00
Michael Lange
3ad898762b Reformat the client detail page to use the two-row header design 2020-01-23 16:34:11 -08:00
Michael Lange
4d05f53f1d cancelDrain adapter method 2020-01-23 16:34:10 -08:00
Michael Lange
0b031f0b27 Update drain methods to properly wrap DrainSpec params 2020-01-23 16:34:09 -08:00
Michael Lange
4ddcd6044e drain and forceDrain adapter methods 2020-01-23 16:34:09 -08:00
Michael Lange
1cbbba038c Mock the drain endpoint 2020-01-23 16:34:08 -08:00