Commit Graph

1141 Commits

Author SHA1 Message Date
Buck Doyle
27df92a967 UI: add exec terminal (#6697)
This connects Xterm.js to a Nomad exec websocket so people
can interact on clients via live sessions. There are buttons on
job, allocation, task group, and task detail pages that open a
popup that lets them edit their shell command and start a
session.

More is to come, as recorded in issues.
2020-03-24 18:22:16 -05:00
Michael Lange
1bf842d148 Remove the question mark from the Volume th
This makes it consistent with other volume columns across the app.
2020-02-14 16:56:51 -08:00
Michael Lange
6024b9c1b6 Correct a test and a dependent key 2020-02-14 16:44:28 -08:00
Michael Lange
4fce8b4a54 Improve the node serializer tests 2020-02-13 17:42:41 -08:00
Michael Lange
88c2af2f8d Add assertion for the volume k/v pairs in task rows 2020-02-13 17:11:39 -08:00
Michael Lange
060e84135c Refactor task row info test to use 'as' 2020-02-13 17:11:38 -08:00
Michael Lange
75e9d6ce11 Test coverage for the volume table on the task group page 2020-02-13 17:11:37 -08:00
Michael Lange
31945880e7 Test coverage for the task detail volumes table 2020-02-13 17:11:35 -08:00
Michael Lange
8702124fee Add volume table to the task detail page 2020-02-13 17:11:34 -08:00
Michael Lange
17a143487e Add volume requirements table to the task group page 2020-02-13 17:11:33 -08:00
Michael Lange
ed738ecc83 Add volumes column to the task row component 2020-02-13 17:11:32 -08:00
Michael Lange
fd87646973 Fix a bug where the NodeListStub API response would override existing HostVolumes in the store 2020-02-13 17:11:31 -08:00
Michael Lange
0733c1e86e Test coverage for change in resource rows 2020-02-13 17:11:30 -08:00
Michael Lange
5ed87222e9 Add volume to the client row 2020-02-13 17:11:29 -08:00
Michael Lange
787dedcd5c Fix flaky host volumes test 2020-02-13 17:11:28 -08:00
Michael Lange
e5232b9ccd Add volume column to allocation row 2020-02-13 17:11:27 -08:00
Michael Lange
15c7fcfb9c Add volume column to task group row 2020-02-13 17:11:26 -08:00
Michael Lange
961691248b Test coverage for the host volumes table 2020-02-13 17:11:25 -08:00
Michael Lange
33852e1169 Add a Host Volumes table to the client detail page 2020-02-13 17:11:24 -08:00
Michael Lange
5f621e2d68 Data layer for Host Volumes in the UI 2020-02-13 17:11:22 -08:00
Michael Lange
4757f87f0c Merge pull request #7099 from hashicorp/b-ui/mobile-styles-not-full-width
UI: Override the max-width on mobile to avoid losing space due to non-existent gutter menu
2020-02-07 14:27:50 -08:00
Michael Lange
17e2947475 Override the max-width on mobile to avoid losing space due to non-existent gutter menu 2020-02-07 14:22:00 -08:00
Michael Lange
b73ac893a4 Explicit transparent bg on popover actions 2020-02-07 14:17:13 -08:00
Michael Lange
4419510652 Call out the 'down' status too, since it's a pretty bad one 2020-01-31 12:56:15 -08:00
Michael Lange
2e2bcc50a7 Add an animation for the initializing state 2020-01-31 12:56:11 -08:00
Michael Lange
e95370464a Redo the node-status-light CSS to be icon-based 2020-01-31 12:56:08 -08:00
Michael Lange
7f60198742 New node initializing icon 2020-01-31 12:56:05 -08:00
Michael Lange
ec01c0bdd7 Assign icons to node statuses 2020-01-31 12:56:02 -08:00
Michael Lange
3d5193b8de Add an icon inside the node status light 2020-01-31 12:55:59 -08:00
Michael Lange
2f1dec2924 Allow for an icon within the node status light 2020-01-31 12:55:55 -08:00
Michael Lange
234b7efee8 Acceptance test for disabled node write controls 2020-01-31 09:41:37 -08:00
Michael Lange
f5662817ff Account for disabled ACLs in ability tests 2020-01-31 09:41:36 -08:00
Michael Lange
35d7744ba7 Handle the case where ACLs aren't enabled in abilities 2020-01-31 09:41:36 -08:00
Michael Lange
e7067f0cc9 Fix token referencing from the token controller, as well as resetting 2020-01-31 09:41:35 -08:00
Michael Lange
692a88712d Add an explanatory tooltip to the unauthorized node drain popover 2020-01-31 09:41:33 -08:00
Michael Lange
478e6d831f Update disabled 'Run Job' button to use standard disabled style 2020-01-31 09:41:32 -08:00
Michael Lange
c6a677dc4a Disable options for popover and drain-popover 2020-01-30 21:29:29 -08:00
Michael Lange
29c3cdaeb6 Disabled button styles 2020-01-30 21:29:28 -08:00
Michael Lange
35a95177c6 New disabled buttons story 2020-01-30 21:29:26 -08:00
Michael Lange
f51c0c4400 Refetch all ACL things when the token changes 2020-01-30 21:29:24 -08:00
Michael Lange
fa3a4e4074 Enable the eligibility toggle conditionally based on acls 2020-01-30 21:29:22 -08:00
Michael Lange
fbb137bdb2 Refactor ability tests to use a setup hook for ability lookup 2020-01-30 21:29:21 -08:00
Michael Lange
88d646b48d Add an ability for client permissions 2020-01-30 21:29:19 -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