ZAP GUI - loading large data
When using the ZAP GUI it is very frustrating having the application glitch while I am scrolling through Attributes
Steps to reproduce:
- create an application with a lot of attributes (thermostat for example)
- within thermostat cluster settings scroll through the attributes and notice sometimes disabled attributes look enabled and sometimes the screen is completely empty
note: it does seem to fix itself after
Another way to reproduce this is by scrolling through device types like in the picture below
PART 2:
we need a new ZAP GUI feature which handles large data sets
It is caused by this virtual-scroll attribute in the q-table tag. It helps improve performance by only displaying a small amount of the entire list and updates the list as users scroll up and down. So adding this attribute will bring side effects:
- The toggle's abnormal enable/disable behavior;
- When scrolling too fast, rows disappear because new rows are still being loaded.
I tried to remove this attribute and successfully solved the issue. Maybe we should consider deleting this attribute as it affects user experience.
Sounds promising. Can you please experiment and let me know?
It turns out this problem requires a new feature to fix it. Changing from bug to "enhancement".
For current solutions, using virtual-scroll can lead to GUI issues, and preloading all data for a large cluster introduces significant latency. We need to develop a new feature that efficiently loads of large datasets without compromising on performance.