Buck Doyle
4fccaaa2e3
Change to setting token directly
...
Most tests bypass setting the token via the UI, instead choosing
to set it in localStorage directly, because the acceptance tests
for the token UI are sufficient to exercise that part of the UI,
so this speeds up the test a bit.
2020-04-03 12:26:25 -05:00
Buck Doyle
b7999b31fb
Add space
2020-04-03 12:21:44 -05:00
Mahmood Ali
cad5261ec1
ui: send authentication ws handshake
...
Have the UI send the authentication websocket handshake message.
2020-04-03 11:49:22 -04:00
Buck Doyle
7c1bc8c0c0
UI: Fix confirmation position for right-aligned TSBs ( #7590 )
...
Without this, the confirmation text was extending beyond the
edge of the page.
2020-04-02 11:58:29 -05:00
Michael Lange
f6ed101740
Fix flaky serializer test
2020-04-01 14:54:05 -07:00
Buck Doyle
88ff339f4d
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
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
21b8986139
Tests for the new volumes facet
2020-03-30 17:33:46 -07: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
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