Horizon Ajax cleanup

Bug #1442146 reported by Sam Betts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Sam Betts

Bug Description

Clean up of horizon Ajax code to allow for better management of many tasks that have to wait for each other to finish.

Sam Betts (sambetts)
Changed in horizon:
assignee: nobody → Sam Betts (sambetts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/172067

Changed in horizon:
status: New → In Progress
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Sorry for the noise there, got my tabs muddled.

Changed in horizon:
status: In Progress → Fix Released
status: Fix Released → In Progress
importance: Undecided → Medium
Revision history for this message
kennychu (kenny-chu123) wrote :

Hi, I hit an issue that can't scroll table when launch mass instances.
Use cli 'nova list' found I had over 8000 instances that included terminated instances.
And it cost about 30 seconds to get data. Is my issue related the bug ?

Changed in horizon:
assignee: Sam Betts (sambetts) → Rob Cresswell (robcresswell)
Changed in horizon:
assignee: Rob Cresswell (robcresswell) → Sam Betts (sambetts)
Changed in horizon:
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/172067
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=574228c1ba2e7649ae1a1180b15bdef7ae5bda5c
Submitter: Jenkins
Branch: master

commit 574228c1ba2e7649ae1a1180b15bdef7ae5bda5c
Author: Sam Betts <email address hidden>
Date: Thu Apr 9 14:20:16 2015 +0100

    Use JQuery promise/deferred objects to track AJAX

    The JQuery library offers objects known as deferred for tracking
    multiple call backs, this can be used with AJAX to track cases when we
    only want to do something once multiple requests are complete such as
    re-calling the datatables update method.

    This also allows for us to track the completed state of a request in the
    ajax queue without injecting a custom completed callback into every
    request that is handled by the queue.

    Change-Id: I7d5acb6d05a5822b2de7d73678797166276ac599
    Closes-Bug: 1442146

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
milestone: next → newton-2
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b2

This issue was fixed in the openstack/horizon 10.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.