Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1351044 - Customize template categories and icons in webconsole
Customize template categories and icons in webconsole
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Jessica Forrester
Johnny Liu
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-29 02:10 EDT by Jaspreet Kaur
Modified: 2017-03-08 13 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-18 07:41:16 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description Jaspreet Kaur 2016-06-29 02:10:19 EDT
3. What is the nature and description of the request?  

At the moment you have a set of predifined categories in the Openshift GUI (PHP, JBoss, NodeJS,...).  We would like to be able to add our own categories, for example Elasticsearch).  For those categories we would also want to be able to change the icon for those custom categories.

4. Why does the customer need this? (List the business requirements here)  

We would like to be able to highlight specific categories in the same way as current categories are highlighted at the moment.  Otherwise all our custom made templates will end up in the "other' category.

5. How would the customer like to achieve this? (List the functional requirements here)

Custom categories with custom icons.
      
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. 

Add specific tags to custom templates and have them grouped into custom categories in the GUI (which their own logo).

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?  

No

8. Does the customer have any specific timeline dependencies and which release would they like to target ?

Near time
      
9. Is the sales team involved in this request and do they have any additional input? 

No

      
10. List any affected packages or components.  
      
11. Would the customer be able to assist in testing this functionality if implemented?  
Yes
Comment 2 Jessica Forrester 2016-07-05 09:33:51 EDT
custom icons should already be supported. On your imagestreams / templates you just define an iconClass, you can then provide custom css using our extension framework to provide those icons.

Example of iconClass on an image stream tag https://github.com/openshift/origin/blob/master/examples/image-streams/image-streams-centos7.json#L18

Example of iconClass on a template https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json#L9

Extension framework instructions for loading custom CSS https://docs.openshift.com/enterprise/3.2/install_config/web_console_customization.html#loading-custom-scripts-and-stylesheets

Or you can refer to any of our existing iconClass icons https://github.com/openshift/origin-web-console/blob/master/app/styles/_openshift-logos-icon.less#L31

or anything in fontawesome (by setting iconClass to 'fa fa-whatever')  http://fontawesome.io/icons/   some icons may not be available depending on the version of enterprise
Comment 3 Jaspreet Kaur 2016-07-08 01:49:28 EDT
Thanks for the information. it works.

How can the customer create custom categories ?

Regards,
Jaspreet
Comment 4 Jessica Forrester 2016-07-11 10:38:22 EDT
Custom categories aren't supported.  The trello card https://trello.com/c/62HPyu65 is being used to track that RFE.
Comment 6 errata-xmlrpc 2017-01-18 07:41:16 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.

https://access.redhat.com/errata/RHBA-2017:0066

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