Bug 1351044 - Customize template categories and icons in webconsole
Summary: Customize template categories and icons in webconsole
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-29 06:10 UTC by Jaspreet Kaur
Modified: 2020-02-14 17:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 12:41:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description Jaspreet Kaur 2016-06-29 06:10:19 UTC
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 13:33:51 UTC
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 05:49:28 UTC
Thanks for the information. it works.

How can the customer create custom categories ?

Regards,
Jaspreet

Comment 4 Jessica Forrester 2016-07-11 14:38:22 UTC
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 12:41:16 UTC
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.