KEMBAR78
Highlight errors in config node sidebar by knolleary · Pull Request #4529 · node-red/node-red · GitHub
Skip to content

Conversation

knolleary
Copy link
Member

Fixes #4397

This highlights any config nodes with errors in the config node sidebar.

image

Relying purely on a coloured border isn't idea but is a quick win. Ideally, we'd have the change/error badges consistent with the main workspace, but they are SVG artefacts and the config node sidebar is pure html. I may come back to refine this, but this moves things forward.

It reuses the CSS for unknown nodes so should be compatible with existing themes.

@knolleary
Copy link
Member Author

Now updated to show the warning triangle, including tooltip with details of the error:

image

@knolleary knolleary merged commit 5b9d002 into master Jan 19, 2024
@knolleary knolleary deleted the 4397-hightlight-config-node-errors branch February 6, 2024 17:08
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.

Config Nodes do not visually display errors in side panel

3 participants