open-nomad/ui/app/templates/jobs/job
Michael Lange a9bf04675f Add a key to the alloc table on the task group detail page
Adding keys tells Ember to rerender matching entries instead of
destroying and recreating.

Without this key, every time the allocation collection changes, every
allocation row gets destroyed and recreated.

This happens a lot, since each allocation needs to be reloaded which
dirties the collection.

Since allocation rows fetch stats on init, each of these many many
renders results in a stats request.

By using key and rerendering matching records, this all goes away. Since
the rows aren't being destroyed and recreated, the init stats request
isn't being made overnumerously.
2020-06-19 11:27:57 -07:00
..
allocations.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
definition.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
deployments.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
evaluations.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
index.hbs UI: Add page titles (#5924) 2019-07-17 15:02:58 -05:00
loading.hbs Use page-layout for job routes 2018-07-30 13:13:52 -07:00
subnav.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
task-group.hbs Add a key to the alloc table on the task group detail page 2020-06-19 11:27:57 -07:00
versions.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00