Skip to content

Feature: add context menu item to jump to link call target node #5125

Description

@knolleary

Original discussion: https://discourse.nodered.org/t/direct-navigation-from-link-call-node-to-definition-node/96802/

Having a way to quickly navigate to a Link Call node's target Link In has been an often requested feature. But it has always stalled at what the UI should be around the node to enable it.

The proposal from the discussion above is a simple solution to add a Context Menu item to do just that - so a user can right-click on the node and select the option. It isn't a one-click solution, but it's better then the lack of solution we have today.

Ideally we don't want to hard code this into the editor; other nodes may have legitimate actions to surface in the menu.

The proposal is then:

  1. Allow a node to register custom menu items in their definition
  2. When showing the context menu, include the node-specific actions
  3. Update the Link Call node to register the 'jump to target' action
  4. Check if any other core nodes have similar 'obvious' actions to add

When registering the menu items, the item will need:

  • label
  • action - either a callback function, or a string name of a registered action (check the naming conventions of existing code)

Activity

  1. GogoVega commented on Jun 7, 2025

    @GogoVega
    Contributor

    I can work on it 😉😋

  2. GogoVega commented on Jun 7, 2025

    @GogoVega
    Contributor

    By the way, I can use the contextMenu to enable/disable the inject node button.

  3. GogoVega commented on Jun 8, 2025

    @GogoVega
    Contributor

    Preview:

    Enregistrement.de.l.ecran.2025-06-08.a.13.05.41.mov

    Do you prefer the Node actions menu to be at the root?

  4. knolleary commented on Jun 8, 2025

    @knolleary
    MemberAuthor

    What API are you proposing for how menu items are registered? That's the more important bit to get agreement on.

  5. GogoVega commented on Jun 8, 2025

    @GogoVega
    Contributor

    contextMenu file:

    Image

    I don't think it's necessary to create an API for this. If you want one, I can create RED.nodeActions but that contradicts point 1 of your proposal.

  6. Steve-Mcl commented on Sep 12, 2025

    @Steve-Mcl
    Contributor
  7. added this to the 5.0 milestone on Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions