-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Nodes unavailable on a Device assigned to an Application #3018
Project Nodes unavailable on a Device assigned to an Application #3018
Comments
What I have working thus far:
app-device-proj-link.mp4Missing functionality:
Having had a bit of a chew on getting to this point (dev env issues, debugging issues, etc) I must apologise for forgetting the exact details of our chat last Monday. That leads to the question: Is it enough in this iteration to support the "working set" (as listed in the first 3 points) - OR - is it desirable to get the "missing functionality" implemented too? CC @MarianRaphael ^ |
The goal is a minimal set of functionality that starts filling the gap caused by the absence of the project nodes in an App-assigned device. Lets get what you've done so far into a PR so we can start reviewing. We need to make sure the MQTT topic structures are appropriate and your video doesn't show anything about how these new options are exposed in the UI. We will want to be able to messaging directed at the Device, but that can be a second iteration. |
There are no changes to the topic structure. That may be necessary to support direct device messaging. And as I move onto supporting direct device messaging I may even discover we have locked ourselves into a less than extensible format. However there is always the
There are no changes to the UI for the current level of support I listed in the first 3 points. However as allude to next, I believe that may be necessary (or rather highly desirable)
Understand. There is a fair bit of design discussion required around direct to device messaging that needs to be understood. For example, we currently show the user a dropdown list of instances. If we simply add devices to this list, larger users will find the UX pretty uncomfortable. Next there is the scoping - e.g. would we even want to list devices in different applications along side devices in this application. Finally there is making the project nodes application aware. I think a short brainstorming session would really help with the remaining pieces. |
Correction. There are minimal wording changes to the UI and help to indicate devices are now |
Reopening as there are multiple PRs needed to land for this to be complete. |
Following the Verification procedure written up in this PR, I have confirmed it works as expected. instance-to-app-device-2023-11-22--21-50.mp4Points of note:
RE Point 2 - I will raise an issue and PR before launch. (discussed here: https://flowforgeworkspace.slack.com/archives/C032Q63FGG1/p1700682292559729) |
Current Behavior
When a Device is assigned to an Application, not an instance, the Project nodes are unavailable.
This is because the Project Nodes expect to be operating within the context of an instance in order to establish the proper ACL checks.
This is not a regression - this has been a limitation since the ability to assigned devices to Applications was introduced. However it needs to be addressed as users expect to use the Project Nodes regardless.
Expected Behavior
The Project Nodes should be available to Application-assigned devices
Steps To Reproduce
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: