telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 24 forks source link

#650 | Pagination flickering #665

Closed ezra-sg closed 1 year ago

ezra-sg commented 1 year ago

Fixes #650

Description

This PR is a partial fix for flickering pagination. the issue is that the backend returns a different number of results for the same query at random (try going here and reloading several times, see results vary). For now this PR hides the total number of pages when live transactions is enabled (live transactions = new query every few seconds = changing results because of bug). it also fixes the Last Page button to disable Live Transactions, and disables Live Transactions toggle when not on the first page

Test scenarios

Checklist:

netlify[bot] commented 1 year ago

Deploy Preview for open-block-explorer ready!

Name Link
Latest commit 34f6b3064c35681a6ac482069144dd8078c2c913
Latest deploy log https://app.netlify.com/sites/open-block-explorer/deploys/6411f1885b47f400082e5c27
Deploy Preview https://deploy-preview-665--open-block-explorer.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 1 year ago

Deploy Preview for obe-testnet ready!

Name Link
Latest commit 34f6b3064c35681a6ac482069144dd8078c2c913
Latest deploy log https://app.netlify.com/sites/obe-testnet/deploys/6411f18861157000089a21b7
Deploy Preview https://deploy-preview-665--obe-testnet.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.