Summary: | [RFE] Improve UI plugin API for adding action buttons | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Vojtech Szocs <vszocs> | ||||||
Component: | Frontend.WebAdmin | Assignee: | Vojtech Szocs <vszocs> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | future | CC: | apinnick, bugs, gshereme, lsvaty, tjelinek | ||||||
Target Milestone: | ovirt-4.3.0 | Keywords: | FutureFeature | ||||||
Target Release: | 4.3.0 | Flags: | rule-engine:
ovirt-4.3?
rule-engine: planning_ack? rule-engine: devel_ack+ lsvaty: testing_ack+ |
||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | ovirt-engine-4.3.0_alpha | Doc Type: | Enhancement | ||||||
Doc Text: |
The current release of the User Interface Plugin API provides greater control over the placement of action buttons.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2019-03-26 07:17:47 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | UX | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Attachments: |
|
Description
Vojtech Szocs
2018-04-24 16:56:28 UTC
Updated example on controlling button order (priority renamed to index, according to posted patches): api.addMenuPlaceActionButton('VirtualMachine', 'Test Button', { index: 0 }); Created attachment 1437489 [details]
Test UI plugin
Created attachment 1437490 [details]
Test UI plugin
Attached test UI plugin to ease BZ verification. Please check plugin code in test-resources/start.html and adapt if necessary. To verify, check that button placement is correct (see attached screenshot). Verified in ovirt-engine-4.3.2.1-0.1.el7.noarch ovirt-engine-webadmin-portal-4.3.2.1-0.1.el7.noarch Verified with provided test plugin in attachment 1437489 [details] The button placement is correct, the added buttons are placed as can be seen in screenshot in attachment 1437490 [details] This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |