node-red / node-red-dashboard

A dashboard UI for Node-RED
Other
1.32k stars 453 forks source link

Issue visiting dashboard URL #825

Open jdotbdot opened 11 months ago

jdotbdot commented 11 months ago

As described in https://discourse.nodered.org/t/bug-accessing-dashboard-tabs-by-name/76905

What are the steps to reproduce?

With the browser showing a website, not a NR dashboard tab, enter the URL for a specific dashboard tab eg http://192.168.1.27:1880/ui/#!/List (tab 'List' has ID = 1)

What happens?

  1. Instead of the requested tab, the tab with ID = 0 is loaded http://192.168.1.27:1880/ui/#!/0?socketid=gIIvSQ3oZ4-tp8lmAAAp
  2. The socketid is appended to the URL of tab 0

What do you expect to happen?

  1. Exactly as if you enter the URL while already on a dashboard tab page, it should visit the requested tab http://192.168.1.27:1880/ui/#!/1
  2. The socketid should not be appended.

Please tell us about your environment: