Commit Graph

351 Commits

Author SHA1 Message Date
Brian Federle 9f18b075a9 List view: Fix advanced search not popping up with multiple panels 2014-01-27 13:33:12 -08:00
Jessica Wang a2b3e3a60d CLOUDSTACK-5840: UI > Secondary Storages > remove "prepareObjectStoreMigration" action (since prepareSecondaryStorageForMigration API has been removed from server-side). 2014-01-10 10:45:19 -08:00
Brian Federle 7e4407d3dd CLOUDSTACK-5532: Tag UI: Truncate long tag key/value 2013-12-17 11:15:41 -08:00
Brian Federle 6ad0e4913e CLOUDSTACK-5276: Remove wrong select column from LB/PF list select 2013-12-16 14:04:53 -08:00
Brian Federle 44f71f06e2 CLOUDSTACK-5477: Fix view all link breaking detail view
Fixes issue where 'view all' link permanently writes properties to
cloudStack namespace, causing breakage when viewing detail view from
another location.
2013-12-13 10:37:40 -08:00
Brian Federle 248195fcd7 List view: Fix context not being passed correctly to header actions pre-filter 2013-12-10 15:20:39 -08:00
Brian Federle d09d21847c Detail view: Allow passing error with custom action's complete fn 2013-12-06 12:34:31 -08:00
Chris Suich ee607646c9 Added load vs refresh context for dataProviders
CLOUDSTACK-5384
2013-12-05 11:16:50 -08:00
Brian Federle 2ed41270ce Detail view: Fix error on refresh from async action
Fixes error on detail view actions when list view subsection has a custom ID
2013-12-04 09:39:52 -08:00
Brian Federle 10cd11637a CLOUDSTACK-5266: Fix quickview not working for VR sections 2013-12-04 09:00:16 -08:00
Chris Suich 4ecf6df5f6 Fixed issue with ListView 'needsRefresh' overlays not being removed
JIRA-5368
2013-12-04 07:38:03 -08:00
Brian Federle 285c06865c List view: Support passing custom ID to detail view context
For section select list views, if 'id' is specied under section: {},
then use that ID instead of the section's key ID. This allows sections
to use i.e. the same ID as each other for a consistent context ID.
2013-11-21 13:56:29 -08:00
Chris Suich 5fb7c29726 Fixed issue with detail view fields marked as 'isPassword' not being obfuscated
CLOUDSTACK-5111
2013-11-14 12:17:00 -08:00
Brian Federle 599dd1a6e6 multiEdit: extend field hide/show functionality
-Support passing isHidden option as closure, for conditional hide/show
 based on context

-Adds new option format for isHidden option:

return false == show field and all columns (default)
return true == hide only header and form column
return 2 == hide header and form, as well as returned item column -- these
item columns will be skipped over entirely, not just hidden
2013-11-05 14:35:05 -08:00
Brian Federle ccab740129 List view: Fix refresh not loading multi-select column 2013-10-31 16:40:00 -07:00
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
Brian Federle f930ccda99 Multiselect: Fix size and alignment on select column 2013-10-31 13:28:06 -07:00
Jessica Wang ad51b8edfb CLOUDSTACK-4966: UI: (1) detailView widget: extend detailView widget to support destroy action that will close detailView and remove item from listView when toRemove parameter is passed.
(2)Destroy Instance action: add expunge option for root-admin and domain-admin. When expunge is set to true, instance will be expunged right after destroyed.
2013-10-25 13:48:50 -07:00
Brian Federle f185eac4b5 Quickview: Fix positioning 2013-10-24 15:52:54 -07:00
Brian Federle 71a38b74c3 Browser widget: Modify behavior
-For better screen real-estate, make all
 browser panes open to full width of content area by default, unless
 partial: true is passed in options

