Michael Lange
01de2ea257
Toggle polling in components when switching away from the tab
2018-03-08 10:40:31 -08:00
Michael Lange
a6319f3fcb
Wire up the job summary
2018-03-08 10:40:31 -08:00
Michael Lange
c86469725d
New mixins for managing tab visibility effects
2018-03-08 10:40:31 -08:00
Michael Lange
4b3b49bff6
Merge pull request #3938 from hashicorp/f-ui-polling-everywhere
...
UI: Polling Step 2 - Polling on all views
2018-03-08 10:33:49 -08:00
Michael Lange
40977d82f7
Patch tests
2018-03-05 09:32:05 -08:00
Michael Lange
0cb485534b
Use willTransition instead of deactivate to cancel requests
...
deactivate happens _after_ the new route's model hook, which
results in the possibility of canceling new requests right
after they are made rather than existing open connections
2018-03-05 09:32:05 -08:00
Michael Lange
8fe4f76a17
Watch node and related allocations on the client detail page
2018-03-05 09:32:04 -08:00
Michael Lange
9390e092c7
Move node watching to the index page
...
It doesn't need to impact the entire route hierarchy
2018-03-05 09:32:04 -08:00
Michael Lange
e7a26ce8d1
Watch the allocation on the allocation and task pages
2018-03-05 09:32:04 -08:00
Michael Lange
5307803598
Watch job, job-summary, and job-allocs on the task group page
2018-03-05 09:32:04 -08:00
Michael Lange
093bd4128b
Move jobs polling from jobs to jobs.index
...
It's only necessary for the list view, not the entire route hierarchy
2018-03-05 09:32:04 -08:00
Michael Lange
9cd5632d69
Add polling to the deployments page
2018-03-05 09:32:04 -08:00
Michael Lange
e1c5a5de6c
Move job watchers to job.index
...
They are only for the overview page, not the whole hierarchy
2018-03-05 09:32:04 -08:00
Michael Lange
9658268192
Cancel a watch request before making an identical one
2018-03-05 09:32:04 -08:00
Michael Lange
34c712d5c5
Watch job versions
2018-03-05 09:32:03 -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
594b9916ad
Go through the expected normalization paths when watching relationships
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
2f93deaeb9
Merge pull request #3893 from hashicorp/f-ui-polling-foundation
...
UI: Background Polling Step 1 - Foundational support & jobs
2018-03-03 18:17:05 -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
47dad64cab
Add tests for findHasMany store culling
2018-03-02 16:21:37 -08:00
Michael Lange
7c51270876
Add tests for findAll store culling
2018-03-02 16:21:37 -08:00
Michael Lange
504ff2d4b7
Tests for watching and canceling requests
2018-03-02 16:21:37 -08:00
Michael Lange
0a0cea0f87
Watchable request helper for Mirage
2018-03-02 16:21:37 -08:00
Michael Lange
3c2a1f8a4a
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
60ee8714c1
Generalized solution for removing records in the local store
...
When the findAll response from the server no longer has them.
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
b69fe312b8
Watch properties cancel long poll requests
2018-03-02 16:21:36 -08:00
Michael Lange
ed809fe27e
Track xhrs in the watchable adapter and expose cancellation methods
2018-03-02 16:21:36 -08:00
Michael Lange
8a119d99ce
Remove stale records from the store for findHasMany requests
2018-03-02 16:21:35 -08:00
Michael Lange
b675d97400
Watch for summary changes in job-row
2018-03-02 16:21:35 -08:00
Michael Lange
702228e878
Watch all records on the jobs list page
2018-03-02 16:21:35 -08:00
Michael Lange
5e4491ca2c
Remove records from the store when they are no longer in array responses
...
Ember Data doesn't do this by default, instead opting to be as
non-destructive as possible. However, this is desired behavior.
2018-03-02 16:21:35 -08:00
Michael Lange
bc2945756e
Blocking query support for findAll requests
2018-03-02 16:21:35 -08:00
Michael Lange
4dd6972a33
Make the throttle time configurable
2018-03-02 16:21:35 -08:00
Michael Lange
6bf66f9ec8
Add a watchAll computed property macro
2018-03-02 16:21:34 -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
5bf5448c1f
Move watch tasks into a utils file
2018-03-02 16:21:34 -08:00
Michael Lange
9b2080d41e
Prototype watching resources
...
- Service to manage X-Nomad-Index values
- Adapter method for reloading relationships with additional params
- Pattern for watching models and model relationships using EC
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
18782dd07b
Refactor job summary to a relationship
...
Now that blocking queries are going to be in play, We can no longer
pretend the two requests are one, since they have independent nomad
indices.
2018-03-02 16:21:13 -08:00
Michael Schurter
67b99d44c7
Merge pull request #3897 from hashicorp/f-docs-command-with-output
...
Removed text between command and output
2018-02-26 10:47:22 -08:00
Michael Schurter
2a959c21a6
Merge pull request #3902 from filipochnik/patch-1
...
Add missing backticks in cap_add and cap_drop docs
2018-02-26 09:45:37 -08:00
Filip Ochnik
b40a145c80
Add missing backticks in cap_add and cap_drop docs
2018-02-24 10:27:23 +01:00
Charlie Voiselle
005e0cf1d5
Removed text between command and output
...
Removed some low-value text between the example command and the sample output.
2018-02-22 16:36:13 -05:00
Charlie Voiselle
6a783e9574
Merge pull request #3704 from matosf/patch-1
...
removed duplicate stats command from output
2018-02-22 10:24:50 -05:00
Charlie Voiselle
8a7bb0fa15
Removing text between command and output
...
Per @dadgar's review and @matosf yielding in comments so we can get this correction merged.
2018-02-22 10:22:00 -05:00
Alex Dadgar
d72c1f1929
Merge branch 'master' of github.com:hashicorp/nomad
2018-02-20 16:39:09 -08:00