FlowFuse / flowfuse

Build bespoke, flexible, and resilient manufacturing low-code applications with FlowFuse and Node-RED
https://flowfuse.com
Other
246 stars 59 forks source link

Accessing Dashboard in Developer Mode #3215

Open MarianRaphael opened 6 months ago

MarianRaphael commented 6 months ago

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

knolleary commented 6 months ago

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

ZJvandeWeg commented 6 months ago

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
robmarcer commented 4 months ago

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

robmarcer commented 4 months ago

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

hardillb commented 4 months ago

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.