Bug 1172389 - [RFE] Add the "last saved query per main tab" functionality to the UI
Summary: [RFE] Add the "last saved query per main tab" functionality to the UI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: 3.6.0
Assignee: Alexander Wels
QA Contact: Petr Matyáš
URL:
Whiteboard: ux
Depends On: 878129
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 01:06 UTC by Einav Cohen
Modified: 2016-02-10 19:47 UTC (History)
18 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764
Doc Type: Enhancement
Doc Text:
Clone Of: 878129
Environment:
Last Closed: 2015-11-04 11:41:06 UTC
oVirt Team: UX
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 36073 0 master MERGED webadmin: save search query Never

Description Einav Cohen 2014-12-10 01:06:31 UTC
+++ This bug was initially created as a clone of Bug #878129 +++

today, when moving between one main tab to another, the search query is being "reset" to the "default" search-query associated with each main tab. 
e.g. when selecting the Hosts main tab, search query will be "reset" to the Hosts' main-tab default search query, i.e. "Hosts:". 

the request here is: upon selection of main tab "x", update the search query to the last search query that was applied while on main tab "x". 

example:

- login to the application
- [VMs main tab is displayed by default, search query is "VMs:"]
- change search query to: "VMs: name = a". apply search. 
- [VMs main grid is filtered based on the newly-applied search query]
- select the Hosts main tab
- [Hosts main tab is displayed, search query is changed to "Hosts:"]
- change search query to: "Hosts: cluster = Default or cluster = b*". apply search. 
- [Hosts main grid is filtered based on the newly applied search query]
- select the VMs main grid
- [VMs main tab is displayed]
  - [** current results: search query is changed to "VMs:"]
  - [** expected results: search query is changed to the last VMs query: "VMs: name = a"]
- select the Hosts main grid
- [Hosts main tab is displayed]
  - [** current results: search query is changed to "Hosts:"]
  - [** expected results: search query is changed to: "Hosts: cluster = Default or cluster = b*"]

note:

only query texts in the System context (i.e. when the 'System' tree-node is selected in the System tree) need to be remembered. 
when going into the tree-context (i.e. selecting something other than System), 
need to retain the current behavior. same for the tags-tree context.

Comment 1 Vojtech Szocs 2014-12-15 17:55:20 UTC
This RFE reminds me of another (somewhat similar) RFE where users could control search query via URL -> bookmark-able WebAdmin URLs that set search query to given value: https://bugzilla.redhat.com/1081028

Comment 2 Sandro Bonazzola 2015-11-04 11:41:06 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


Note You need to log in before you can comment on or make changes to this bug.