Buck Doyle
eba07dabe5
CI: add xUnit reporting for UI tests ( #7585 )
...
This surfaces test failures more clearly on CircleCI by adding
testem-multi-reporter to report both via the default TAP reporter
as well as an xUnit reporter whose output is stored as an artefact.
2020-04-01 11:19:44 -05:00
Buck Doyle
eaf64849f6
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
d70c3fbb3e
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
61164b856e
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
6eaf79f928
Tests for the new volumes facet
2020-03-30 17:33:46 -07:00
Michael Lange
b8ce8c436f
Account for an empty string node class
2020-03-30 17:33:45 -07:00
Michael Lange
01341530e7
Add a volume facet to the clients list page
2020-03-30 17:33:44 -07:00
Michael Lange
fdd2f8df37
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
2711eb032c
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
2db4f5519a
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
8932686aa6
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
398db02449
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
1bd6a69067
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
674da96a59
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
4378db612b
UI: decode unicode properly in log page
2020-03-25 01:03:39 +09:00
Michael Lange
bc87d0a440
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
fe685f897f
Correct a test and a dependent key
2020-02-14 16:44:28 -08:00
Michael Lange
c7c37250c8
Improve the node serializer tests
2020-02-13 17:42:41 -08:00
Michael Lange
53c2086a08
Add assertion for the volume k/v pairs in task rows
2020-02-13 17:11:39 -08:00
Michael Lange
b47ce637ed
Refactor task row info test to use 'as'
2020-02-13 17:11:38 -08:00
Michael Lange
41fad6b649
Test coverage for the volume table on the task group page
2020-02-13 17:11:37 -08:00
Michael Lange
44a961f4f8
Test coverage for the task detail volumes table
2020-02-13 17:11:35 -08:00
Michael Lange
0e6c81d3ef
Add volume table to the task detail page
2020-02-13 17:11:34 -08:00
Michael Lange
e4dcd9c2a4
Add volume requirements table to the task group page
2020-02-13 17:11:33 -08:00
Michael Lange
3fbd267263
Add volumes column to the task row component
2020-02-13 17:11:32 -08:00
Michael Lange
9186f75c6a
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
895d74c503
Test coverage for change in resource rows
2020-02-13 17:11:30 -08:00
Michael Lange
c57993f0a5
Add volume to the client row
2020-02-13 17:11:29 -08:00
Michael Lange
c0f1aff963
Fix flaky host volumes test
2020-02-13 17:11:28 -08:00
Michael Lange
b3452cc33c
Add volume column to allocation row
2020-02-13 17:11:27 -08:00
Michael Lange
61a3b4919f
Add volume column to task group row
2020-02-13 17:11:26 -08:00
Michael Lange
18cf59b22f
Test coverage for the host volumes table
2020-02-13 17:11:25 -08:00
Michael Lange
1e40837731
Add a Host Volumes table to the client detail page
2020-02-13 17:11:24 -08:00
Michael Lange
849c996887
Data layer for Host Volumes in the UI
2020-02-13 17:11:22 -08:00
Michael Lange
ccefc46912
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
1431343d18
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
c7543ee020
Explicit transparent bg on popover actions
2020-02-07 14:17:13 -08:00
Michael Lange
8a9b60f011
Call out the 'down' status too, since it's a pretty bad one
2020-01-31 12:56:15 -08:00
Michael Lange
38d23b5ba8
Add an animation for the initializing state
2020-01-31 12:56:11 -08:00
Michael Lange
f00a50a55b
Redo the node-status-light CSS to be icon-based
2020-01-31 12:56:08 -08:00
Michael Lange
536a597a92
New node initializing icon
2020-01-31 12:56:05 -08:00
Michael Lange
9dbdbc23dd
Assign icons to node statuses
2020-01-31 12:56:02 -08:00
Michael Lange
89532e27e3
Add an icon inside the node status light
2020-01-31 12:55:59 -08:00
Michael Lange
0f8ea7d37a
Allow for an icon within the node status light
2020-01-31 12:55:55 -08:00
Michael Lange
31b83b1c70
Acceptance test for disabled node write controls
2020-01-31 09:41:37 -08:00
Michael Lange
5c4c05824a
Account for disabled ACLs in ability tests
2020-01-31 09:41:36 -08:00
Michael Lange
59897f9716
Handle the case where ACLs aren't enabled in abilities
2020-01-31 09:41:36 -08:00
Michael Lange
175f80da16
Fix token referencing from the token controller, as well as resetting
2020-01-31 09:41:35 -08:00
Michael Lange
9438330329
Add an explanatory tooltip to the unauthorized node drain popover
2020-01-31 09:41:33 -08:00
Michael Lange
4eac743262
Update disabled 'Run Job' button to use standard disabled style
2020-01-31 09:41:32 -08:00