Commit Graph

123 Commits

Author SHA1 Message Date
Michael Lange
50ef5ede6e 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
fc85a81a90 Poll for allocation stats 2018-03-22 14:34:57 -07:00
Michael Lange
d53af6d037 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
1c0d133f25 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
8be0c5a999 Job row should denote when a parent job has no children 2018-03-20 16:41:18 -07:00
Michael Lange
78b2c63836 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
030e229f5e 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
6e88f3846c 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
c8693ba525 Make task page breadcrumbs extend the allocation breadcrumbs 2018-03-13 16:36:26 -07:00
Michael Lange
79ecf47936 Make allocation pages extend the job breadcrumb trail 2018-03-13 16:36:26 -07:00
Michael Lange
efeb5abbcb Fix a bug where job links didn't always include the namespace QP 2018-03-13 16:34:01 -07:00
Michael Lange
220790f3fa Merge pull request #3936 from hashicorp/f-ui-polling
UI: Live updating views
2018-03-08 13:27:02 -08:00
Michael Lange
9cd5632d69 Add polling to the deployments page 2018-03-05 09:32:04 -08:00
Michael Lange
88df7fe537 Fix preexisting bugs that only surfaced once live updating started 2018-03-05 09:32:03 -08:00
Michael Lange
b675d97400 Watch for summary changes in job-row 2018-03-02 16:21:35 -08:00
Michael Lange
054bb87eaf 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
f61f2f78a5 In the event the server also times out, show an error message 2018-02-27 13:38:31 -08:00
Michael Lange
8616fbe4ce Cleanup following review 2018-02-26 16:35:41 -08:00
Michael Lange
1283b1c908 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
7136a0c12f Meta params table in Client view 2018-02-06 18:04:57 -08:00
Michael Lange
b7f57ec3b6 Integration test for periodic job force launch 2018-02-06 10:53:53 -08:00
Michael Lange
82de00720e Tests for the summary job page part 2018-02-06 10:53:53 -08:00
Michael Lange
3907f39c9a Integration tests for the body job part 2018-02-06 10:53:52 -08:00
Michael Lange
35f388a712 Trim the parent job prefix off the child job names when displaying them 2018-02-06 10:53:52 -08:00
Michael Lange
d264c43eae State periodic or parameterized as the job type when applicable 2018-02-06 10:53:52 -08:00
Michael Lange
dc0fa160f9 Clean up force launch button 2018-02-06 10:53:51 -08:00
Michael Lange
60cb1ac27e Differentiate between no search matches and no allocs on task group page 2018-02-06 10:53:51 -08:00
Michael Lange
52380527b2 Add ability to force a periodic job launch 2018-02-06 10:53:51 -08:00
Michael Lange
d7b9283488 For now, the system job is identical to the service job 2018-02-06 10:53:51 -08:00
Michael Lange
3fc0910ee7 Payload details for the parameterized child job detail page 2018-02-06 10:53:51 -08:00
Michael Lange
fbd166bc9b Breadcrumbs for the periodic child job page 2018-02-06 10:53:50 -08:00
Michael Lange
ab22e95bbf Paginated and sortable table for job launches/children jobs 2018-02-06 10:53:50 -08:00
Michael Lange
b4bdc61594 New job page components for parent jobs and batch jobs 2018-02-06 10:53:50 -08:00
Michael Lange
0ea1d0daaf Fleshing out job page parts and differences 2018-02-06 10:53:50 -08:00
Michael Lange
bb1e0d66b6 Recreate the service job detail page using job part components 2018-02-06 10:53:50 -08:00
Michael Lange
ec35b5a02f 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
eae275f719 Use the children summary instead of alloc summary when applicable 2018-02-05 20:13:58 -08:00
Michael Lange
c4d8ebeb4f 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
61d7f93a29 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
74b14d0856 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
3ce79e9337 Add more assertions for basic message checking 2018-01-19 13:59:19 +00:00
John Cowen
0a9faaa805 Add in data-test attrs to hook into, decide on test case granularity 2018-01-19 13:59:19 +00:00
John Cowen
1307970412 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
f0363675ef 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
249fe6fd94 Add breadcrumbs to the styleguide 2018-01-17 09:04:01 -08:00
Michael Lange
c8fcb4c710 Reorganize the styleguide using components for sections 2018-01-17 09:04:01 -08:00
Michael Lange
89118a0505 Add boxed-section component to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
ab6c443edf Add basic elements to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
a6e8007d06 Add jumbo distribution bar to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
62dbb27365 Move distribution bar styleguide material to a component 2018-01-17 09:04:00 -08:00