Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2719

Documentation needed for Custom Sidebar title configuration

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      From RHDH 1.8.x onwards, we have localization feature that expects the users to handle localization key/value for their custom strings coming from the app config.

      For example, if a user wants to have a custom title in the default main menu of RHDH, then they need to use the translation key in the titleKey property as mentioned in this documentation - docs

      eg:

          title: 'Custom Menu'
          titleKey: 'custom.menu-item-1'
      

      Docs missing for the below case:

      For users, do not need translations support for their custom title, they can set the titleKey property to empty string, so that RHDH will use the custom title from the app-config. We need to call out this solution in the docs

      dynamicPlugins:
              frontend:
                default.main-menu-items:
                  menuItems:
                    default.home:
                      title: Custom Home Title
                      titleKey: ""
      
      

              Unassigned Unassigned
              karthik.jk Karthik Jeeyar
              RHDH Documentation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: