flowfuse icon indicating copy to clipboard operation
flowfuse copied to clipboard

Accessing Dashboard in Developer Mode

Open MarianRaphael opened this issue 2 years ago • 5 comments

Description

User Story

As a FlowFuse user, I want to have access to the Dashboard while editing on my devices, So that I can see if my dashboards behave as expected.

Current Situation

When a device is in developer mode, only the Editor is accessible. The Dashboard routes /ui and /dashboard are not accessible via the tunnel.

Target Situation

The Dashboard is reachable when a device is in Developer mode. When clicking on "Open Dashboard", the Dashboard will open, allowing for real-time monitoring and interaction while editing. Screenshot 2023-12-14 at 11 54 35

Tier

Teams Tier

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Requested by:

-https://app-eu1.hubspot.com/contacts/26586079/record/0-1/2454

MarianRaphael avatar Dec 14 '23 10:12 MarianRaphael

Adjusting the sizing as there are a number of unknowns at this point.

  • The authentication for the /ui /dashboard routes is different to the editor - could be no auth, username/password, FF-user. They need to be handled.
  • The dashboard uses socket.io - we haven't dealt with proxying that, even though it is in theory just websockets. However currently the tunnel's websocket handling assumes its always the editor's websocket.

knolleary avatar Dec 14 '23 11:12 knolleary

When a device is in developer mode, only the Editor is accessible. The Dashboard routes /ui and /dashboard are not accessible via the tunnel.

I think we should remove /ui from the scope. Let's pick supported, non-deprecated, technology as a winner.

I want to have access to the Dashboard while editing on my devices,

Agreed with the limited scope for this iteration, though a case can be made for removing the while editing on my devices from the user story.

This could create two follow up iterations because of it:

  1. Difference between devices and in-cloud NR with dashboard fades
  2. The dashboard is available for all devices, not only the ones not in fleet mode

ZJvandeWeg avatar Dec 14 '23 11:12 ZJvandeWeg

This customer just requested this feature - https://app-eu1.hubspot.com/contacts/26586079/record/0-1/2454

robmarcer avatar Feb 09 '24 17:02 robmarcer

Dupe of https://github.com/FlowFuse/node-red-dashboard/issues/526

robmarcer avatar Feb 15 '24 11:02 robmarcer

This is a different problem to the dashboard issue.

This is about allowing the device tunnel to proxy more than just the editor.

The dashboard v2 issue that it just currently it can not be proxied at all.

hardillb avatar Feb 15 '24 18:02 hardillb