Show progress percentage for events fetching #9

Merged
Freezy merged 0 commits from staging into staging 2022-10-15 20:59:07 +03:00

Explanation

If the last cached event is many blocks behind (over 100k) the use should know the current fetching status/progress.
To solve this, a progress indicator has been added to the loader. It shows the progress percentage based on the number of blocks needed to reach the current block. Without this indicator, the user could think that the website is stuck while instead he only has to wait.

Screenshots/Screencaps

image

## Explanation <!-- Thanks for the pull request. Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? Below is a template to give you some ideas. Feel free to use your own words! Currently, ... This is a problem because ... In order to solve this problem, this pull request ... --> If the last cached event is many blocks behind (over 100k) the use should know the current fetching status/progress. To solve this, a progress indicator has been added to the loader. It shows the progress percentage based on the number of blocks needed to reach the current block. Without this indicator, the user could think that the website is stuck while instead he only has to wait. ## Screenshots/Screencaps ![image](/attachments/19fceb21-f066-4c2b-b9d5-48c8347ce651)

Looking much better, merged.

Looking much better, merged.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tornadocash/classic-ui#9
No description provided.