Rework zone wizard:
-Support creation of multiple physical networks via drag-and-drop UI
-Support configuration of traffic types
-Allow creation of complete zone resources -- pods, clusters, hosts,
storage -- in a similar fashion to the quick install
-Add requirements to support elastic load balancer
Rework zone details page:
-Convert old zone chart into a regular zone details pane, split into
multiple tabs
-Add zone-specific resources dashboard
-Allow display of multiple physical networks
Hide specific sections when in project view:
-Projects (list view)
-Accounts
-Domains
-System
-Global Settings
-Configuration
status 12520: resolved fixed
-Move 'addNotification' function from list view and detail view
widgets to a central location, cloudStack.ui.notifications.add, in
notifications.js, to avoid redundant code.
-Add helper method for triggering CloudStack-specific UI events
Triggering 'cloudStack.addNotification' adds a new UI notification, to
avoid having to specify DOM element containing the jQuery widget every
time. This event accepts same args as .notifications('add', ...)
Example:
$(window).trigger('cloudStack.addNotification', {
desc: 'Description',
interval: 1000,
poll: function(args) {
...
args.complete();
}
});
-Make zone list view open up basic zone details
-Show chart by clicking view all button
-Update UI widgets to support 'custom' view all actions, to support
above changes
-Add system VM list view tab to zone details
Implement preAction handler for list view/detail view actions. If the
function returns false, then do not proceed further on the action. It
is specified like this:
actions: {
...
preAction: function(args) {
cloudStack.dialog.notice({ message: "You can't do that!" });
return false;
},
action: function(args) { ... },
...
}
It currently passes in the standard args.context that you would get
with a standard action; note that this currently does not support
async server calls, so try to use current state data as much as
possible.
-Always unbind event if object isn't visible
-Use widget-specific refresh event for multi-edit actions, to prevent
other widgets from being refreshed unecessarily.
-In order to have the 'Apply' button always visible when editing data,
only put the main fields (i.e., everything except action bar and
apply button) into a scrollable container.
-Move apply button to bottom of detail view pane
Show notice if no VMs are selected in port forwarding/load balancing
-- prevent server call from being performed and 'infinite list' from
being generated
Bug was caused by a 'cloudStack.fullRefresh' event being triggered on
a non-existent edit widget, for a non-existent project. I changed the
widget to only refresh if the current instance is visible (i.e., most
likely the user still has active data for it)
-Add label if only one section select option is present
-Fix for broken context variable for accounts, security groups list
view -- broke detail and list views
-List view switcher now selects the first item from the select list,
not the first in the section object; this prevents a filtered-out
section from being displayed by default