Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 953989 - PRD33 - Events main tab / sub-tabs Must Support the UI Plug-in Model
PRD33 - Events main tab / sub-tabs Must Support the UI Plug-in Model
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs (Show other bugs)
3.2.0
All Unspecified
unspecified Severity high
: ---
: 3.3.0
Assigned To: vszocs
Jiri Belka
ux
: FutureFeature
Depends On:
Blocks: 894399 975673 978804 1019470
  Show dependency treegraph
 
Reported: 2013-04-19 15:33 EDT by Keith Robertson
Modified: 2015-09-22 09 EDT (History)
13 users (show)

See Also:
Fixed In Version: is4
Doc Type: Enhancement
Doc Text:
Previously, the user interface plug-in API did not support integration with the main Events tab and its individual sub-tabs, both of which are standard tab types in the Administration Portal. This resulted in user interface plug-ins being unable to use 'add action button' functionality for these tab types, including context-sensitive buttons located in the action panel of the main tab and sub-tabs and context-sensitive menu items triggered by right-clicking the main tab or sub-tabs. With this update, the plug-in API has been updated to enable 'add action button' for the above tabs, allowing user interface plug-ins to integrate with the Events tab and its sub-tabs via the action button concept.
Story Points: ---
Clone Of:
: 975673 (view as bug list)
Environment:
Last Closed: 2014-01-21 12:17:57 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Test UI Plugin (806 bytes, application/x-gzip)
2013-06-17 13:07 EDT, vszocs
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 15810 None None None Never
Red Hat Product Errata RHSA-2014:0038 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 17:03:06 EST

  None (edit)
Description Keith Robertson 2013-04-19 15:33:05 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.
Comment 1 vszocs 2013-05-09 12:21:41 EDT
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', { ... });
Comment 2 Spenser Shumaker 2013-05-13 13:40:06 EDT
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.
Comment 3 vszocs 2013-05-15 11:53:55 EDT
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.
Comment 4 vszocs 2013-06-17 13:07:15 EDT
Created attachment 762102 [details]
Test UI Plugin

A plugin that verifies addSubTab, addMainTabActionButton and addSubTabActionButton API functions.
Comment 5 Jiri Belka 2013-07-29 08:49:48 EDT
ok, is6.
Comment 6 Charlie 2013-11-27 19:22:27 EST
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.
Comment 7 errata-xmlrpc 2014-01-21 12:17:57 EST
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

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