API to mark an Action to hide from context menu

This issue is archived. You can view it, but you can't modify it. Learn more

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).

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: