Bug 1067927

Summary: Don't show the "new schedule" and "new definition" buttons for dashboard portlets
Product: [Other] RHQ Project Reporter: Jirka Kremser <jkremser>
Component: Core UI, UsabilityAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-23 12:30:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jirka Kremser 2014-02-21 12:05:23 UTC
Description of problem:
Portlets for displaying recent alerts and recent operations uses the same underlying UI component as common Alerts/History or Operations/History tabs. However, the "new schedule" and/or "new definition" doesn't make sense in this context, because the entity context is not known here. Hence, the buttons should not be visible in this use case.


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


How reproducible:
always


Steps to Reproduce:
1. navigate to dashboard
2. click on 
3a. "new definition" button on Recent Alerts portlet
  or
3b. "new schedule" button on Recent Operations portlet

Actual results:
exception

Expected results:
buttons should be hidden

Comment 1 Jirka Kremser 2014-02-21 12:27:56 UTC
branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=09edce00c
time:    2014-02-21 13:08:39 +0100
commit:  09edce00cd96d5eda4f0a3560e511640ba6392da
author:  Jirka Kremser - jkremser
message: [BZ 1067927 - Don't show the "new schedule" and "new definition" buttons
         for dashboard portlets - Hiding the buttons for "global"
         dashboard and at the same time making it work for the resource
         specific dashboard Summary/Activity tab. Also disabling the
         button for group versions of the portlets.

Comment 2 Heiko W. Rupp 2014-04-23 12:30:21 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.