Commit Graph

395 Commits

Author SHA1 Message Date
Brian Federle b04cc75065 CLOUDSTACK-7526: Fix missing localization on 'add' button 2014-09-15 13:02:27 -07:00
Mihaela Stoica 75cd79a238 CLOUDSTACK-7520: [UI] keep advanced search parameters visible after search has been run.
- Preserve the advanced search parameters, so that when the advanced search box is shown again,
it is populated with the values selected/entered previously, unless they have navigated away from the search results page,
or applied any additional filters/search parameters.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-09-10 15:37:35 +05:30
seif c319c0b3e0 Make using a hint (or no results) text more flexible 2014-08-18 15:07:03 -06:00
seif f2781a5ce3 Update the hint appropriately 2014-08-18 12:48:14 -06:00
seif aadb5f4ad5 GUI modifications related to host tags 2014-08-17 23:44:35 -06:00
seif fd6d083ad6 GUI changes to leverage a new control for storage tags 2014-08-17 17:18:51 -06:00
Mihaela Stoica 3bcd22bdaf Added the ability to show warning (exclamation mark) icon on confirmation dialogs.
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-14 14:04:22 -07:00
Brian Federle cf8a00cbfd Quickview: Fix action error handling not removing loading state 2014-08-12 15:20:56 -07:00
Brian Federle d9fcb87730 CLOUDSTACK-6590: Fix view all link for multi-item detail view
-- Specifically, this fixes issue where secondary IP 'view all' link was
   not displaying, due to a change in the rows' CSS naming conventions
   in the widget.
2014-08-12 13:20:54 -07:00
Mihaela Stoica af37743045 CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-12 11:36:45 -07:00
Brian Federle 2a01fd4c51 Quick view: remove extra padding area
Remove extra 'buffer zone' around quick view tooltip. This was
causing misleading behavior in some cases, due to the cursor being
hovered over a different row while another row's quick view was
still open
2014-07-17 11:42:32 -07:00
Brian Federle b58371e520 List view: Fix action pre-filter for multiselect actions
Evaluates pre-filter for individual actions (i.e., when action.preFilter is specified)
every time a multi-select row is checked orunchecked. This allows multi-select
actions to be shown/hidden on a per-row basis.
2014-07-15 13:30:56 -07:00
Brian Federle 36e5cc2b6a Fix for non-grouped detail view
Fix issue where non-grouped detail page (i.e., instances stats page)
doesn't load due to the fields being passed as an object, not an array.
2014-07-14 15:49:07 -07:00
Brian Federle ab8036b766 List view: View subselect on infinite scrolling
Fixes issue where outdated context is passed to subselect's data provider
when infinite scroll event loads more data items. Now, context is derived
from DOM data directly instead of in the args.
2014-07-10 16:43:31 -07:00
Brian Federle ad051e8504 List view: Fix infinite scrolling
Fixes condition where, on 'refresh' of list view, infinite scrolling no longer
works due to leftover state prior to refresh. Now page # and end-of-list
indicator are stores in DOM object, for easier cleanup
2014-07-02 16:02:52 -07:00
Brian Federle 667347d17e List view: Fix issue with multiple selection actions
Fixes issue where duplicate and/or incorrect list view entries were
being passed due to list view object not being referenced relatively for
multi-select actions, causing more than one list being passed at times.
2014-07-01 11:44:38 -07:00
Brian Federle bc4be5272b Detail view: support per-action filtering
Adds support for adding preFilter on a per-action basis, to assist in
plugin development. If action.preFilter function is passed, and returns
true/false, the action is shown/hidden. If no preFilter is specified,
then the action will be passed through the detail view's standard filter.

Example:

testAction: {
    label: 'Test Action',
    ...
    preFilter: function(args) {
        return false; // Action will be hidden
    },
    ...
}
2014-06-18 14:02:16 -07:00
Brian Federle 6fcd4fbe7b List view: Pass ID to action pre-filters 2014-06-18 11:52:06 -07:00
Brian Federle 04b1e31682 List view, multiSelect: Fix issue where $listView isn't always referenced 2014-06-16 14:11:56 -07:00
Brian Federle 8cf5192a6f List view, multiselect: Only reference elements relative to $listView 2014-06-16 14:07:29 -07:00
Brian Federle cd17061916 Detail view: Cleanup old tab content on change
Add event handler on tab change to remove all old tab content. This prevents
potential conflicts with referencing widget data caused by old content laying
around.
2014-06-12 13:33:21 -07:00
Brian Federle 2ac0013505 List view: multi-select actions: Show loading icon during action 2014-06-05 12:29:20 -07:00
Brian Federle c312aa95c2 List view->Detail view: Add new parameter 'noPanelView'
Adds 'noPanelView' option for detail view connected to list view. When
specified, don't support opening the detail view in a new browser pane (i.e.,
only render quickview).
2014-06-03 11:25:57 -07:00
Brian Federle 0b5163f8cf Tree view: Add event hook on sub-item removal 2014-05-29 14:02:47 -07:00
Brian Federle e656fd67a0 Tree view: Add event hook on sub-item creation 2014-05-29 12:53:36 -07:00
Brian Federle 8a6926606e Treeview widget: Fix condition where browser is not present 2014-05-28 14:55:37 -07:00
Brian Federle 53ba037f86 Detail view: Fix case where view all link referenced wrong details object 2014-05-28 11:41:51 -07:00
Brian Federle c769b32e70 List view: Support rendering data cells as a list
If array is passed in field data, render the table cell as a list.

Example:

dataProvider: function(args) {
    args.response.success({ data: [ fieldA: ['i1', 'i2', ...] ] })
}
2014-05-22 15:10:33 -07:00
Brian Federle 2c54e5e2c5 Detail view: Slice (clone) fields array to prevent duplicate fields 2014-05-16 08:27:03 -07:00
Brian Federle 3ab526433c Detail view: Add event hook on field creation 2014-05-16 08:20:48 -07:00
Dariusz Nejbauer 41684505d6 CLOUDSTACK-3932: UI: Fix Truncation issue in secondary storage URL
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-05-05 12:15:37 -07:00
Brian Federle 4f45c972c3 CLOUDSTACK-6438: Filter out existing IPs in dropdown 2014-05-01 15:40:47 -07:00
Brian Federle 5335ae7753 List view, dialog VM select: Widen name field to better fit IP subselect box 2014-04-24 11:30:20 -07:00
Brian Federle e35bec515f CLOUDSTACK-6342: UI changes for secondary IP on LB rules
This is front-end only; API call changes still need to be done.
2014-04-15 14:42:11 -07:00
Jessica Wang 14f27997dc CLOUDSTACK-6342: UI - Load Balancing - LB rule listing - pass lbvmips=true to listLoadBalancerRuleInstances API and display "VM + IP Address" under each LB rule. 2014-04-08 11:13:09 -07:00
Gabor Apati-Nagy e65d6bd3a8 CLOUDSTACK-6227 (Add copy-paste support for detail view fields):
DetailView widget now supports bool isCopyPaste property that can be set
for fields. If this is set to true, the text of this field is displayed
using ellipsis formatting* and a copy-paste icon is available right next
to it. On clicking this icon, the full text is displayed

*: tooltip is also enabled showing the original non-ellipsed value
2014-03-28 10:15:19 -07:00
Brian Federle f34f001371 Fix incorrect context being passed to hosts->instances section
Fixes issue where, if an action is being performed from the quick view in the
'Instances' section, the old context will be passed when viewing instances in
the 'hosts' section, causing all instances to be displayed. This was caused
by the quickview tooltip still being in the DOM, even after closing it by
clicking an action.
2014-03-18 14:31:28 -07:00
Jessica Wang 415e4bffd6 CLOUDSTACK-6226: UI > multi widget > dropdown field > translate option value. 2014-03-11 11:19:00 -07:00
vetrivelc 182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00
Jessica Wang e2b13a344a CLOUDSTACK-6120: UI > listView widget > reorder list > drap to new position > fix a JS error "map1 is undefined". 2014-02-20 13:35:52 -08:00
Brian Federle b01720d936 listView: Fix 'addRow' event being triggered under wrong scope 2014-02-19 14:36:23 -08:00
Jessica Wang e1e16a2301 CLOUDSTACK-6120: UI > listView widget > sorting order > fire only one sorting API call(updateXXXXXXX&sortKey=n&id=UUID) for items who have the same UUID.
e.g. An Template/ISO of multiple zones have the same UUID.
2014-02-14 12:55:53 -08:00
Brian Federle c2c7d33d8e Detail view UI: Fix embedded list view actions
Fixes case when detail view has an embedded list view with action, that
the action is handled by detail view instead of list view, causing
unexpected behavior
2014-02-05 11:47:04 -08:00
Brian Federle 25d8e3d7db Browser UI: Fix broken breadcrumb navigation
Fix breadcrumb navigation becoming stuck when going back a couple
levels, due to previous panels not being removed from the DOM
2014-01-28 11:54:12 -08:00
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