Skip to content

Fix contextMenu for the internal nodes of subflow - #6025

Merged
knolleary merged 2 commits into
node-red:mainfrom
GogoVega:fix-contextMenu-of-internal-sf-nodes
Oct 21, 2026
Merged

knolleary merged 2 commits into
node-red:mainfrom
GogoVega:fix-contextMenu-of-internal-sf-nodes

Conversation

@GogoVega

Copy link
Copy Markdown
Contributor

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Fix the contextMenu for the internal nodes of the subflow.

Steps to reproduce:

  1. Select a in/out/status node
  2. Right click -> the contextMenu does not open

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary

Copy link
Copy Markdown
Member

Most of the node actions aren't appropriate for the subflow virtual nodes. You can't copy/paste the nodes, you can't disabled them. We'll need to review all of the actions shown and either fix them, or disable them as appropriate before we enable the context menu.

@GogoVega

Copy link
Copy Markdown
Contributor Author

Right. I’m checking if I can quickly sort things out.

@GogoVega

GogoVega commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author
Capture d’écran 2026-10-21 à 11 22 47

Note: the export option is negligible, as it returns [].

@knolleary
knolleary merged commit ae2bb48 into node-red:main Oct 21, 2026
3 checks passed
@GogoVega
GogoVega deleted the fix-contextMenu-of-internal-sf-nodes branch October 21, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants