Commit Graph

63 Commits

Author SHA1 Message Date
Michael Lange
f9f9fbd62e Merge pull request #4081 from hashicorp/b-ui-service-breadcrumbs
UI: Service job breadcrumbs + errant open connections
2018-03-29 15:08:14 -07:00
Michael Lange
8e6f561b8a Add missing js class for System that extends AbstractJobPage 2018-03-28 16:46:35 -07:00
Michael Lange
e1b7feef25 Remove now unnecessary summary fallback
Ember Data 2.18 fixed the underlying bug
2018-03-28 15:20:02 -07:00
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
9e961fe0ef Ensure the task group is present whenever an allocation row is rendered 2018-03-15 14:03:14 -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
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
d29942f1cc Change from the setupController hook to the new startWatchers hook 2018-03-08 10:40:31 -08:00
Michael Lange
01de2ea257 Toggle polling in components when switching away from the tab 2018-03-08 10:40:31 -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
a2976dae85 Watch nodes and allocs on the nodes list page 2018-03-05 09:32:03 -08:00
Michael Lange
421f082a9c Address headers and ID bugs 2018-03-02 16:28:39 -08:00
Michael Lange
5dd83fd9cd Set slices after merging the selection 2018-03-02 16:21:37 -08:00
Michael Lange
6c3a09123a Json viewer isn't side effect free, so use a copy 2018-03-02 16:21:37 -08:00
Michael Lange
3c2a1f8a4a Fix existing tests 2018-03-02 16:21:36 -08:00
Michael Lange
dbc9903ae9 Cancel watch tasks when appropriate 2018-03-02 16:21:36 -08:00
Michael Lange
b675d97400 Watch for summary changes in job-row 2018-03-02 16:21:35 -08:00
Michael Lange
27a32a76f1 Fix distribution-bar bugs found with live data
- Key data using datum label
  (when something goes from number, to zero, to number again)
- Retain active and inactive classes across data updates
2018-03-02 16:21:34 -08:00
Michael Lange
66d0eabe34 Re-render chart whenever data changes 2018-03-02 16:21:13 -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
5346f653a5 Fallback to using the nomad server for log streaming
Only when the client isn't accessible
2018-02-26 12:23:47 -08:00
Michael Lange
de27385801 Inject system so namespace shows up on job detail components 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
35f388a712 Trim the parent job prefix off the child job names when displaying them 2018-02-06 10:53:52 -08:00
Michael Lange
52380527b2 Add ability to force a periodic job launch 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
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
552b958d67 Specialized children-status-bar variant of the allocation-status-bar 2018-02-05 20:13:58 -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
Michael Lange
cff01570d6 Fix a class name bug in the distribution bar 2018-01-17 09:04:00 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
8100dc94e4 Update the reason why the router service is still not used 2018-01-17 09:02:04 -08:00
Michael Lange
534376ac62 Don't dot twice after an @each 2018-01-17 09:02:03 -08:00
Michael Lange
f75123026d Expand the entire job definition by default 2017-12-07 14:06:51 -08:00
Michael Lange
0193e05834 Rename allocation-log to task-log 2017-11-21 11:22:42 -08:00
Michael Lange
249d2a3a01 Acceptance tests for task logs 2017-11-21 11:22:42 -08:00
Michael Lange
80e925467f Microscopic refactor for style reasons 2017-11-21 11:22:42 -08:00
Michael Lange
b3abd78316 Let the log component fill all available height 2017-11-21 11:22:42 -08:00
Michael Lange
20ac6c07df Move logging logic from the controller to a component 2017-11-21 11:22:42 -08:00
Michael Lange
c6591dc7a8 Address a couple asynchronicity issues 2017-10-23 17:42:36 -07:00
Michael Lange
4382e696e7 Always provide a valid value for transform 2017-10-18 11:45:02 -07:00