FlowFuse / flowfuse

Connect, collect, transform, visualise, and interact with your Industrial Data in a single platform. Use FlowFuse to manage, scale and secure your Node-RED solutions.
https://flowfuse.com
Other
278 stars 63 forks source link

Streamlined device assignment to applications during device creation #3295

Closed MarianRaphael closed 9 months ago

MarianRaphael commented 10 months ago

Description

Description

The current process of assigning a Device to an Application in FlowFuse requires an additional step, potentially leading to confusion or oversight by users. To enhance user experience and efficiency, it is proposed that during the device creation workflow, users should be directly prompted to assign the Device to an Application. This step would be optional, maintaining the flexibility for users who may not be ready to assign the device immediately. However, the option would be clearly presented, making it more accessible and intuitive.

Screenshot 2024-01-05 at 13 47 15

Screenshot 2024-01-05 at 13 49 28

Scope

Integrate a clear and optional dropdown menu in the device creation process where the user can assign the device to an application.

License

CE / Starter

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

### Requirement
- [ ] https://github.com/FlowFuse/flowfuse/issues/3248
MarianRaphael commented 10 months ago

Blocked: Currently this would not be possible because FlowFuse needs to know the Device Agent Version first: "The device version could not be determined. Please ensure you have refreshed the browser and the device has connected to the platform before assigning it to an application."

knolleary commented 10 months ago

I raised https://github.com/FlowFuse/flowfuse/issues/3248 for the blocking issue here.

Steve-Mcl commented 9 months ago

Blocked: Currently this would not be possible because FlowFuse needs to know the Device Agent Version first:

Unblocked.

https://github.com/FlowFuse/flowfuse/issues/3248 merged today.

Steve-Mcl commented 9 months ago

Hi @MarianRaphael

Firstly, is there a UX design for this? (I have scanned related storys/tasks - but didnt see anything specific to this - my apologies if i missed it)

The current process of assigning a Device to an Application in FlowFuse requires an additional step

If the user adds the device from the Applications -> Devices page, the device is automatically assigned to the application

Therefore, I assume this task is for users creating a device from the Team->Devices page?

If so, can i clarify the blow please?

  1. The OP shows a separate popup modal dialog permitting choice of "Application" and the scope states "Integrate a clear and optional dropdown menu in the device creation process where the user can assign the device to an application." Are we only offering application only OR instance as well?
  2. If offering both, should we not combine the 2 dialogs to permit choice of App or Instance
MarianRaphael commented 9 months ago

Therefore, I assume this task is for users creating a device from the Team->Devices page?

Yes

The OP shows a separate popup modal dialog permitting choice of "Application" and the scope states "Integrate a clear and optional dropdown menu in the device creation process where the user can assign the device to an application." Are we only offering application only OR instance as well?

Only applications, for instance, leave the current workflow unchanged. While still allowing for the legacy path, we suggest adopting the new path via applications.

is there a UX design for this?

No, it's really just an additional dropdown menu. If you think a design here is necessary and helpful, we can create one beforehand.

Steve-Mcl commented 9 months ago

Verified on staging.