Buck Doyle
502d2734ce
UI: Add localStorage persistence of exec command ( #7563 )
...
This closes #7469 . Trivial thanks to localStorageProperty! 🥳
2020-04-01 08:08:42 -05:00
Buck Doyle
e2efb0c0f7
UI: Add exec loading template ( #7566 )
...
This closes #7460 . Before this, there was an incongruous flash
of the non-exec UI during loading.
2020-03-31 13:59:43 -05:00
Buck Doyle
ce719b76cc
UI: Change exec button to not show on dead jobs ( #7548 )
...
I still want to add acceptance tests for the existence
of these buttons but this change makes the exec button
for jobs behave similarly to the others.
2020-03-31 13:11:26 -05:00
Michael Lange
ab4497aa03
Account for an empty string node class
2020-03-30 17:33:45 -07:00
Michael Lange
0f07f4cc40
Add a volume facet to the clients list page
2020-03-30 17:33:44 -07:00
Michael Lange
c30a153d1f
Use new text encoder for stream frames
...
This pattern was introduced with Exec and fixes the multibyte encoding
issue that the native window.atob has.
2020-03-30 12:50:43 -07:00
Michael Lange
b3a23c9b07
Merge pull request #7470 from kybin/kybin-patch-1
...
UI: decode unicode properly in log page
2020-03-30 12:06:51 -07:00
Michael Lange
5f2de59773
Guard against a null value for the HostVolumes hash
...
When a node has no host volumes, the API response will
have a null value for the HostVolumes attribute, which
in turn becomes a null value instead of an empty array
in the store. This protects against that, ensuring host
volumes is always an array.
2020-03-26 09:54:59 -07:00
Buck Doyle
557f913899
UI: Fix check for Mirage presence setting up sockets ( #7497 )
...
Without this, exec UI doesn’t work at all in the binary. I made an
unfortunate error in not copying the environment check from
app/utils/fetch.js.
2020-03-25 13:23:23 -05:00
Buck Doyle
189b52212e
UI: Change determination of exec sidebar active tasks ( #7491 )
...
This closes #7476 . The decomposition of computed properties
is necessary to avoid nested aggregate dependent keys; the
previous dependent key of `taskGroup` will be inadequate
when the sidebar becomes live-updating.
2020-03-25 12:08:33 -05:00
Michael Lange
508404ccba
UI: Support for CSI ( #7446 )
...
Closes #7197 #7199
Note: Test coverage is limited to adapter and serializer unit tests. All
acceptance tests have been stubbed and all features have been manually
tested end-to-end.
This represents Phase 1 of #6993 which is the core workflow of CSI in
the UI. It includes a couple new pages for viewing all external volumes
as well as the allocations associated with each. It also updates
existing volume related views on job and allocation pages to handle both
Host Volumes and CSI Volumes.
2020-03-25 07:51:26 -05:00
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
kim yongbin
339801852a
UI: decode unicode properly in log page
2020-03-25 01:03:39 +09: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
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
5ed87222e9
Add volume to the client row
2020-02-13 17:11:29 -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
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
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
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
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
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