learning-layers / timeliner

MIT License
0 stars 0 forks source link

Activity stream and messages loaders #84

Closed pjotrsavitski closed 7 years ago

pjotrsavitski commented 7 years ago

Make sure that both activity stream and messages queries return results with count of items left after last element within the results.

Example:

{
    "data": {
        "activities": [...],
        "remaining": 5
    }
}

This way it would be possible to determine if more data could be loaded or not, eliminating the unnecessary showing of a loader.