Skip to content
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

Automatically display new blocks via ajax #77

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Automatically display new blocks via ajax #77

wants to merge 9 commits into from

Conversation

PatrickZGW
Copy link

Adds automatic displaying of new blocks on the home page.
Implemented with AJAX and long polling. The interval is 5 seconds at the moment, but can be configured to be longer or shorter.

Additional features

  • Time ago for blocks is now displayed as "x min" and automatic updating has been added. This was necessary since otherwise we could not display it for new blocks

There is still one bug left in this commit, which is that the radials don't display the correct weight but instead always show 0. I don't know what is causing this so if someone knows whats going on some help would be very much appreciated.

@vlad20012
Copy link

What's the status of this PR?

@SatEVF
Copy link

SatEVF commented Oct 4, 2024

bc1q2mv4vxsujydmtu07px0y84u905j9em7gtqnq0l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants