diff --git a/ui/app/templates/clients/client/index.hbs b/ui/app/templates/clients/client/index.hbs
index 974714e4f5ff..63ca0fb748e1 100644
--- a/ui/app/templates/clients/client/index.hbs
+++ b/ui/app/templates/clients/client/index.hbs
@@ -431,7 +431,7 @@
{{#if a.item.attributes.attributesStructured}}
{{else}}
@@ -454,7 +454,7 @@
@@ -464,7 +464,7 @@
{{else}}
diff --git a/ui/app/templates/components/attributes-table.hbs b/ui/app/templates/components/attributes-table.hbs
index 7ff899c8eeb4..cab625f4fa95 100644
--- a/ui/app/templates/components/attributes-table.hbs
+++ b/ui/app/templates/components/attributes-table.hbs
@@ -1,4 +1,4 @@
-
+
diff --git a/ui/app/templates/components/job-deployment-details.hbs b/ui/app/templates/components/job-deployment-details.hbs
index 87bd0baf55ec..8d83e16b3c2b 100644
--- a/ui/app/templates/components/job-deployment-details.hbs
+++ b/ui/app/templates/components/job-deployment-details.hbs
@@ -1,5 +1,5 @@
{{yield (hash
- metrics=(component "job-deployment/deployment-metrics" deployment=this.deployment)
- taskGroups=(component "job-deployment/task-groups" deployment=this.deployment)
- allocations=(component "job-deployment/deployment-allocations" deployment=this.deployment)
+ metrics=(component "job-deployment/deployment-metrics" deployment=@deployment)
+ taskGroups=(component "job-deployment/task-groups" deployment=@deployment)
+ allocations=(component "job-deployment/deployment-allocations" deployment=@deployment)
)}}
diff --git a/ui/app/templates/components/job-deployment/deployment-allocations.hbs b/ui/app/templates/components/job-deployment/deployment-allocations.hbs
index 7cf6549f1726..8f22b45b140d 100644
--- a/ui/app/templates/components/job-deployment/deployment-allocations.hbs
+++ b/ui/app/templates/components/job-deployment/deployment-allocations.hbs
@@ -4,7 +4,7 @@
|
diff --git a/ui/app/templates/components/job-deployment/task-groups.hbs b/ui/app/templates/components/job-deployment/task-groups.hbs
index 019abc40b979..95205b9b75d0 100644
--- a/ui/app/templates/components/job-deployment/task-groups.hbs
+++ b/ui/app/templates/components/job-deployment/task-groups.hbs
@@ -4,7 +4,7 @@
Name |
diff --git a/ui/app/templates/components/reschedule-event-timeline.hbs b/ui/app/templates/components/reschedule-event-timeline.hbs
index a030d55b4467..8aa844b55c43 100644
--- a/ui/app/templates/components/reschedule-event-timeline.hbs
+++ b/ui/app/templates/components/reschedule-event-timeline.hbs
@@ -1,29 +1,29 @@
- {{#if this.allocation.nextAllocation}}
+ {{#if @allocation.nextAllocation}}
+ @allocation={{@allocation.nextAllocation}}
+ @time={{@allocation.nextAllocation.modifyTime}} />
{{/if}}
- {{#if this.allocation.hasStoppedRescheduling}}
+ {{#if @allocation.hasStoppedRescheduling}}
-
{{x-icon "warning" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
{{/if}}
- {{#if (and this.allocation.followUpEvaluation.waitUntil (not this.allocation.nextAllocation))}}
+ {{#if (and @allocation.followUpEvaluation.waitUntil (not @allocation.nextAllocation))}}
-
{{x-icon "clock" class="is-info is-text"}} Nomad will attempt to reschedule
-
- {{moment-from-now this.allocation.followUpEvaluation.waitUntil interval=1000}}
+
+ {{moment-from-now @allocation.followUpEvaluation.waitUntil interval=1000}}
{{/if}}
+ @time={{@allocation.modifyTime}} />
- {{#each (reverse this.allocation.rescheduleEvents) as |event|}}
+ {{#each (reverse @allocation.rescheduleEvents) as |event|}}
diff --git a/ui/config/optional-features.json b/ui/config/optional-features.json
index 015413b19969..b26286e2ecdf 100644
--- a/ui/config/optional-features.json
+++ b/ui/config/optional-features.json
@@ -2,5 +2,5 @@
"application-template-wrapper": false,
"default-async-observers": true,
"jquery-integration": false,
- "template-only-glimmer-components": false
+ "template-only-glimmer-components": true
}
diff --git a/ui/package.json b/ui/package.json
index 0bba44caf56f..4e66569999f4 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -136,6 +136,9 @@
"engines": {
"node": "10.* || >= 12"
},
+ "ember": {
+ "edition": "octane"
+ },
"private": true,
"ember-addon": {
"paths": [
diff --git a/ui/stories/components/table-configuration.stories.js b/ui/stories/components/table-configuration.stories.js
index 005f4ec138c3..bb943a8446ad 100644
--- a/ui/stories/components/table-configuration.stories.js
+++ b/ui/stories/components/table-configuration.stories.js
@@ -8,7 +8,7 @@ export let TableConfiguration = () => {
return {
template: hbs`
Table, configuration
-
+
`,
context: {
attributes: {
diff --git a/ui/tests/integration/attributes-table-test.js b/ui/tests/integration/attributes-table-test.js
index 5690473c3225..c129e6143340 100644
--- a/ui/tests/integration/attributes-table-test.js
+++ b/ui/tests/integration/attributes-table-test.js
@@ -28,7 +28,7 @@ module('Integration | Component | attributes table', function(hooks) {
test('should render a row for each key/value pair in a deep object', async function(assert) {
this.set('attributes', commonAttributes);
- await render(hbs``);
+ await render(hbs``);
const rowsCount = Object.keys(flatten(commonAttributes)).length;
assert.equal(
@@ -40,7 +40,7 @@ module('Integration | Component | attributes table', function(hooks) {
test('should render the full path of key/value pair from the root of the object', async function(assert) {
this.set('attributes', commonAttributes);
- await render(hbs``);
+ await render(hbs``);
assert.equal(find('[data-test-key]').textContent.trim(), 'key', 'Row renders the key');
assert.equal(find('[data-test-value]').textContent.trim(), 'value', 'Row renders the value');
@@ -61,7 +61,7 @@ module('Integration | Component | attributes table', function(hooks) {
test('should render a row for key/value pairs even when the value is another object', async function(assert) {
this.set('attributes', commonAttributes);
- await render(hbs``);
+ await render(hbs``);
const countOfParentRows = countOfParentKeys(commonAttributes);
assert.equal(