Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3381

Investigate supporting calculated hrefs in dynamic plugin nav extensions

    XMLWordPrintable

Details

    • Spike
    • Resolution: Unresolved
    • Undefined
    • None
    • None
    • Dynamic Plugins
    • None
    • False
    • None
    • False

    Description

      In some cases, dynamic plugins may need to calculate a dynamic value for a nav extension href property. We should investigate ways to provide this capability. Some initial ideas include:

      • href property accepts CodeRef callback
      • Use well-known parameters similar to react-router routes and console will parse:
        • e.g. "/ns/:namespace/foo/bar" -> "/ns/active-namespace/foo/bar"

      Attachments

        Activity

          People

            Unassigned Unassigned
            rh-ee-jonjacks Jon Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: