Red Hat Bugzilla – Bug 953989
PRD33 - Events main tab / sub-tabs Must Support the UI Plug-in Model
Last modified: 2015-09-22 09:09 EDT
1. Proposed title of this feature request Event Viewer Must Support UI Plug-in Model 2. Who is the customer behind the request? Red Hat 3. What is the nature and description of the request? All of the other TABs in the Webadmin console support the new UI plug-in model; however, the event viewer does not. We need the event viewer to be plug-able so that we can diagnose the faults therein. 4. Why does the customer need this? (List the business requirements here) Diagnostic services. 5. How would the customer like to achieve this? (List the functional requirements here) Ensure that the admin console's event viewer is compliant with the existing plug-in model. 6. List any affected packages or components. The Red Hat Support Plug-in for RHEV is adversely affected by the fact that the event viewer is not plug-able. 7. Would the customer be able to assist in testing this functionality if implemented? Yes.
I assume this is about adding custom context-sensitive buttons/menu-items to existing Event-related tab(s). Currently, we have addMainTabActionButton API function for main tabs. Currently, this API function doesn't support "Events" main tab, this RFE is intended to add support for this main tab: api.addMainTabActionButton('Event', 'Button/menu-item label', { ... onClick: function() { ... }, isEnabled: function() { ... }, ... }); Keith, do we also need to support adding custom context-sensitive buttons/menu-items to existing Event-related *sub* tabs? If the answer is yes, we'll have to introduce new API function for this purpose: // Add action button to Cluster Event sub-tab api.addSubTabActionButton('Cluster', 'Event', 'Button/menu-item label', { ... });
We would like to be able to add Action buttons in both main-tabs and sub-tabs. Anywhere the user can access events, there will be value added by being able to "Diagnose" the event using our services.
Thanks Spenser, so we will need to improve existing addMainTabActionButton API + add new addSubTabActionButton API. Both API functions should support all table-based main/sub tabs.
Created attachment 762102 [details] Test UI Plugin A plugin that verifies addSubTab, addMainTabActionButton and addSubTabActionButton API functions.
ok, is6.
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance.
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. http://rhn.redhat.com/errata/RHSA-2014-0038.html