Periodically check item status if it in transition state
Several Angular based dashboards, such as images and snapshots,
not regenerated after some item on this page changes its status
from transition state.
For example, an image may be shown forever in the "Creating" state
with running progress bar. To improve UI this patch re-upload items
list until some item in transition state.
If status of item changed, then 'trackBy' field changed and
Angular will re-render row with this particular item with
ng-repeat-start directive and won't re-render all entire page.
Reviewed: https:/ /review. opendev. org/610096 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ff4644261fa d4e68817ee48210 0c2a819c0a0a5e
Committed: https:/
Submitter: Zuul
Branch: master
commit ff4644261fad4e6 8817ee482100c2a 819c0a0a5e
Author: BubaVV <email address hidden>
Date: Tue Oct 16 16:34:18 2018 +0300
Periodically check item status if it in transition state
Several Angular based dashboards, such as images and snapshots,
not regenerated after some item on this page changes its status
from transition state.
For example, an image may be shown forever in the "Creating" state
with running progress bar. To improve UI this patch re-upload items
list until some item in transition state.
If status of item changed, then 'trackBy' field changed and
Angular will re-render row with this particular item with
ng-repeat-start directive and won't re-render all entire page.
Change-Id: I2308baebb65b11 180d66bd69d8343 86022c2ad84
Closes-bug: #1797592