Skip to content

UX: Selecting non-flow object in Explorer causes Info to go blank #5521

@knolleary

Description

@knolleary

Current Behavior

Clicking on a non-flow object in the explorer sidebar causes the info to go blank.

Image

The left-hand Explorer sidebar is in packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js
The right-hand Info sidebar is in packages/node_modules/@node-red/editor-client/src/js/ui/tab-info.js

Line 320 of tab-info-outliner.js is calling RED.sidebar.info.refresh(null); if the selection is not a node. This is causing the sidebar to go blank. It may be better to not make that call at all - need to make that change and see what it feels like

Expected Behavior

No response

Steps To Reproduce

No response

Example flow

paste your flow here

Environment

  • Node-RED version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions