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

UI: rework visual blocks page #1943

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ukane-philemon
Copy link
Collaborator

@ukane-philemon ukane-philemon commented Dec 6, 2022

Before:
Screenshot 2022-12-06 at 12 57 48 PM

After:
Screenshot 2022-12-06 at 12 57 59 PM

This diff modifies the /visualblocks page to match other pages that display block information e.g(/blocks, /months, /windows etc) and includes a link to the /visualblocks page in all relevant pages. Closes #1940

TODO: @chappjc, I'm thinking it would make sense to display for older blocks too(i.e not limiting to only recent/30 blocks max). Each page could display up to 10 blocks(including mempool block) with the option for viewers to visit pages with older blocks. what do you think?

@ukane-philemon
Copy link
Collaborator Author

If the new look is okay, I'm suggesting removing this line since it will look redundant?

<a class="no-underline d-block mt-4" data-visualBlocks-target="showmore" href="/blocks"><div class="showmore"><p>View BlockChain History</p></div></a>

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.

/visualblocks page does have a tab on the dcrdata UI
1 participant