Bug 1502304
| Summary: | [RFE] Show buttons only if certain condition exists (Button Filtering) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Loic Avenel <lavenel> | ||||
| Component: | UI - Service | Assignee: | Ohad Levy <ohadlevy> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Anurag <ansinha> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.8.0 | CC: | dclarizi, jhardy, lavenel, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | FutureFeature, RFE | ||||
| Target Release: | 5.9.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-03-01 13:19:54 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: | |||||||
| Attachments: |
|
||||||
|
Description
Loic Avenel
2017-10-15 15:01:31 UTC
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. This is a function of the API (as it will only return the buttons that are needed). However, in discussion of this, we wanted to add a 3rd state of disabled. Here is the PR for that - https://github.com/ManageIQ/manageiq-ui-service/pull/1012 Aziza, please work with Shveta on this one please. Assigning it to Anurag as it is API related. Created attachment 1359689 [details]
Screenshot
Hello Team,
This feature is working fine, verified on version: Version: 5.9.0.9.20171115202245_7429f75. Thanks for working on this enhancement feature :)
Thanks
-Anurag Sinha
Steps used for verification: 1.Create a custom button (Unassigned Button) for services 2.Provide an Enablement expression for disabling the custom button. (e.g: COUNT OF Service.VMs > 5000 ) 3.Add "Disabled Button Text" 4.Click on save 5.Login on to SSUI page 6.Goto Service and check the button is disabled 7.Hover over button to check the disable text. Hence the changing the state from on_qa to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0380 |