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

Avoid table in single block explorer #191

Open
helins opened this issue Sep 11, 2021 · 3 comments
Open

Avoid table in single block explorer #191

helins opened this issue Sep 11, 2021 · 3 comments

Comments

@helins
Copy link
Member

helins commented Sep 11, 2021

Exploring a single block should not be formatted as a table. That would improve the mobile experience but also the desktop one. On my desktop I get an X scrollbar:

Screenshot from 2021-09-11 11-16-08

No concrete idea about the alternative yet, we can brainstorm it. Overall, it should be a vertical layout of key-values pairs instead of a horizontal one.

@pedrorgirardi
Copy link
Collaborator

pedrorgirardi commented Oct 12, 2021

@helins, we are using a table because a block has n transactions, although most of the time, we see only one.

Any thoughts on this @mikera ?

@mikera
Copy link
Member

mikera commented Oct 13, 2021

2 ideas:

  • Alter the text to say something like "[n] Transaction(s) in this Block"?
  • If you are showing the table for a single block, remove the "Block" column from the table (it is redundant and confusing in this case)

pedrorgirardi pushed a commit that referenced this issue Oct 13, 2021
@helins
Copy link
Member Author

helins commented Oct 21, 2021

At least now it doesn't show an X scrollbar on a larger screen :)

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

No branches or pull requests

3 participants