Bug 1067927 - Don't show the "new schedule" and "new definition" buttons for dashboard portlets
Summary: Don't show the "new schedule" and "new definition" buttons for dashboard port...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI, Usability
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHQ 4.10
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-21 12:05 UTC by Jirka Kremser
Modified: 2014-04-23 12:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-23 12:30:21 UTC
Embargoed:


Attachments (Terms of Use)

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.


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