yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13467
[Bug 1305735] Re: add AJAX support to WorkflowView post
Would such behavior be reliable? Are the any reasons to completely re-
fetch and reload all instances after the instance was added?
** Changed in: horizon
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/horizon/+question/246807
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1305735
Title:
add AJAX support to WorkflowView post
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
Currently horizon.workflows.views.WorkflowView post method does
redirection to success URL, thus forces full page reload(re-render of
index template). This is an expensive operation in many cases.
For example when creating Instance 'openstack_dashboard.dashboards.project.instances.views.LaunchInstanceView' :
the 'Launch Instance' redirects to /project/instances URL
that uses 'openstack_dashboard.dashboards.project.instances.views.IndexView' and template 'project/instances/index.html'
which invokes {{ table.render }}.
How much effort would it take to refactor the code to make an ajax
post from
openstack_dashboard.dashboards.project.instances.views.LaunchInstanceView.post
and update instances table with appropriate row(s)?
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1305735/+subscriptions
References