Commit Graph

25 Commits

Author SHA1 Message Date
Brian Federle 0019e42ce0 Notification area: Show more detail in errors
-Show actual error message (if available) in the notification item

-Minor layout/padding tweaks
2013-10-31 16:17:52 -07:00
Brian Federle 1a7872d189 Notifications: New alert style
-Move corner alert to pop up under notification area, intead of in the
 window corner, for better visibility

-Give alert box tooltip appearance
2013-10-31 15:55:26 -07:00
Jessica Wang 4f61396c61 CLOUDSTACK-4688: UI > (1) Notifications widget - pollTimer() - error handling - check if args is null before trying to access args.message property (2) sharedFunctions.js - pollAsyncJobResult() - error handling - pass message argument to args.error(). 2013-09-17 16:38:33 -07:00
Ian Duffy ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Jessica Wang 06a733a89f CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-12 16:00:48 -08:00
Brian Federle 7e704d1b3d Fade-in notification widget on show 2012-10-15 10:05:24 -07:00
Brian Federle e626291a34 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:57 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Brian Federle fc0327677a Cleanup whitespace + indentation for UI widgets 2012-04-03 15:35:36 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
bfederle 504e90b7cc Sanitize input for multi-edit, notification widgets 2012-03-14 16:11:22 -07:00
bfederle 35765419d1 Disable notification interval if in 'debug' mode (for unit tests) 2012-03-09 11:27:39 -08:00
Brian Federle 667d8188e2 More UI widget localization 2012-02-14 16:00:52 -08:00
Brian Federle 8246aff812 Add missing localization for notifications labels 2012-02-14 12:01:04 -08:00
Brian Federle 4c05adaac0 Error appearance for notifications corner alert 2012-02-10 15:00:29 -08:00
Brian Federle d2284e4439 UI: localization
-Put localization wrappers around listView, detailView widgets

-Add initial localization for instances section
2012-02-09 10:39:59 -08:00
bfederle 3650861cb1 Refactor notification handling
-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
2011-12-22 09:00:28 -08:00
bfederle c60501e950 UI widgets: support event-based notifications
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();
  }
});
2011-12-22 08:41:40 -08:00
Brian Federle 77ee3cedd5 Clean up UI error handling
Restore error messages for widgets -- as the default error handler
will be overridden if an error fn is specified, thus rendering no
message
2011-12-09 08:04:23 -08:00
Brian Federle c067758a34 bug 12309: Implement generic error handling 2011-12-02 14:59:06 -08:00
Brian Federle e9b1ff2848 Misc. fixes for error handling:
-Add error handling to multi-edit widget
-Add error handling for projects UI actions
2011-11-29 14:02:32 -08:00
Brian Federle 3ac7fb889b Add error handling to notifications widget 2011-11-17 16:21:19 -08:00
Brian Federle a594369d93 Updated zone chart 2011-11-10 11:02:24 -08:00
Brian Federle 28521a3819 Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
Brian Federle 29f510772c Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00