Change in ovirt-engine[ovirt-engine-3.6]: webadmin: auto-scroll SetupNetworks interfaces list during d...

tnisan at redhat.com tnisan at redhat.com
Tue Jan 19 08:02:34 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: webadmin: auto-scroll SetupNetworks interfaces list during drag-and-drop
......................................................................


webadmin: auto-scroll SetupNetworks interfaces list during drag-and-drop

When a host has more the 6 network interfaces, the Setup Host Networks
popup dialog needs to scroll to access all of the interfaces.  During
a drag-and-drop of a logical network or network label, the interface
list did not allow scrolling.  This patch adds auto-scroll handling so
a user can access all of the host's available interfaces.

To auto-scroll the interfaces list:
  1. start a drag operation on a logical network, label or
     interface
  2. move the mouse pointer close to the top of the interface list
     to auto scroll the list down
  3. move the mouse pointer close to the bottom of the interface list
     to auto scroll the list up

Scroll will stop when the drag operation is complete or the mouse
is moved outside the autoscroll zone.

Change-Id: I2c6fe977f014309659d5559d4609d9361a43274e
Bug-Url: https://bugzilla.redhat.com/1249895
Signed-off-by: Scott J Dickerson <sdickers at redhat.com>
---
A frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/AutoScrollAdapter.java
A frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/AutoScrollDisableEvent.java
A frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/AutoScrollEnableEvent.java
A frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/AutoScrollOverEvent.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostSetupNetworksPopupView.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/panels/NetworkGroup.java
6 files changed, 315 insertions(+), 17 deletions(-)

Approvals:
  Alexander Wels: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Scott Dickerson: Verified



-- 
To view, visit https://gerrit.ovirt.org/52390
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c6fe977f014309659d5559d4609d9361a43274e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Scott Dickerson <sdickers at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Scott Dickerson <sdickers at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list