Commit Graph

17 Commits

Author SHA1 Message Date
Michael Lange
856743983e Create new AbortController with each tick of the ec task loops
This was a disturbing discovery. Requests in watch loops would recycle
AbortControllers meaning once any request was aborted, all requests
forever after were skipped. I noticed it with deployments and job
summary on the job detail page.

I suspect this regression occurred when jQuery was removed. This needs
test coverage still to make sure it doesn't happen again.
2020-06-18 22:08:27 -07:00
Michael Lange
505510915b Replace XHRToken with AbortController 2020-05-21 10:35:39 -07:00
Michael Lange
278b8499c6 Protect against making watch requests using adapters that don't extend Watchable 2020-05-14 14:36:38 -07: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
Michael Lange
3c1de2df91 Standardize on Abort over Cancel 2019-05-20 11:08:16 -07:00
Michael Lange
c68962078a Replace the adapter cancellation methods with a cancellation token system 2019-05-20 10:29:22 -07:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
f29f4351f1 Error messages for job submit 2018-08-15 15:18:38 -07:00
Michael Lange
95dc5da201 Add an env var to toggle blockingQueries support
Mostly helpful when working with mirage
2018-07-05 11:18:09 -07:00
Michael Lange
421f082a9c Address headers and ID bugs 2018-03-02 16:28:39 -08:00
Michael Lange
3c2a1f8a4a Fix existing tests 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
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
5bf5448c1f Move watch tasks into a utils file 2018-03-02 16:21:34 -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
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00