Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19173

API to mark an Action to hide from context menu

XMLWordPrintable

      When Email Ext is used on a project, Email Template Testing appears in its context menu, even though this is a rarely used function that should certainly not be consuming that space. Unfortunately today there seems to be no way to suppress it, since ExtendedEmailPublisher.getProjectActions adds it to the project actions, and lib/hudson/actions.jelly (via Actionable/actions.jelly) calls <l:task> without specifying contextMenu. Perhaps there should be a marker interface for an Action which we would like to hide from the context menu, and actions.jelly would honor that (probably through a helper method in Functions).

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: