Add fixes to results

- Handle out of order events by batching lines until all lines
  are present
  - In static mode, fetch pages of results until container is full
  and scroll bar appears (for scroll events related to pagination)
This commit is contained in:
gconsidine
2018-03-13 15:24:12 -04:00
committed by Jake McDermott
parent e3d42d8e1b
commit 033314e4f6
4 changed files with 53 additions and 4 deletions

View File

@@ -114,7 +114,12 @@ function next () {
}
return shift()
.then(() => append(events));
.then(() => append(events))
.then(() => {
if(scroll.isMissing()) {
return next();
}
});
});
}
@@ -193,6 +198,11 @@ function scrollHome () {
.then(() => {
scroll.resetScrollPosition();
scroll.resume();
})
.then(() => {
if(scroll.isMissing()) {
return next();
}
});
});
}