168 Commits
Author SHA1 Message Date
zeekay 3813d03918 feat: explorer FE — stateless SSR, chain selector, localnet, registry cleanup 2026-03-01 18:00:00 -08:00
tom goriunovandGitHub 5d337fc555 Migrate from Jest to Vitest (#3173)
* first part of transition

* second part of transition

* remove jest

* bump up node version and playwright version

* update all screenshots because of the new playwright version

* fix tests

* one more screenshot update
2025-12-10 19:21:07 +01:00
tom goriunovandGitHub 932add9d96 Change zero to <0.001 value within different pages (#3150)
* basic components and address page refactoring

* second part of refactoring

* third part of refactoring

* NativeCoinValue component

* more refactoring

* rename TruncatedValue into TruncatedText

* minor fixes

* refactor block details

* fix layout of value and fee in tx table

* update screenshots

* different units for tooltip and stats widget small value fix

* update screenshots

* update tx table screenshot

* fix copy button vertical alignment
2025-12-05 16:04:27 +01:00
edc54514f1 OP Superchain explorer: aggregated views (#3040)
* refactor widgets on home page

* coming soon placeholder component

* top accounts page

* contract data

* address ERC-20 tokens list

* chain filter for address ERC-20 tokens

* token select for address detailed view

* address details fields

* tokens table

* stats widgets on home page

* chain indicators graph on the home page

* quick search

* search results all tab

* tabs and chain select on search results page

* search results mobile view

* add contract info to search and address details

* add text filter for tokens and search improvements

* load all results inside tab on search results page

* token balance info

* add support for domains in the full search

* Multichain explorer

Resolves #2989

* add envs validator for multichain

* add some tests

* fix search bar on search results page on mobile

* home stats fixes

* fix ts

* optimize amount of queries on address page

* add more contract info on address page

* add enter key hint to search input

* fix tests

* fix test

* update bg.primary css-variable on color theme change

* sitemap for multichain

* txs page: render first tab if blob tab is not available on the chain

* filter out in active chains from chain select on address page and user ops page

* add chain icon to advanced filter table

* fix tooltip on entity with shield

* fix ts

* show contract implementations

* fixes

* add chain icon to all lists

* refactor zetachain chains config type

* use chain id as primary option instead of chain slug

* refactor chain config type for multichain and essential dapps

* refactor chain icon and chain select

* rename chain-slug in chain_slug

* change default radius of chain icon and update screenshots for multichain tests

* change conditions for "isContract" and "isVerified"

* test fixes

* make shield optional for external chain entities

* add chain icon to approvals lists

* add stats page for multichain

* add chain postfix to chart .png and .csv assets name

* fix tests

* sync verified contracts language filter and fix loading state in the search results page

* fix sol2uml diagram and csv export

* regcred from helmfile for review

* link fixes

* fix state for unknown address

* fix incorrect chain in the context during spa transition to the same route on different chain

* add links to stats widgets

* add mixpanel to L2 demo values

* show message of on-demand contract verification

* fix screenshots

---------

Co-authored-by: Nick Zenchik <[email protected]>
2025-11-18 09:44:22 +01:00
0eadf590e7 Fixes for release v2.4.0 (#3079)
* fix links in approvals list

* pass check-summed hash to safe API call

* make tx hash optional for token transfers

* fix multiple public tag submission

* update screenshots

* use DataListDisplay for revoke

* force to send credential only with general API requests

* prefer formatted date label over date default formatting when saving chart data as csv

* add abort failed status for zeta chain CCTX

* update specify sdk

* rename ENV for native token address

* add ENV to hide native coin price in topbar

* rename routes for name services

* fix chart csv export file

* fix tests

---------

Co-authored-by: Max Alekseenko <[email protected]>
Co-authored-by: isstuev <[email protected]>
2025-10-29 15:54:06 +01:00
enochleeandGitHub 4c78f91771 display copy button for tx hashes in relevant components (#3031)
* default TxEntity.noCopy to false
remove redundant noCopy=false
restore noCopy for tx hashes in this components

This commit has no essential change, order than defaulting noCopy for TxEntity to false, and reversing the use of the prop

* To reflect new default of TxEntity and UserOpEntity

Updated tests to with-no-copy from with-copy
remove outdated screenshots
Regenerate screenshot for new default

* display copy button for tx hash

In the following pages:
/txs, /internal-txs
/token-transfers
/address/txs, /address/token-transfers(tab)
/deposits, /withdrawals
/batches[id]/txs(tab)
/advanced-filter

* update snapshots

* update snapshots
2025-10-21 17:28:01 +02:00
tom goriunovandGitHub 70e0922d8a Update border color for inputs, selector and dropdown buttons (#3038)
* Update border color for inputs, selector and dropdown buttons

Resolves #3021

* update screenshots

* update color threshold and update some screenshots

* more screenshots update

* add maxDiffPixels to mobile screenshots
2025-10-02 19:04:53 +02:00
tom goriunovandGitHub 7505f154e6 OP Superchain: local views for chains in the cluster (#2864)
* update styles for chain widgets on home page

* update latest txs styles and slug creation algorithm

* list of local txs

* list of local blocks

* local view for address internal tx tab

* local view for address coin history

* local view for address logs

* local view for address token transfers

* address details, kind of

* [wip] local view for address contract tab

* user ops views

* chain popover

* csv-export page

* advanced filter page

* block countdown pages

* fixes for contract tab

* refactor address txs and transfers tabs

* refactor getServerSideProps

* internal txs page

* tokens and token transfers pages

* simple tag for address page and details info placeholders

* add chain icon to the local lists

* show creator in contract tab

* OP Superchain: local views for chains in the cluster

Fixes #2827

* highlight current chain in the title of local entities

* tokens nfts tab for address

* allow entity icon to be an image

* adjust cross-chain txs table and add placeholder to home page

* cross-chain txs for address

* fetch multichain config from microservice

* fix skeleton in token transfers table

* tests, pt.1

* wtf with gh

* verified contracts page

* change chain info in block and token page header

* fix some tests

* update styles for token icon with chain logo in header

* fix links and address internal txs tab

* update screenshots

* fix margins for tx info button and chain icon in tx tables

* add some tests

* fix screenshots
2025-08-15 15:32:47 +02:00
Igor StuevandGitHub 0b51b9f413 Long token transfer value lacks word-break (#2937) 2025-08-12 14:55:13 +02:00
Igor StuevandGitHub 709897c0c3 Change txs socket alert text (#2822) 2025-07-04 11:22:18 +02:00
tom 84a70e7db8 update screenshots 2025-06-09 20:48:33 +02:00
tom goriunovandGitHub fe16acbc0a Time format toggle for table views (#2729)
* cookie for storing time format value

* rename TimeAgo component

* add toggle to tables (pt. 1)

* move TimeWithTooltip component

* add toggle to tables (pt. 2)

* change implementation of toggle component

* remove unnecessary timestamp label

* update screenshots

* more screenshot updates

* [skip ci] update clock icon

* update screenshots
2025-06-03 14:01:12 +02:00
tom b43819c340 fix link in new item socket alert 2025-05-01 13:58:21 +02:00
tom goriunovandGitHub 35dd080043 Migrate to the props with consistent full naming in the API for addre… (#2694)
* Migrate to the props with consistent full naming in the API for address hash entity and multiple props for L2-rollups

Fixes #2686

* fix test
2025-04-24 13:13:18 +02:00
tom be9c12550e more test fixes 2025-03-31 20:24:37 +02:00
tom c45537b706 major update of screenshots 2025-03-26 20:05:25 +01:00
tom 0d0e5cde60 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
0890eb286a Improvements for NFT media (#2643)
* Show NFT image for token transfers

Fixes #2547

* rewrite logic of loading NFT media

* make amends to NftEntity

* show original media size only in the modal

* immutable envs

* tests

* fix fallback condition

* fixes

* fix one more test

* Removing blockscout-ci-cd from helm repo

---------

Co-authored-by: Nick Zenchik <[email protected]>
2025-03-25 13:53:27 +01:00
tom 8fa65829c2 fix ts 2025-03-24 20:55:19 +01:00
tom c55dfdcf5b remove old semantic tokens 2025-03-13 15:22:59 +01:00
tom 04310094f4 fix some ts errors 2025-03-11 13:11:26 +01:00
tom bff9162084 tx token transfers tab 2025-02-06 13:30:00 +01:00
tom 5f91ff4f3f Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-01-16 16:30:12 +01:00
tom d79c4d8dd8 horizontal navigation refactoring 2025-01-08 19:06:00 +01:00
Igor StuevandGitHub 6c2356d607 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom goriunovandGitHub bd4094ebd1 Bump up Node.js to v22 (#2410)
* Bump up Node.js to v22

Fixes #2404

* update Playwright to v1.49.0

* fix tests

* one more fix

* fix screenshots
2024-11-25 12:43:05 +01:00
Igor StuevandGitHub a520a6a98a token in token transfer is possibly null (#2396)
* token in token transfer is possibly null

* show transfer type if no token
2024-11-14 21:21:27 +07:00
tom 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub f3fbe04d11 Bind to full prop namings in API v2 endpoints (#2381)
Fixes #2374
2024-11-11 17:45:07 +01:00
isstuevandtom goriunov 0e30bba079 token transfer total is possibly null 2024-11-08 17:26:58 +01:00
isstuevandtom goriunov f10a0c0313 token transfer total is possibly null 2024-11-08 17:26:58 +01:00
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +02:00
isstuev 0b9b9b7e33 Add tooltip with full date on "age" fields 2024-07-22 12:57:55 +02:00
tom goriunovandGitHub c735b217a7 Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
isstuev 5bb539a9e5 Add possibility to change ERC to something else 2024-05-28 16:22:58 +02:00
tom goriunovandGitHub 22f8016a8f Playwright tests refactoring, pt.5 (#1952)
* next part of test refactoring

* more refactoring

* more refactoring

* fixes and clean-up

* fixes

* build fixes

* more fixes
2024-05-25 15:41:32 +02:00
tom goriunovandGitHub aae591d1c3 change horizontal paddings for tags (#1824)
* change horizontal paddings for tags

* change space between icon and text

* duck is back!
2024-04-16 15:12:32 +02:00
tom goriunovandGitHub 1c49d8143b Design updates (#1767)
* update blob icon

* fix tags on token transfer

* update address tx filter styles

* page padding fixes

* update twitter icon

* updat screenshots

* fix test

* update back arrow color in the modals

* update solidityscan text

* update stats widget bg color
2024-04-08 17:07:01 +02:00
isstuev 33a39896d4 tests 2024-03-28 15:14:20 +04:00
isstuev 73681cbccc type fixes 2024-03-28 15:14:19 +04:00
isstuev 2e23e95715 some fixes and tests 2024-02-12 20:18:08 +01:00
isstuev e98b6dfb24 token id can be null 2024-01-31 11:06:59 +01:00
tom be5d034fb0 update screenshots 2024-01-17 20:20:49 +04:00
tom 78ede332b9 Merge branch 'tom2drum/issue-1446' of github.com:blockscout/frontend into tom2drum/issue-1446 2024-01-17 20:06:14 +04:00
tom 55ed7be83b Highlighted address
Fixes #1446
2024-01-17 19:24:25 +04:00
tom 9afcb1c77d trying to fix truncation 2024-01-17 18:13:32 +04:00
tom 7618946f0e update margins 2024-01-17 15:24:08 +04:00
tom c6f1ed87e0 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2024-01-17 11:34:41 +04:00
tom 509e0e4f3e hmmm 2024-01-17 11:11:37 +04:00
isstuev d2205733a5 token transfer filter fix 2024-01-16 14:17:47 +01:00