Details
-
Type:
Feature Request
-
Status: In Progress
-
Priority:
L3 - Default
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: frontend, Single Instance
-
Labels:None
-
Epic Link:
Description
Feature description
More flow node instances on root level should be loaded when scrolling. The total amount of instances in store should be limited, to avoid performance issues in the user interface, and to keep the size of a polling request low.
Solution draft
Scrolling down
- Load the next 50 instances on root level by leveraging pageSize and searchAfter params of the flow-node-instances API
- When more than 200 instances are in store and the user keeps scrolling down, the instances above will be removed from store, so there is always a maximum of 200 instances in store.
Scrolling up
- Load the previous 50 instances on root level by leveraging pageSize and searchBefore params
- When more than 200 instances are in store, remove instances from the bottom
The total instances in store and the pageSize numbers are just estimates. We should increase them if we don't see any perfomance issues.