-Remove animation effect, for quicker browsing
2013-10-24 15:52:54 -07:00
Jessica Wang 5133812c85 CLOUDSTACK-4649: UI > (1) detailView widget: pass $detailView property in action.action({}).
(2) Edit Template action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
(3) Edit Instance action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
2013-10-23 12:51:08 -07:00
Jessica Wang 7edb4d377f CLOUDSTACK-4024: UI > (1) detailView widget - add action handler for prepareObjectStoreMigration.
(2) Infrastructure > Secondary Storage > add new action prepareObjectStoreMigration and show it when provider is NFS.
2013-10-23 11:46:42 -07:00
Jessica Wang 12189074b2 CLOUDSTACK-4889: UI > (1) extend listView widget to support option of hiding/showing search box. (2) Hide search box in UCS Blades tab. 2013-10-17 15:18:45 -07:00
Chris Suich 58f287c62f Commiting multi select stuff for inital review 2013-09-27 16:57:44 -07:00
Jessica Wang 9b81c91e31 CLOUDSTACK-4700: UI > Instances > Reset VM action > if the template from which vm is created is password-enabled, pop up "Password hsa been reset to xxxxxxx" dialog. 2013-09-18 11:42:14 -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
Jessica Wang 12e295d757 CLOUDSTACK-4687: UI > listView widget > actions in a grid row > when an action is completed, refresh the grid row with only data returned by getUpdatedItem() instead of combination of data returned by getUpdatedItem() and original embedded data in grid row. 2013-09-16 13:59:05 -07:00
Jessica Wang 3f4ef406cf CLOUDSTACK-4102: UI > widget > extend dialog widget to have dynamic description. 2013-08-22 15:04:18 -07:00
Jessica Wang efde50fa1e CLOUDSTACK-4092: UI > listView widget: fix a bug that a grid row was incorrectly removed when a non-add action of listView failed. 2013-08-07 11:09:40 -07:00
Brian Federle 554c8b7ac1 CLOUDSTACK-2340: Display service state for health-checked VMs 2013-08-05 11:42:46 -07:00
Brian Federle bcfe4c2e99 CLOUDSTACK-3153: Fix numbering of ACL items
Re-number dragged items in increments of ten, and use an average of
the previous and next number, so that multiple reorders can occur
before conflicts happen.
2013-07-24 11:04:40 -07:00
Brian Federle dfdbf20b67 Add disallowSpecialCharacters to some fields 2013-07-23 15:12:58 -07:00
Isaac Chiang 39a730ccd1 CLOUDSTACK-3388:No error message shows when a dedicate operation failed during the creation of a pod/cluster 2013-07-22 15:33:48 +08:00
Ian Duffy ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Brian Federle 9e5449c347 Detail view: Fix context not being refreshed on perform action 2013-07-08 15:53:14 -07:00
Brian Federle c94cb0fc41 CLOUDSTACK-3153: On reorder, only update target ACL item's number 2013-07-08 10:58:04 -07:00
Brian Federle 41a8cc7c69 Multi-edit: edit rule UI: fix regression and restore functionality 2013-07-01 14:35:10 -07:00
Jessica Wang 6ea38bff16 reverts commit 7e96bf5f19 which causes regression of CreateAccount dialog. 2013-06-27 09:50:57 -07:00
Brian Federle 7e96bf5f19 CLOUDSTACK-3170: Support editing ACL rule items 2013-06-26 12:28:37 -07:00
Jessica Wang 0b4e0b307f BUG-ID: CS-17733 - make detailView widget to pass jsonObj to tagger widget, so dataProvider in tagger widget is able to pass projectid to listTags API.
Reviewed-by: Brian
2013-06-24 11:30:35 -07:00
Brian Federle 231c4b5b10 CLOUDSTACK-2716: Truncate long values
For cases such as in global setting values, truncate long text if new
option 'truncate: true' is specified in field properties. This will
reduce td's max-width and add ellipses. Edit field on truncate: true
columns will overflow into action column, to prevent input area from
being too cramped.
2013-06-18 15:16:35 -07:00
Brian Federle b7def43427 CLOUDSTACK-2080: Fix error handling for multi-edit actions 2013-06-18 13:48:07 -07:00
Isaac Chiang 2fb18db7b1 CLOUDSTACK-2976: At zone level setting same parameter page is getting
displayed repeatedly when you scroll down
2013-06-16 23:04:33 +08:00
Brian Federle 88a62ab890 List view widget: Support 'listView' selection for actions 2013-06-05 16:20:05 -07:00
Brian Federle dfdb8a967e CLOUDSTACK-1742: Better text labels for secondary IP UI 2013-06-04 16:06:48 -07:00
Brian Federle ea440f2593 Add API calls to update ACL item order on drag-and-drop 2013-05-22 15:50:19 -07:00
Brian Federle b88da4e1c1 VPC UI: Reload chart on perform detailView action 2013-05-21 15:36:50 -07:00
Brian Federle dfa93b52a8 Detail view actions: Add support listView selection
Adds a new dialog 'cloudStack.dialog.listView'

-- Supports displaying a list view in a popup dialog, for selecting
   items for an action (i.e., selecting VMs for an LB rule). Arguments
   are a list view object and the 'type' of selection: either
   'checkbox' or 'radio'

Example:

detailView: {
  name: 'Internal Lb details',
  actions: {
    assignVm: {
      label: 'Assign VMs to LB',
      messages: {
        notification: function(args) { return 'Assign VM to internal LB rule'; }
      },
      listView: $.extend(true, {}, cloudStack.sections.instances.listView, {
        type: 'checkbox',
        filters: false
      }),
      action: function(args) {
        args.response.success();
      },
      notification: {
        poll: function(args) {
          args.complete();
        }
      }
    }
  },
  ...
}
2013-05-21 15:07:21 -07:00
Brian Federle 451c83c998 Fix listView add/replace row for VPC section 2013-05-21 12:52:55 -07:00