Bug 1285499
| Summary: | [RFE] Replace column control up/down arrows with drag'n'drop behavior | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Vojtech Szocs <vszocs> |
| Component: | Frontend.WebAdmin | Assignee: | Vojtech Szocs <vszocs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | future | CC: | bugs, eheftman, oourfali, pnovotny, ykaul |
| Target Milestone: | ovirt-4.1.0-alpha | Keywords: | FutureFeature |
| Target Release: | 4.1.0 | Flags: | sbonazzo:
ovirt-4.1?
pnovotny: testing_plan_complete+ rule-engine: planning_ack? rule-engine: devel_ack+ pnovotny: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Previously, the column control menu in the Administration Portal, which is accessed by right-clicking on a column header in any of the tables, contained arrows for controlling the order of the columns. In this release, the order of the columns in this menu can be defined by dragging and dropping the column to the required position within the menu.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-01 14:45:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | UX | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1172390 | ||
| Bug Blocks: | 1416026 | ||
|
Description
Vojtech Szocs
2015-11-25 19:06:29 UTC
We can leverage jQuery [1] to implement DnD behavior. [1] https://jqueryui.com/draggable/ if this is too much effort to develop in our current UI, I would prefer to rely on PatternFly's data-table once we will use it. (In reply to Einav Cohen from comment #2) > if this is too much effort to develop in our current UI, I would prefer to > rely on PatternFly's data-table once we will use it. It's not really a big effort, considering that we already use jQuery in "column control" context menu implementation [1]. [1] org.ovirt.engine.ui.common.widget.table.ColumnContextMenu It's only a matter of removing up/down buttons and utilizing jQuery "draggable" as mentioned in comment #1. (Infra for re-arranging GWT table columns is already there, this is just a non-infra visual change.) (In reply to Einav Cohen from comment #2) > if this is too much effort to develop in our current UI, I would prefer to > rely on PatternFly's data-table once we will use it. Looking at DataTables [1] (jQuery plugin), the column visibility & position control can be achieved by DataTables extension called "ColReorder" [2] and I don't think this extension (or any extensions in general) is shipped through PatternFly. [1] http://datatables.net/ [2] http://datatables.net/extensions/colreorder/examples/ http://datatables.net/extensions/colreorder/examples/styling/bootstrap.html http://datatables.net/extensions/colreorder/examples/integration/colvis.html The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified. Verified in rhevm-4.1.0.2-0.1.el7.noarch ovirt-engine-webadmin-portal-4.1.0.2-0.1.el7.noarch Column re-arranging is now done via drag'n'drop instead of the up/down arrows. |