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.
- 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.
- 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.