-
Notifications
You must be signed in to change notification settings - Fork 65
Feature Request: pagination instead of lazy load scroll #796
Comments
The current implementation requires accessing more data by clicking more multiple time.
|
Lisk Core API does not return the total amount of items for |
Closed by mistake... |
For blocks, indeed you can use this method. It's simple and efficient. For the top accounts, the total number will be the total number of Lisk addresses. I don't know how it's done internally since the public API does not provide such ranking system, but seeing the http request I would say a) you hit the blockchain database directly or b) it's a fetch of a cached sorted list. If it's cached it's length-fixed. Eitheir way you can count the number of items. But ironically, this kind of page is ok to have a lazy load, since the position of each account is likely to move. It's almost always better to have a pagination, but for this very specific page, it's ok. |
@lsilvs I agree, block height should be enough. |
On a wallet page, the list of the most recent transactions is displayed. Going at the bottom, you can hit the "more" button, to add previous transactions to the list. This system is nice for short lists, when you don't necessarily need to browse the list. However, for a blockchain transaction list, it is unappropriate, for several reasons :
Please replace this system with an old fashion pagination.
The text was updated successfully, but these errors were encountered: