Michael Lange
7a8a4c32f4
Make the tooltip animation snappier for line charts
...
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
2018-09-13 16:45:13 -07:00
Michael Lange
a74e6648b9
Styleguide entry for the line chart component
2018-09-13 16:45:13 -07:00
Michael Lange
d516daf83e
New line chart component
2018-09-13 16:45:08 -07:00
Michael Lange
33da5ed14f
Merge pull request #4600 from hashicorp/f-ui-job-writes
...
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
ebe0e97b1a
Merge pull request #4615 from hashicorp/f-ui-restart-stopped-job
...
UI: Restart stopped job
2018-08-30 09:49:14 -07:00
Michael Lange
3c2e7b7dd3
Merge pull request #4616 from hashicorp/f-ui-promote-canary
...
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
62e9cf268b
Test coverage for the promote canary feature
2018-08-30 09:38:29 -07:00
Michael Lange
182e020835
Fix the flickering issue with start/stop job
...
When the server doesn't respond immediately, there is a visible window
of time between the action being submitted and the blocking query coming
back with the new job status.
2018-08-28 11:27:00 -07:00
Michael Lange
37acc77c9c
Add a confirmation loading state to the two-step-button component
2018-08-28 11:27:00 -07:00
Michael Lange
c8492682e1
Switch stop/run job actions to EC tasks
2018-08-28 11:27:00 -07:00
Michael Lange
a4d951a757
Add Start Job action on the job overview page for when a job is dead
2018-08-28 11:27:00 -07:00
Michael Lange
0142f97069
Update the info message about token storage
2018-08-28 10:05:36 -07:00
Michael Lange
bcbeac7f35
Change the latest deployment component to include a Promote Canary button
...
Before it would say the deployment required promotion, now it has a
button that triggers the promotion.
2018-08-24 16:41:47 -07:00
Michael Lange
0fb7fea825
Acceptance tests for the edit behaviors on the job definition page
2018-08-23 10:26:20 -07:00
Michael Lange
b5b4a979f9
Test coverage for the job-editor component
...
Most of this was ported over from the existing job run acceptance tests
2018-08-23 09:00:14 -07:00
Michael Lange
1f40ab5da5
Introduce job editing to the job definition page
2018-08-21 16:46:24 -07:00
Michael Lange
3ca2237b29
Support cancellation of editing in the job-editor
2018-08-21 16:45:53 -07:00
Michael Lange
cd6d4e41e5
Fix multiple highlight bug in the distribution-bar component
...
Caused by the re-indexing that occurs to remove zero-value bars.
2018-08-21 16:37:36 -07:00
Michael Lange
b3c2538c68
Move the bulk of the new job page into a new job editor component
2018-08-21 12:07:45 -07:00
Michael Lange
55fca36bea
New job edit page
2018-08-21 12:06:43 -07:00
Michael Lange
3cee992a97
Test coverage for scheduler dry-run addition to the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
063021081d
Fixed bug that prevented non verbose job diffs from printing changed leaf nodes
2018-08-20 16:44:37 -07:00
Michael Lange
9cab82146c
Show the scheduler dry-run output on the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
8ed04e64fe
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
ee074e9ef5
Don't use the verbose diff for job run plan
2018-08-17 18:32:59 -07:00
Michael Lange
74248bc3f6
Spiff up the form buttons with type and disabled attributes
2018-08-17 18:20:15 -07:00
Michael Lange
2e35687a1d
Acceptance tests for job run page
2018-08-16 17:22:58 -07:00
Michael Lange
a96c4508d6
Acceptance test for the jobs list page
2018-08-15 17:12:18 -07:00
Michael Lange
f06da96c90
Move the Diff property read out of the template
2018-08-15 16:58:54 -07:00
Michael Lange
da46817289
Error messages for job submit
2018-08-15 15:18:38 -07:00
Michael Lange
de4caacb6d
Fix no allocations error message layout for the recent allocations component
2018-08-14 17:37:15 -07:00
Michael Lange
4d656c7a31
Parse and Plan API and UI workflows
2018-08-14 17:29:51 -07:00
Michael Lange
c85c2a2932
New job run page and navigation to get there.
2018-08-14 12:54:54 -07:00
Michael Lange
dd9202769a
Delete the removed "depth" aspect of json viewer from the styleguide
2018-08-13 17:04:14 -07:00
Michael Lange
c5b54393d0
Theme CodeMirror
...
Borrowed heavily from Vault
2018-08-13 17:04:14 -07:00
Michael Lange
0746501bc8
Use ivy-codemirror in the JSON Viewer component
2018-08-13 17:04:14 -07:00
Michael Lange
104e5196a6
Acceptance tests for the region switcher
2018-08-10 12:52:05 -07:00
Michael Lange
9f3a37f1c2
Simplify the control flow around changing namespaces and regions
...
The UI will no longer try to redirect to the appropriate namespace or
region if one is found in localStorage. Instead, it will assume that
the lack of query param means the default namespaces or region is
desired.
2018-08-09 18:22:39 -07:00
Michael Lange
85fe4459d0
Remove the gutter menu from the allocations page
2018-08-09 18:22:38 -07:00
Michael Lange
32d05509ca
Move the region switcher out of the secondary nav and into the gutter when the gutter is collapsed
2018-08-09 18:22:37 -07:00
Michael Lange
2877b6b351
Only show the region switcher when there are multiple regions
2018-08-09 18:22:37 -07:00
Michael Lange
9a9cc35bd0
Styles for the region switcher
2018-08-09 18:22:37 -07:00
Michael Lange
b9fa9a98bc
Test coverage for gutter menu interactions
2018-08-06 11:21:54 -07:00
Michael Lange
aec990e41d
Make it "feel" mobile with a backdrop that closes the gutter menu on tap
2018-08-06 11:21:54 -07:00
Michael Lange
97220ae5fb
Visual treatment for the collapsed gutter menu
2018-08-06 11:21:54 -07:00
Michael Lange
ed4dcbe061
Refactor navbar markup
2018-08-06 11:21:53 -07:00
Michael Lange
f2f8c28a91
Style the hamburber menu icon
2018-08-06 11:21:53 -07:00
Michael Lange
737805272a
Add open/close functionality to the gutter-menu when it's collapsed
2018-08-06 11:21:53 -07:00
Michael Lange
54b838d934
Keep the search box around when a search yields no results
2018-08-06 11:02:22 -07:00
Michael Lange
e774163360
Tests for the recent allocations table
2018-08-06 11:02:21 -07:00
Michael Lange
6889a7305d
Don't use the boxed-section pattern on pages with one section
2018-08-06 11:01:27 -07:00
Michael Lange
e377de0356
Add search to the allocations page
2018-08-06 11:00:24 -07:00
Michael Lange
8eca16774e
Link to the allocations page from the recent allocations table
2018-08-06 11:00:23 -07:00
Michael Lange
30b0c9b262
Use the correct allocation row context in various places
2018-08-06 11:00:23 -07:00
Michael Lange
15da9f8250
Use the new taskGroup context for allocation row
2018-08-06 10:59:35 -07:00
Michael Lange
f6a3008d08
New dedicated allocations page for jobs
2018-08-06 10:59:35 -07:00
Michael Lange
0ac91ff15b
Add recent allocations to relevant job overview pages
2018-08-06 10:59:35 -07:00
Michael Lange
1f639260ad
Make sure memory and cpu bars have a consistent size
2018-08-06 10:59:35 -07:00
Michael Lange
de80f65efe
Remove the name column and add a created column to allocation rows
2018-08-06 10:59:35 -07:00
Michael Lange
f0ab8a231f
Merge pull request #4533 from hashicorp/f-ui-refactor-page-chrome
...
UI: Refactor page chrome
2018-08-06 10:50:03 -07:00
Michael Lange
c0966f7cc1
Give the running-deployment component a more appropriate name
2018-07-30 15:31:31 -07:00
Michael Lange
4a2b2fd4f5
Make running-deployment always show the latest deployment
2018-07-30 15:31:31 -07:00
Michael Lange
9c9bedf53d
Use page-layout for job routes
2018-07-30 13:13:52 -07:00
Michael Lange
c5388d69cf
Use page-layout for allocations routes
2018-07-30 13:13:52 -07:00
Michael Lange
548ec2cf54
Use page-layout for clients routes
2018-07-30 13:13:52 -07:00
Michael Lange
653947d012
Use page-layout for servers routes
2018-07-30 13:13:52 -07:00
Michael Lange
6d189e48e1
Use page-layout for the settings routes
2018-07-30 13:13:52 -07:00
Michael Lange
6da20ef717
New page-layout component that contains both the header and the gutter menu
2018-07-30 13:13:52 -07:00
Michael Lange
393b39d259
Remove all references to onNamespaceChange
2018-07-30 13:13:52 -07:00
Michael Lange
4e22c1018f
Redo onNamespaceChange to use the router
2018-07-30 13:13:52 -07:00
Michael Lange
56a7e644ec
Show deployment deadlines everywhere
2018-07-17 11:07:22 -07:00
Michael Lange
9413c719a6
Merge pull request #4507 from hashicorp/b-ui-dist-bar-corners
...
UI: Fix the missing pixels issue with distribution-bar
2018-07-13 11:04:29 -07:00
Michael Lange
77a9e844a1
Make job alloc/children summary collapsable (and persist the choice in localStorage)
2018-07-13 10:26:46 -07:00
Michael Lange
c1bc54878d
Add an option to start expanded and an onToggle action to list-accordion
2018-07-13 10:26:46 -07:00
Michael Lange
79725168b8
Create a single-bar example of distribution-bar in the styleguide
2018-07-13 10:26:01 -07:00
Michael Lange
266850b3f8
Use PageObject for job versions tests
2018-07-11 09:49:44 -07:00
Michael Lange
71287286ef
Update breadcrumbs on job evaluations
2018-07-11 09:28:19 -07:00
Michael Lange
538eaad27b
Use PageObject for job deployments
2018-07-11 09:14:10 -07:00
Michael Lange
38b4d30272
Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
...
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
9e07ba28df
Migrate and add test coverage for evaluations page
2018-07-06 17:15:59 -07:00
Michael Lange
fa00dc0748
Remove evaluations from the job overview page
2018-07-06 16:53:13 -07:00
Michael Lange
ab54187480
Adds sorting to evaluations
2018-07-06 16:50:41 -07:00
Michael Lange
bbb923ea89
Initial evaluations page
2018-07-06 16:41:09 -07:00
Michael Lange
2e55afd8ff
Integration tests for the breadcrumbs component
2018-07-06 11:12:12 -07:00
Michael Lange
dc1d31eec8
Move the global-header up the route hierarchy
...
Now that breadcrumbs are a zero config component, the corresponding
template can be moved up to parent routes.
2018-07-06 11:12:12 -07:00
Michael Lange
43d9a94c96
Remove all references to breadcrumbs outside of routes
2018-07-06 11:12:12 -07:00
Michael Lange
b5b632068d
Use the new breadcrumb pattern on tasks
2018-07-06 11:12:11 -07:00
Michael Lange
de89051438
Use the new breadcrumbs pattern for allocations
2018-07-06 11:12:11 -07:00
Michael Lange
3bda577de7
Apply new breadcrumbs pattern to task groups
2018-07-06 11:12:11 -07:00
Michael Lange
0cb0e5e78b
Use the new breadcrumbs pattern in all job templates
2018-07-06 11:12:11 -07:00
Michael Lange
438d0ce768
Use the new breadcrumbs pattern on the clients loading page
2018-07-06 11:12:11 -07:00
Michael Lange
1fb26c0b91
Support promise proxies as breadcrumbs
2018-07-06 11:12:11 -07:00
Michael Lange
9bc1d0e4f4
Apply new breadcrumbs pattern to servers and clients
2018-07-06 11:12:11 -07:00
Michael Lange
865105734e
New breadcrumb service and component for describing breadcrumbs in routes
...
Works by segmenting the currentRouteName from the router service
and walking over each route in the current hierarchy to collect crumbs.
2018-07-06 11:12:10 -07:00
Michael Lange
a72362a8bd
Styleguide entry for two-step button
2018-07-03 15:24:26 -07:00
Michael Lange
0046c72b27
Styleguide entry for alerts
2018-07-03 14:50:10 -07:00
Michael Lange
b854168654
Styleguide entries for accordion
2018-07-03 14:30:40 -07:00
Michael Lange
6859fc9487
Outline new components
2018-07-03 13:57:09 -07:00
Michael Lange
43c118dfa7
Styleguide entry for Progress Bar
2018-07-03 13:54:00 -07:00
Michael Lange
5ced0f70b9
Styleguide entry for Table, Configuration
2018-07-03 13:06:39 -07:00
Michael Lange
1b2a253cbb
Styleguide entry for tables
2018-07-03 12:30:34 -07:00
Michael Lange
4ed8957a3e
Styleguide entry for Search Box
2018-07-02 17:37:38 -07:00
Michael Lange
b47665da34
Styleguide entry for Page Title
2018-07-02 17:19:39 -07:00
Michael Lange
c009a7565e
Styleguide entry for Page Tabs
2018-07-02 16:36:26 -07:00
Michael Lange
6ab589b17c
Styleguide entry for metrics
2018-07-02 16:19:01 -07:00
Michael Lange
2d7a3d9139
Styleguide entry for Log Stream
2018-07-02 15:33:37 -07:00
Michael Lange
e6ecab0c27
Styleguide entry for the JSON Viewer
2018-06-30 11:31:17 -07:00
Michael Lange
d9725470f0
Styleguide entry for Inline definitions
2018-06-30 01:10:36 -07:00
Michael Lange
b529b471f3
Styleguide entry for header
2018-06-30 00:18:14 -07:00
Michael Lange
33c430daa9
Styleguide entry to the gutter menu
2018-06-29 23:36:40 -07:00
Michael Lange
2db7544f85
Styleguide entry for the timeline component
2018-06-29 18:33:23 -07:00
Michael Lange
ac89f346d4
Dropdown entry to the styleguide
2018-06-29 14:21:33 -07:00
Michael Lange
15de710759
Styleguide entry for the diff-viewer
2018-06-29 13:34:01 -07:00
Michael Lange
780e9a18a5
Style tasks on the alloc index page like other tables of things
2018-06-07 11:31:06 -07:00
Michael Lange
ef2e49e82d
Merge pull request #4388 from hashicorp/f-ui-show-deployment-deadline
...
UI: Show deployment deadline for each task group in the running deployment
2018-06-07 08:55:53 -07:00
Michael Lange
73881a388c
Show the progress deadline for task groups in a running deployment
2018-06-06 17:35:18 -07:00
Michael Lange
ee093ffc16
Make task rows clickable.
...
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Michael Lange
8b364c1e27
Use the network ip as the task address instead of the node ip
2018-06-04 15:34:16 -07:00
Michael Lange
65edf31ec9
Acceptance testing for node drain information
2018-05-30 11:27:21 -07:00
Michael Lange
a06f6b27f2
Display node drain strategy information on the client detail page
2018-05-30 11:27:21 -07:00
Michael Lange
f0b54dd81b
Color-code node drain and eligibility in the full client list
...
This makes it easier to scan for interesting nodes
2018-05-30 11:27:21 -07:00
Michael Lange
3ac8f7abeb
Add drain and eligibility to the client details strip
2018-05-30 11:27:21 -07:00
Michael Lange
1303606f99
Add ineligibility to the status light
2018-05-30 11:27:21 -07:00
Michael Lange
ffb48d6f53
Update the clients list table to include drain and eligibility
...
This makes it match the CLI node status output
2018-05-30 11:27:20 -07:00
Michael Lange
a23fefdd50
Merge pull request #4339 from hashicorp/ui-change-stop-button-style
...
UI: Switch the stop button style to look mildly dangerous
2018-05-25 12:18:16 -07:00
Michael Lange
7a601c39d3
Switch the stop button to be mildly dangerous
2018-05-25 11:56:32 -07:00
Michael Lange
4afc81a37d
Tag node events with the driver when available
2018-05-25 11:48:49 -07:00
Michael Lange
8b09108f9c
Display driver attributes without the superfluous driver and driver name section
2018-05-25 10:15:25 -07:00
Michael Lange
5f9632bee8
Acceptance tests for node driver and node events
2018-05-25 10:15:24 -07:00
Michael Lange
9598a18bc1
Add driver warning to allocation rows
2018-05-25 10:15:24 -07:00
Michael Lange
1ad3e546ee
Show a warning on task rows on the alloc detail page
...
The warning shows up when the task's driver is unhealthy on the node
the task is running on.
2018-05-25 10:15:24 -07:00
Michael Lange
1058ac4ac0
Add driver status accordion section to the client detail page
2018-05-25 10:15:23 -07:00
Michael Lange
524ec8633a
New accordion component
...
Follows the same style as the table and pagination components.
2018-05-25 10:15:23 -07:00
Michael Lange
00d97f6c6a
Show a warning icon on client node rows that have unhealthy drivers
2018-05-25 10:15:23 -07:00
Michael Lange
446e26ea07
Add a node events section to the node detail page
2018-05-25 10:15:22 -07:00
Michael Lange
baab8af975
Show driver summary on the client detail page
2018-05-25 10:15:22 -07:00
Michael Lange
152311f6fb
Merge pull request #4254 from hashicorp/f-ui-ss-restart-tracking
...
UI: Server-side reschedule tracking
2018-05-10 16:17:02 -07:00
Michael Lange
feec8aa5e7
Integration tests for the various reschedule events timeline permutations
2018-05-04 19:36:55 -07:00
Michael Lange
4178c2066a
Turn reschedule events timeline into a component for isolated testing
2018-05-04 19:36:55 -07:00
Michael Lange
d6d7a90c99
Acceptance tests for allocation rescheduling
2018-05-04 19:36:54 -07:00
Michael Lange
077ee297c0
Reschedule events timeline for the alloc detail page
2018-05-04 19:36:54 -07:00
Michael Lange
940a5325c7
New reschedule-event-row component
...
Intended to be used in a timeline view.
2018-05-04 19:36:54 -07:00
Michael Lange
46fc0cedc3
Add rescheduled icon to allocation row
2018-05-04 19:36:54 -07:00
Michael Lange
0fb407baec
Show how many jobs exist but are being hidden by the serach term
2018-04-23 14:58:01 -07:00
Michael Lange
ff11ca7dbe
Add button type to the two-step-button buttons
2018-04-20 10:11:21 -07:00
Michael Lange
82ca110cd0
New tests for stop job action
2018-04-19 14:22:04 -07:00
Michael Lange
f0cf931c7b
Refactor job-page components to use common title and error parts
2018-04-19 14:22:04 -07:00
Michael Lange
ccd3a91362
Common error component for job pages
2018-04-19 14:22:04 -07:00
Michael Lange
60938b6eb6
Move common title parts into a part component
2018-04-19 14:22:04 -07:00
Michael Lange
bb61fda409
Test coverage for the two-step-button component
2018-04-19 14:22:04 -07:00
Michael Lange
f83eb25c14
New two-step-button
...
For performing an action that requires confirmation
2018-04-19 14:22:04 -07:00
Michael Lange
9d60c9db9a
Defer showing alloc addresses until the node is loaded
...
The URLs for addresses are meaningless until the node http addr
is available.
2018-04-10 09:31:35 -07:00
Michael Lange
f473d72ceb
Remove an extraneous component of the service job page
2018-04-02 18:19:17 -07:00
Michael Lange
679831e96b
Don't allow the alloc status table cell to word-wrap at the swatch
2018-03-28 14:51:54 -07:00
Michael Lange
4c34a04151
Work around the dreaded broken relationship ED bug
...
Summary can unlink from a job when loaded in the wrong order. This
guarantees that the summary is bound to the job detail view by
falling back to the summary in the store.
2018-03-22 20:14:37 -07:00
Michael Lange
fb17a758da
Poll for allocation stats
2018-03-22 14:34:57 -07:00
Michael Lange
8541579722
Show an error message when forcing a periodic launch is forbidden
...
This will happen when ACLs allow for reading jobs but not submitting.
2018-03-21 12:12:17 -07:00
Michael Lange
39bf9a4e78
Always provide arguments instead of models to job links
...
This invoked the model hook, which will load the model and
redirect correctly based on permissions
2018-03-20 16:41:19 -07:00
Michael Lange
a5a5923e30
Job row should denote when a parent job has no children
2018-03-20 16:41:18 -07:00
Michael Lange
31a30f5805
Merge pull request #3989 from hashicorp/f-ui-read-job-summary-from-list-view
...
UI: Read job summary from Jobs.List
2018-03-16 12:37:05 -07:00
Michael Lange
c8b3e91d4a
Update job row to no longer watch job-summary or reload the job
...
Now that job summary is pushed into the store from the list request
and the task group count is derived from the summary, the detailed
job information is no longer needed for a job row.
2018-03-15 10:48:37 -07:00
Michael Lange
d6fd741e16
Read task name off of the state rather than the task
...
It's possible for the task (derived from the job API response)
is nil, or has a nil name field.
Using the task state instead ensures a name every time.
2018-03-14 16:39:42 -07:00
Michael Lange
5c1c0db1c3
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
53ee4d72a5
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
d9287d1f40
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -07:00
Michael Lange
29f1d9948e
Merge pull request #3936 from hashicorp/f-ui-polling
...
UI: Live updating views
2018-03-08 13:27:02 -08:00
Michael Lange
b1125c1a1f
Add polling to the deployments page
2018-03-05 09:32:04 -08:00
Michael Lange
c883280661
Fix preexisting bugs that only surfaced once live updating started
2018-03-05 09:32:03 -08:00
Michael Lange
5a21a5ddbf
Watch for summary changes in job-row
2018-03-02 16:21:35 -08:00
Michael Lange
a18771278f
Merge pull request #3908 from hashicorp/f-ui-route-client-requests-through-server
...
UI: Take advantage of client request tunneling
2018-03-02 15:58:27 -08:00
Michael Lange
a503fbe73c
In the event the server also times out, show an error message
2018-02-27 13:38:31 -08:00
Michael Lange
16daba97e1
Cleanup following review
2018-02-26 16:35:41 -08:00
Michael Lange
2fcd9b3cb6
Refactor node meta table
...
- Use existing serializer and components
- Add acceptance test
- Add empty state
2018-02-06 18:56:49 -08:00
Or Tzabary
cb1193b9a5
Meta params table in Client view
2018-02-06 18:04:57 -08:00
Michael Lange
9f9597c50c
Integration test for periodic job force launch
2018-02-06 10:53:53 -08:00
Michael Lange
f864fb3f2a
Tests for the summary job page part
2018-02-06 10:53:53 -08:00
Michael Lange
3d9ed6e57e
Integration tests for the body job part
2018-02-06 10:53:52 -08:00
Michael Lange
40c8149520
Trim the parent job prefix off the child job names when displaying them
2018-02-06 10:53:52 -08:00
Michael Lange
1f5e9998e9
State periodic or parameterized as the job type when applicable
2018-02-06 10:53:52 -08:00
Michael Lange
64b99276ca
Clean up force launch button
2018-02-06 10:53:51 -08:00
Michael Lange
09eeb49786
Differentiate between no search matches and no allocs on task group page
2018-02-06 10:53:51 -08:00
Michael Lange
abcfda9911
Add ability to force a periodic job launch
2018-02-06 10:53:51 -08:00
Michael Lange
732c61baf9
For now, the system job is identical to the service job
2018-02-06 10:53:51 -08:00
Michael Lange
a820ea7b13
Payload details for the parameterized child job detail page
2018-02-06 10:53:51 -08:00
Michael Lange
89a19fbe38
Breadcrumbs for the periodic child job page
2018-02-06 10:53:50 -08:00
Michael Lange
0d4a245f7c
Paginated and sortable table for job launches/children jobs
2018-02-06 10:53:50 -08:00
Michael Lange
995d07efc2
New job page components for parent jobs and batch jobs
2018-02-06 10:53:50 -08:00
Michael Lange
0e173f5da5
Fleshing out job page parts and differences
2018-02-06 10:53:50 -08:00
Michael Lange
6492611e39
Recreate the service job detail page using job part components
2018-02-06 10:53:50 -08:00
Michael Lange
25d9004d3a
Deconstruct the existing job detail page into common parts
...
This is to later compose job detail page variations
2018-02-06 10:53:49 -08:00
Michael Lange
67cee01f11
Use the children summary instead of alloc summary when applicable
2018-02-05 20:13:58 -08:00
Michael Lange
b5c7c5f3ce
Merge pull request #3777 from johncowen/f-ui-api-task-events-messages
...
UI: Make task-events use the `message` from the API rather than hardcoded
2018-02-05 18:36:41 -08:00
John Cowen
c7c465fb78
Make task-events use the message
from the API rather than hardcoded
...
The api has changed to send through a message for task-events. Use that
instead of rendering a message from within js dependent on the task
event type
2018-01-19 15:38:57 +00:00
John Cowen
abaae90be7
Address PR feedback
...
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
56890fbc6b
Add more assertions for basic message checking
2018-01-19 13:59:19 +00:00
John Cowen
9b0715ac44
Add in data-test attrs to hook into, decide on test case granularity
2018-01-19 13:59:19 +00:00
John Cowen
1f9a2064c6
Move cleanWhitespace to utils, readd data-test attribute for PF's
...
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00
John Cowen
7865038c6e
Move placement failures to a component, begin separate integration tests
...
1. Simple move of placement-failures template code to a component
2. Start adding integration tests - hit `inc` surprise
2018-01-19 13:59:19 +00:00
Michael Lange
20eebaeda1
Add breadcrumbs to the styleguide
2018-01-17 09:04:01 -08:00
Michael Lange
79ebf291e8
Reorganize the styleguide using components for sections
2018-01-17 09:04:01 -08:00
Michael Lange
c9ae29682c
Add boxed-section component to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
d2a26a6745
Add basic elements to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
a0b2433f42
Add jumbo distribution bar to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
5e02fc49b3
Move distribution bar styleguide material to a component
2018-01-17 09:04:00 -08:00
Michael Lange
124d8de8d8
Move button styleguide material to a component
2018-01-17 09:04:00 -08:00
Michael Lange
45f9214c2c
Use ember-test-selectors for integration tests
2018-01-17 09:03:59 -08:00
Michael Lange
76cd94a54e
Use data-test- selectors in acceptance tests
2018-01-17 09:03:59 -08:00
Michael Lange
ed756ce602
Replace nav with navbar
...
Bulma introduced navbar while deprecating nav in 0.4.3
Bulma removed deprecated nav in 0.6.0
2018-01-17 09:03:59 -08:00
Michael Lange
e4ddfafe9d
Replace custom breadcrumbs CSS with new Bulma provided CSS
2018-01-17 09:03:59 -08:00
Michael Lange
bfaf81df31
Merge pull request #3607 from hashicorp/f-ui-modify-time-over-modify-index
...
UI Use ModifyTime instead of ModifyIndex in allocation lists
2017-12-07 14:25:28 -08:00
Michael Lange
54cb23c577
Use ModifyTime instead of ModifyIndex
2017-12-06 10:17:12 -08:00
Michael Lange
4a88d3338c
Remove UTC timezone tag
2017-12-05 19:12:18 -08:00
Michael Lange
956e967ffd
Acceptance tests for evaluations
2017-11-29 20:12:45 -08:00
Michael Lange
bd7a474c28
Be clear about what the placment failures number next to task groups is
2017-11-29 20:12:12 -08:00
Michael Lange
4451265b79
List placement failures on the job detail page
2017-11-29 20:12:12 -08:00
Michael Lange
d1277ac933
Add a table of evaluations to the job detail page
2017-11-29 20:12:12 -08:00
Michael Lange
f747cc79e4
Revert "UI Placement failures""
...
This reverts commits
141ecd8d9170f56c8302b5c776532e6d287a40e3
d2d838c2de08aac716a9431d9720b5c12bb19ba1
8099db433641429816e8479c6d23116269f744c0
86262b3ceff607627a9c9e0e25eb81b9b5ee739c
eb4104ec528982e0ee6ae9a05fb0460e53139f3f
0e0e23e238017815bdb6dcfbc056275b3deaacca
6d45658d77fb4c40760a63cced71b74757356e48
b52a8176e85b9c6f13ec012f7fce2ec3df1c8751
2017-11-29 20:03:39 -08:00
Michael Lange
961926880a
Acceptance tests for evaluations
2017-11-29 19:46:28 -08:00
Michael Lange
3b184b974b
Be clear about what the placment failures number next to task groups is
2017-11-29 16:30:33 -08:00
Michael Lange
3a1652ba83
List placement failures on the job detail page
2017-11-29 16:30:33 -08:00
Michael Lange
1d5b67b9bf
Add a table of evaluations to the job detail page
2017-11-29 16:30:33 -08:00
Michael Lange
061de462c6
Integration tests for the task-log component
2017-11-21 11:22:42 -08:00
Michael Lange
ac1855f37c
Rename allocation-log to task-log
2017-11-21 11:22:42 -08:00
Michael Lange
d394b7e648
Updated styles for the cli-window component
2017-11-21 11:22:42 -08:00
Michael Lange
7c3f688ad6
Move logging logic from the controller to a component
2017-11-21 11:22:42 -08:00
Michael Lange
fc581163d6
First pass at the logs page
...
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange
dc5159292a
Add link to the task logs page
2017-11-21 11:22:41 -08:00
Michael Lange
71bc408f6c
Remold the allocation detail and task detail pages
...
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
9c58c30496
Update allocation detail page to look like job and node
2017-11-14 11:05:29 -08:00
Michael Lange
6a7bbe8afa
Create a new task route hierarchy
...
Drilling into a task from an allocation transitions to the task
heirarchy.
2017-11-14 11:04:40 -08:00
Michael Lange
ff69512ff3
Rename nodes routes to client routes
2017-10-27 18:39:04 -07:00
Michael Lange
fb2abbe0bc
Change app copy to say 'clients' instead of 'nodes'
2017-10-27 18:14:46 -07:00
Michael Lange
af870eeb32
Merge pull request #3428 from hashicorp/b-ui-missed-the-deployment-allocs
...
Add modified and version headers to deployment allocation table
2017-10-25 10:31:20 -07:00
Michael Lange
3503137dd2
Update the existing empty state messages to no longer mention tokens
...
There is no longer a way that these messages could show and tokens be the problem
2017-10-24 16:41:11 -07:00
Michael Lange
a6a34fbba0
Apply route-specific 403 handling to jobs, nodes, and servers
2017-10-24 16:41:11 -07:00
Michael Lange
53211f9175
Merge pull request #3439 from hashicorp/b-ui-hide-deployments-tab-based-on-type
...
Don't show the deployments tab for non-service jobs
2017-10-24 16:39:47 -07:00
Michael Lange
37c1b0a707
Merge pull request #3437 from hashicorp/f-ui-sort-server-tags
...
Sort server tags
2017-10-24 16:39:23 -07:00
Michael Lange
007cafac63
Don't show the deployments tab for non-service jobs
...
They can't have deployments, so the link makes no sense.
2017-10-24 12:35:29 -07:00
Michael Lange
ea58519840
Sort server tags
2017-10-24 12:04:08 -07:00
Michael Lange
7abf621441
On namespace change on a job detail page, redirect to /jobs
...
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00
Michael Lange
eb59f76601
Update all job links
2017-10-23 17:42:36 -07:00
Michael Lange
d967a9eb30
Redo the logic around showing namespaces
...
Don't show namespaces if the only namespace is `default`
2017-10-23 17:42:36 -07:00
Michael Lange
a475d59513
Switch from href-to to link-to for QP persistence
...
See this issue: https://github.com/intercom/ember-href-to/issues/62
2017-10-23 17:42:35 -07:00
Michael Lange
3d3617019f
Add the new alloc row headers to the deployment allocations table
2017-10-19 17:35:58 -07:00
Michael Lange
8c6c54ff07
Add job version to allocation tables
2017-10-18 12:29:33 -07:00
Michael Lange
094de84c98
Use the right footer pagination styles on task group page
2017-10-18 11:45:02 -07:00
Michael Lange
f842d009a4
Add ModifyIndex as a sortable column for alloc tables
2017-10-18 11:45:02 -07:00
Michael Lange
a10466a68d
Sort allocation by status type, not simply alphanumeric
2017-10-18 11:45:01 -07:00
Michael Lange
b8d13e3229
Show real usage numbers as tooltips
2017-10-17 10:17:42 -07:00
Michael Lange
85f66ffa94
Use /acl/token/self instead of /acl/token/:accessor_id
2017-10-16 13:27:52 -07:00
Michael Lange
f7feebb1ad
Redo acceptance testing for ACL tokens
2017-10-16 13:27:52 -07:00
Michael Lange
d177cf90c3
Redo the tokens page to be a form that validates a token and lists policies
2017-10-16 13:27:51 -07:00
Michael Lange
1f6ce06744
Specialized error for 403s that links to the ACLs page
2017-10-12 17:24:32 -07:00
Michael Lange
f081bf57ec
Merge pull request #3358 from hashicorp/f-ui-namespaces
...
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Lange
bdbc4dfec7
Add a generic catch-all error message
2017-10-12 12:34:10 -07:00
Michael Lange
5c1d103253
Sync the active namespace as a query param on the jobs list page
2017-10-11 14:06:46 -07:00
Michael Lange
aabd56a92d
Custom alpha sort with default always on top
2017-10-11 14:06:46 -07:00
Michael Lange
61b988fbb8
Gracefully handle the 501 case
...
Enterprise endpoints return a 501 in the open source build. 5xx
errors throw by default, so handle this one since it's expected
for things such as namespaces.
2017-10-11 14:06:46 -07:00
Michael Lange
2340504da8
Replace simple dropdown namespace switcher with ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
ef55cb910f
Make namespace a relationship of job
2017-10-11 13:45:03 -07:00
Michael Lange
7e0d526c10
Refresh the jobs model on namespace change
2017-10-11 13:45:03 -07:00
Michael Lange
b43b0ba6a4
Add a namespace switcher to the gutter menu
2017-10-11 13:45:03 -07:00
Michael Lange
0941c7bec1
Merge pull request #3323 from hashicorp/f-ui-loading-states
...
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange
16c92fc1bb
Merge pull request #3321 from hashicorp/f-ui-error-states
...
Better error state for allocation stats failure
2017-10-05 17:51:15 -07:00
Michael Lange
fc5fb7bde9
Handle errors in the application route
...
This is the only way to preserve the URL in all cases.
2017-10-05 14:39:06 -07:00
Michael Lange
877cbe6fbc
Add a loading state to job information on allocation row.
...
This information is already loaded when traversing to an alloc row from
a job, but not when traversing to an alloc row from a node.
2017-10-03 17:18:33 -07:00
Michael Lange
74fce03d4d
Simple loading state for job details in a job row
2017-10-03 16:24:30 -07:00
Michael Lange
e16fe35539
Loading templates in places
2017-10-03 16:20:45 -07:00
Michael Lange
a08d2b5512
Better error state for allocation stats
2017-10-03 15:55:10 -07:00
Michael Lange
ba34cff0bd
New tooltip scss component
2017-10-03 15:55:10 -07:00
Michael Lange
89b7c3ae70
New loading spinner
...
Courtesy of SpinKit: https://github.com/tobiasahlin/SpinKit
2017-10-03 15:53:46 -07:00
Michael Lange
60f4cb8a0a
Empty state for allocations search on task group detail
2017-10-02 12:44:07 -07:00
Michael Lange
c05a09ce33
Empty states for servers
2017-09-29 19:20:28 -07:00
Michael Lange
973e9afb09
Empty states for clients
2017-09-29 18:33:57 -07:00
Michael Lange
315b2ea9d6
Add empty states to the job list page
2017-09-29 17:41:29 -07:00
Michael Lange
819fceeac5
Migrate tests over to native helpers as much as possible
2017-09-26 11:59:41 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00