Bug 636725

Summary: Dashboard - Discovery Queue: Ignore/Unignore buttons seem conceptually incorrect/non-intuitive
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: low    
Version: 4.0.0CC: mazz, mfoley
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 585306, 637173    

Description Corey Welton 2010-09-23 03:28:31 UTC
Description of problem:
* Once something is "Ignored" in the discovery queue, there doesn't seem to be a way to bring it back
* User can "unignore" resources that have been neither added nor ignored in the resource queue; this doesn't seem to make sense. 

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


How reproducible:


Steps to Reproduce:
1.  Add discovery queue portlet to your dashboard
2.  Register a new agent to your server; wait for the autodiscovery queue portlet to populate
3.  Expand the resource tree for the newly discovered agent 
4. Selectively Import some, but not all of the resources.  Leave at least two unimported.
5. For one of the remaining resources, click the Ignore button.
6. For any of the remaining resources, click the Unignore button
  
Actual results:
* Ignoring a resource causes it to go away - I see no way to bring it back
* "Unignoring" a resource that is still in the tree does nothing. 

Expected results:
* Should be a way to bring back a resource that has been ignored -- probably using the unignore function in some manner.
* The unignore button seems to serve no contextual purpose for resources that are neither inventoried nor ignored.

There should probably be some tabbed view, with all ignored resources listed there, or they should be in the tree but grayed out or something.  The current structure is bewildering.

Additional info:

Comment 1 John Mazzitelli 2011-02-15 15:56:36 UTC
commit 3e11593249769dda043a4332a44c9450ce0de708

the problem is the main Inventory>AutoDiscovery view had the drop down that let you view the ignored resources, but the portlet was missing that feature, thus it was confusing.

Now the portlet and main views both have the same "Show" drop down within the footer that allows you to show the ignored resources, thus making the "unignore" button meaningful and useful.

Comment 2 Mike Foley 2011-04-13 12:42:47 UTC
this is verified through interactive testing by following the reproduction steps.  imported some resources, ignored some resources, and was later able to view and import ignored resources.

Comment 3 Corey Welton 2011-05-24 01:14:03 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 4 Corey Welton 2011-05-24 01:14:04 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:14:07 UTC
Bookkeeping - closing bug - fixed in recent release.