Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6014

Allow custom menu item for Drawer item --or-- support `badge` property

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Designer

      Description

      Context: defining a "Drawer item" in Designer.

      Use case: I want to display a "badge" like the Tasks menu item:

      Currently you can't specify your own element for the "DRAWER_ITEMS" slot contrib, it is hard-coded to `nuxeo-menu-icon`. But Designer does not expose the `badge` property either, so it's not possible
       to set this value.

      So there are two possible improvements
      :

      • Expose the `badge` property
         in Designer - I'm not sure this is really possible though, because you need some code to set the value; maybe we could bind it to an automation call?
      • Allow the user to specify
         the element to use for the menu item instead of hard-coding `nuxeo-menu-icon`.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.