Skip to content

Add the *error* badge to the flow tab - #5950

Merged
knolleary merged 5 commits into
node-red:mainfrom
GogoVega:workspace-error-badge
Oct 14, 2026
Merged

knolleary merged 5 commits into
node-red:mainfrom
GogoVega:workspace-error-badge

Conversation

@GogoVega

@GogoVega GogoVega commented Sep 13, 2026 •

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

Add the error badge to the flow/subflow tab.

Capture d’écran 2026-09-13 à 14 36 35

Unlike the changed badge, the error badge depends on the node's validation mechanism. Consequently, listening for workspace changes (based on dirty) is not sufficient to keep error badges up to date.

I propose adding the following events to facilitate and centralize the error badge handler:

  • nodes:validate
  • flows:validate
  • subflows:validate

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

@GogoVega GogoVega mentioned this pull request Sep 14, 2026
3 of 6 tasks
@knolleary
knolleary merged commit 8b28dcb into node-red:main Oct 14, 2026
3 checks passed
@GogoVega
GogoVega deleted the workspace-error-badge branch October 14, 2026 13:01
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