Commit Graph

929 Commits

Author SHA1 Message Date
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
Buck Doyle
caa410a64f Merge pull request #5715 from hashicorp/b-precommit-linting
Restore precommit linting
2019-05-15 16:44:19 -05:00
Buck Doyle
b1656d0e2d Restore precommit linting
The two pairs of quotes were causing no files to match.
2019-05-15 14:48:16 -05:00
Buck Doyle
3782919a48 Change clients/jobs facets to always right-align
This changes the templates so the element that contains
the search box is always present, instead hiding only
the box itself when there’s nothing to search. Keeping
the empty element lets it take up its flexbox space so
the facets will no longer be in the centre.
2019-05-15 13:25:30 -05:00
Michael Lange
f88c4d7648 Fixed flaky client-detail test
Since one allocation is preempted, the alloc factory creates a new alloc
that wasn't guaranteed to be running. When it is the first alloc row in
the table, then the alloc row detail test fails because non-running
allocs don't have metrics. The fix was to manually update all the alloc
clientStatuses.
2019-05-09 10:26:55 -07:00
Conor Mongey
aa4c1288f3 Return a htmlSafe string rather than use triple curlies 2019-05-02 21:47:24 +01:00
Conor Mongey
d2323e0cb8 Converts ANSI terminal codes to HTML in logs 2019-05-02 21:47:23 +01:00
Michael Lange
4166a715fb Updated serializer unit tests 2019-04-22 17:20:52 -07:00
Michael Lange
d092723f89 Test coverage for preemption on the client detail page 2019-04-22 16:40:10 -07:00
Michael Lange
5aa938e121 Test coverage for preemption on the allocation detail page 2019-04-22 16:40:09 -07:00
Michael Lange
c7e1598ed3 Preemption modeling as page objects 2019-04-22 16:40:08 -07:00
Michael Lange
d4ae0a2819 Integration test for the alloc row icon 2019-04-22 16:40:07 -07:00
Michael Lange
4c773a1f3c Add preemption properties to Mirage allocation factory 2019-04-22 16:40:07 -07:00
Michael Lange
4752950cae Show which allocations an allocation preempted on the alloc page 2019-04-22 16:40:06 -07:00
Michael Lange
400deae4ce Show which alloc, if any, preempted an alloc on the alloc detail page 2019-04-22 16:40:05 -07:00
Michael Lange
7ae2081282 Preemptions count and filtering on client detail page
Show the count in the allocations table next to the existing total alloc
count badge. Clicking either will filter by all or by preemptions.
2019-04-22 16:40:04 -07:00
Michael Lange
a33b105181 Add preempted icon to alloc row 2019-04-22 16:40:04 -07:00
Michael Lange
dca386ca70 Make sure tooltips show up over the top of the side bar 2019-04-22 16:40:03 -07:00
Michael Lange
384a0e5a54 Add wasPreempted bool to allocs 2019-04-22 16:40:02 -07:00
Michael Lange
c456c5eed0 Show preemptions on the job plan phase of job submission 2019-04-22 16:40:01 -07:00
Michael Lange
cf1d4a3a1e Data modeling for preemptions 2019-04-22 16:40:00 -07:00
Michael Lange
daa9f7d520 Speed up slow acceptance tests with shallow jobs and generally less models 2019-04-11 20:08:43 -07:00
Michael Lange
aba4882dcb Introduce the concept of 'shallow' job models in Mirage 2019-04-11 20:08:09 -07:00
Michael Lange
768bfdf87d Reduce the number of task groups and task events that are made 2019-04-11 18:15:35 -07:00
Michael Lange
54e89a5004 Upgrade to Node 10, latest LTS 2019-04-10 14:54:38 -07:00
Michael Lange
6cba965ff3 Don't remove viewBox from svgs as part of svgo 2019-04-10 14:54:38 -07:00
Michael Lange
3b5f7f637d Upgrade ember-concurrency 2019-04-10 14:54:38 -07:00
Michael Lange
514e8aae91 Major upgrade, ember-cli-sass; swiches to sass-dart 2019-04-10 14:54:38 -07:00
Michael Lange
513f882f1a Upgrade third party packages 2019-04-10 14:54:37 -07:00
Michael Lange
56500bd04b Upgrade eslint to v5 2019-04-10 14:54:37 -07:00
Michael Lange
a4c5410323 Upgrade ember addons 2019-04-10 14:54:37 -07:00
Michael Lange
baf5077a32 Manually upgrade fringe dependencies 2019-04-10 14:54:37 -07:00
Michael Lange
b0a65bdb62 Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00
Michael Lange
542f124071 Auto-upgrade packages 2019-04-10 14:54:36 -07:00
Michael Lange
4c9a026e55 Rethink the adapter job unit tests to avoid notifyPropertyChange 2019-04-10 14:54:36 -07:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
d5896208a1 Kind of address the sendAction deprecation 2019-04-10 14:54:35 -07:00
Michael Lange
e74873f9c1 Address the Ember.Logger deprecations 2019-04-10 14:54:35 -07:00
Michael Lange
23729ad5a7 Address the copy/copyable deprecation 2019-04-10 14:54:35 -07:00
Michael Lange
6d63a420bf Commit the deprecation workflow to prevent fixed deprecations from creeping back in 2019-04-10 14:54:35 -07:00
Michael Lange
7e6a4f74fc Address inflector deprecations 2019-04-10 14:54:35 -07:00
Michael Lange
cf44c5449c Address test failures 2019-04-10 14:54:35 -07:00
Michael Lange
30bcacfb92 Address template linting issues 2019-04-10 14:54:34 -07:00
Michael Lange
67372fc12c Override default template lintrc (borrowed this one from vault) 2019-04-10 14:54:34 -07:00
Michael Lange
467a7b3c90 Upgrade miscellaneous packages 2019-04-10 14:54:34 -07:00
Michael Lange
c408a212d7 Update ember-data-model-fragments 2019-04-10 14:54:34 -07:00
Michael Lange
2fce7c7495 Upgrade to Ember 3.4 2019-04-10 14:54:34 -07:00
Michael Lange
2474ecae4d Remove all andThen and .then usages (except for integration tests)
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange
1e669bb56b Fix bug in the stats-tracker-frame-mising behavior 2019-04-10 14:54:33 -07:00