-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust the number of transaction displays on the page #486
Comments
We can provide users with a prompt next to the pagination component, which only appears on address pages that exceed the maximum transaction count: |
|
I had a conversation with @rabbitz , where I asked some questions. Assuming a limit of 500K transactions and a certain address has 501K transactions: Q1: If I switch to the last page, does it show the last page of the 500K transactions, not the last page of all transactions? Q2: If so, will the front end continue to query the next 500K transactions? Q3: If I use time sorting, does it also display the time sorting of 500K transactions? Q4: If our limit is 30K and an address has 31K transactions , will the browser be aware of this situation? So I think it's also important to notify users especially when they're going to use the function of Sort by time and go to the Last page. So my suggestion is that :
|
This prompt
|
So I think it should work like this:
|
Problem:
#478
nervosnetwork/ckb-explorer#1498
After optimization, it was found that the number of transactions for some addresses was still too large, resulting in slow query counting and paging, so I wanted to optimize the query speed by limiting the number of queries.
Possible Solution:
@Danie0918 @Sven-TBD
Related issues
Frontend: #484
The text was updated successfully, but these errors were encountered: