Hi There.
The asset edit page has some complications. when you want to edit assets that are actively receiving attribute value updates (via modbus agentslinks in this case). In this case the page becomes slow and my laptop turns into a turbojet.
So I went exploring if some code optimisation can be made. it seems to be caused by excessive component rerenders.
Anyway, while doing that I designed the following UX improvement that lets the user keep track of changes and inform when attributes are updated while editing.
Let me know what you think.
Hi Berg,
The functions you added seem to fully resolve the UI issue I had when editing assets with incoming updates. Before, the page kept refreshing, making it impossible to adjust any asset settings. I had to repeatedly toggle the agent links to work around the refreshes, which was very frustrating.
The orange indicator for updated attributes is also very useful when reviewing incoming data. For example, when a value updates from 0 to 0, I wouldn’t have noticed it without the indicator.
It would be great if these changes could be added to the OpenRemote platform, as they would significantly improve usability.