This topic describes how to customize the support menu.
Many important pages of Tanzu Developer Portal have a Support button that displays a pop-out menu. This menu contains a one-line description of the page the user is looking at, and a list of support item groupings.
As standard, there are two support item groupings:
- Contact Support, which is marked with an email icon and contains a link to VMware Tanzu's support portal.
- Documentation, which is marked with a docs icon and contains a link to the Tanzu Application Platform documentation that you are currently reading.
The set of support item groupings is completely customizable. However, you might want to offer
custom in-house links for your Tanzu Application Platform users rather than simply sending them to
VMware support and documentation. You can provide this configuration by using your
tap-values.yaml
. Here is a configuration snippet, which produces the default support menu:
tap_gui:
app_config:
app:
support:
url: https://tanzu.vmware.com/support
items:
- title: Contact Support
icon: email
links:
- url: https://tanzu.vmware.com/support
title: Tanzu Support Page
- title: Documentation
icon: docs
links:
- url: https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/index.html
title: Tanzu Application Platform Documentation
The url
field under the support
section, for example,
support:
url: https://tanzu.vmware.com/support
provides the address of the contact support link that appears on error pages.
The items
field under the support
section, for example, provides the set of support item
groupings to display when the support menu is expanded.
The title
field on a support item grouping, for example,
items:
- title: Contact Support
provides the label for the grouping.
The icon
field on a support item grouping, for example,
items:
- icon: email
provides the icon to use for that grouping. The valid choices are:
brokenImage
catalog
chat
dashboard
docs
email
github
group
help
user
warning
The links
field on a support item grouping, for example,
items:
- links:
- url: https://tanzu.vmware.com/support
title: Tanzu Support Page
is a list of YAML objects that render as links. Each link has the text given by the title
field
and links to the value of the url
field.