element-web/test
Luke Barnard b718f1542c Fix infinite loop when there are a lot of invisible events (#554)
Instead of using a window of a fixed number of events, unpaginate based on the distance of the viewport from the end of the scroll range.

The ScrollPanel uses the scrollTokens to convey to its parent (the TimelinePanel, in this case) the point to unpaginate up to. The TimelinePanel then takes a chunk of events off the front or back of `this.state.events` using `timelineWindow.unpaginate`.

Fixes https://github.com/vector-im/vector-web/issues/2020
2016-11-16 14:25:52 +00:00
..
components Fix infinite loop when there are a lot of invisible events (#554) 2016-11-16 14:25:52 +00:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
all-tests.js Make it possible to only run one test file each time 2016-04-07 17:49:39 +01:00
mock-clock.js Some basic tests for MessagePanel 2016-03-31 00:48:46 +01:00
skinned-sdk.js Sort alphabetically (and name consistently) 2016-06-17 15:46:31 +01:00
test-utils.js Inject MatrixClient into React context in tests 2016-11-14 18:22:56 +00:00