node-red / node-red/node-red

[RFC] Remove the 'Configuration Nodes' sidebar

Open
#2,596 10 comments 8 reactions 1 assignee View on GitHub

@knolleary is already working on this.

Since Jun 4, 2020.

editor
Dominant language
JavaScript
Stars
23.7k
Forks
3.9k
Avg merge
12h 23m
Merged PRs (30d)
22

Description

With 1.1.0 introducing the outliner in the Info sidebar, it occurred to me that the Config Nodes sidebar is much less useful.

The Outliner:

  • includes a 'Global Config node' section
  • lists config nodes that are scoped to individual tabs
  • can be searched and filtered

What it doesn't (currently) have (compared to the Config Node sidebar) is:

  • an indication on how many nodes use the config node
  • an easy way to list out the unused nodes

The first can be easily solved by added the count to the node label - just need to make sure the right editor events are fired whenever that user list may change.

The second could be a filter option - is:unused or similar. The deploy prompt saying you have unused config nodes could provide a click-through action to pre-fill that filter in the filter box to show them.

This is just an idea at this point. If we think there is a compelling reason to keep the config node sidebar, then it needs a general overhaul anyway.

I'm raising this issue because I'd like to keep some quick feedback on the idea. If it can be done for 1.1.0 so much the better. Otherwise it can be put on the slate for 1.2.0.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.