Skip to content

UX improvement for Raw/JSON view and value copying

There are some small improvements to do to make user experience even faster.

  1. Add copy function to other important fields like block number, tx hash, block hash.

  2. Change visuality switch behaviour

  • Remove Data View dropdown completely from navbar.
  • As a default set existing (raw) view (not json).
  • Add data view switch to right top of the corresponding content.
  • The switch would change existing raw view to prettified json view. The switch button would look like below (not toggled/toggled)
  • Screenshot_2024-10-15_at_13.03.34Screenshot_2024-10-15_at_13.03.40
  • This switch would be on block page and transaction page.
  • Also to copy block and transaction as a Raw JSON, add next to above button on the left side a button with the JSON text and copy icon. So it would copy whole block or transaction as a raw json.
  • Copying operations on each raw would stay as it is now.
  1. Change copy to clipboard icon to globally used icon,example

This would give us less view switching, and having ability to browsing through blocks and transactions without any switch.