Bug 767924

Summary: webadmin: please allow column resizing
Product: [Retired] oVirt Reporter: Einav Cohen <ecohen>
Component: ovirt-engine-webadminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, ecohen, iheim, vszocs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-15 06:46:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Einav Cohen 2011-12-15 09:21:58 UTC
Description of problem:
column resizing & sorting should be allowed on all grids/sub-grids in the system.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Einav Cohen 2012-01-29 07:50:47 UTC
*** Bug 773628 has been marked as a duplicate of this bug. ***

Comment 2 Vojtech Szocs 2012-03-26 09:54:21 UTC
There's a column resize patch submitted in Gerrit: http://gerrit.ovirt.org/2433

All columns can be made resizable, but due to some CSS details, column widths need to be revisited for each grid to ensure everything looks the same as before.

As for column sorting, I assume it should be implemented client-side (no search query triggered on column sort), operating only on data present in the current data set. If this is the case, we can do Collections.sort() on the visible range of data within the grid and update the data.

Comment 3 Vojtech Szocs 2012-06-11 14:12:08 UTC
Submitted new patch for column resizing: http://gerrit.ovirt.org/5243

Comment 4 Vojtech Szocs 2012-06-11 14:56:27 UTC
Created attachment 590960 [details]
Resizable columns in action (video)

Attaching a video that shows resizable columns in action (using FireFox 10).

There's a FireBug "Inspect HTML" panel open in the bottom part of the screen. This panel shows how table "colgroup", containing proportional column widths, is updated during column resize operation.

The video illustrates:
- locating column's resize bar area
- trying to resize 1st and 3rd column below minimum column width
- resizing last column
- resetting column width with double click on resize bar area

Comment 5 Vojtech Szocs 2012-09-25 16:21:13 UTC
1. upstream patch that introduces resizable column support [awaiting review]: http://gerrit.ovirt.org/5243

2. upstream patch that enables column resizing for all main tab grids [awaiting review]: http://gerrit.ovirt.org/8199

Comment 6 Vojtech Szocs 2012-10-03 18:14:12 UTC
Above mentioned u/s patches merged.

Comment 7 Einav Cohen 2013-01-10 13:54:30 UTC
the fix is only about column-resizing, not sorting -> changing subject accordingly, opened bug 893999 to track column sorting.

Comment 8 Itamar Heim 2013-01-16 16:09:55 UTC
3.2 beta built, moving to ON_QA status to allow testing