111 Commits
Author SHA1 Message Date
tom goriunovandGitHub ebbee2ba57 Multichain explorer v2 (#3259)
* Support redirect to a correct view from search

* show domains on address page

* migrate to new API version to display address domains

* another api update

* new design for chain widget on home page + tests

* chain widget styles for mobile devices

* ecosystems page

* update types

* add ecosystems to navigation

* address portfolio: pt.1

* portfolio tokens list

* filter portfolio by chain

* skip redirect when navigating to search result by clicking on "show all results" link

* net worth block design

* add filter input to chain select and fix tokens table

* calculate address portfolio

* adjust card logic

* support custom token types in multichain explorer

* handle case when new worth is 0

* add text filter to tokens list

* fixes

* demo envs

* portfolio tests

* ecosystems test

* change signature for getTokenTypes function

* fix adding token to the wallet from the list

* lazy load all address domains

* show contract creator and implementations info

* fix tests

* add poor reputation tokens toggle

* tweaks

* dim celo native tokens

* disable env validator

* fix tests

* remove tokens with 0 usd value from top tokens

* fixes

* preserve selected chain when switching tabs on address page

* add hints to stats widgets on home page

* update envs for demo

* fix portfolio cards and home page

* update styles for contract creator and implementations

* fix select issues

* add chains from cluster to network menu

* hide csv export link on empty logs page

* update screenshots

* rollback select fix

* update cut length calculation for portfolio cards

* fix chain select

* update screenshots

* fix tests

* more fixes

* add sorting to ecosystems table

* fix test

* fixes

* fix loading state in ecosystems page

* review fixes

* fix tests
2026-02-25 10:45:09 +01:00
tom goriunovandGitHub 537f572f7d Add address highlight provider to transaction page and lists (#3266)
* add address highlight provider to the transaction page

* add address highlight provider to lists

* fix tests
2026-02-20 08:02:52 +01: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
0c5a297834 "Add chain" button in the header (#3084)
* redesign "add chain" button

* fix wallet detection

* [skip ci] update default value for ENV

* fix tests

* return button to the footer and add source to mixpanel event

* regcred from helmfile for review

* [skip ci] remove wallets env from values for demo stand

* use react-query to cache detection result

* add cookie to hide button in the topbar

* add prefix to svg ids to fix rabby icon

* update screenshot

* remove unnecessary comment

---------

Co-authored-by: Nick Zenchik <[email protected]>
2025-11-17 18:15:21 +01:00
tom goriunovandGitHub 1c534597bc UI: icon button background (#3081)
* UI: icon button background

Resolves #2885

* update screenshots
2025-10-24 20:00:36 +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
Igor StuevandGitHub 0f4e29e4d0 zeta chain cctx (#2904)
* zetachain start

* zeta chain cctx table

* pagination

* cctx page init

* meta for new route

* remove backlink

* schema

* continue

* fix

* navigation

* filters to test

* some fixes

* add chain filter

* add error message and revert options

* address chain logo fix

* cctx search

* socket

* fix conflict

* fixes1

* fixes2

* fixes3

* fixes4

* fixes5

* tests

* fixes6

* test fixes

* revert options fix

* stats and revert semi-fix

* fix readme

* cleanup

* check for cctx in lifecycle

* update config

* fixes 8

* fixes 9

* update config

* fixes10
2025-09-05 15:53:00 +02:00
tom goriunovandGitHub f0e713b877 Add support for customizing the UI color theme (#2923)
* UI customizations: new features

Fixes #2905

* colors for graphs

* introduce env variable

* colors for topbar, stats, selected state and tabs

* fix build

* fix validator

* refactor link.primary.hover color token

* refactor selected colors

* update styles for switch and fix some color tokens

* change color for selectable controls

* icon color tokens refactoring

* UI customizations: new features

Fixes #2905

* test for common components

* tweaks

* migrate from color-mode-hex cookie to color-theme cookie

* clean up

* update screenshots

* more screenshot updates

* update default color of chart line

* update envs for mega eth
2025-08-19 11:58:05 +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
tom goriunovandGitHub 8a0291e776 Invalid case-sensitive comparison in AddressFromTo (#2719)
Fixes #2688
2025-05-12 08:16:20 +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
Max AlekseenkoandGitHub dd42ed6903 Merits: activity cards and tracking (#2662) 2025-04-15 19:59:09 +02:00
tom goriunovandGitHub 044bc57c8e Add link to advanced filter page filtered by current address and token transfer types (#2665)
* Add link to advanced filter page filtered by current address and token transfer types

* fix ts

* fix tests
2025-04-15 15:23:01 +02:00
tom c45537b706 major update of screenshots 2025-03-26 20:05:25 +01:00
tom 803be77728 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-24 19:47:18 +01:00
tom 730678be0f styles for icon-button and close-button 2025-03-20 19:25:21 +01:00
girafferzandGitHub 29339c75ca fix: correctly handle token.decimals when value is 0 (#2636)
* fix: correctly handle token.decimals when value is 0

Previously, using "Number(data.token.decimals) || 18" caused a valid token.decimals value of 0 to fall back to 18. This commit updates the logic to correctly use 0 when defined, ensuring accurate calculations for tokens with 0 decimals.

* fix: use nullish coalescing for token decimals
2025-03-17 15:24:34 +01:00
tom 98e8c54841 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom 04310094f4 fix some ts errors 2025-03-11 13:11:26 +01:00
tom goriunovandGitHub 429bb4657b MetaMask: update chain data and add NFT tokens (#2598)
* Tweak `Add {Network}` button to enable network details update in MetaMask

Fixes #2591

* add NFTs tokens to MM wallet
2025-03-05 15:03:40 +01:00
tom b855adcf4c address subheading refactoring 2025-02-12 08:47:56 +01:00
tom 3c8e140bfa home page refactoring: first part 2025-01-22 16:41:52 +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
tom goriunovandGitHub 34d014dd7b Celo: Epoch rewards tab bugs on mobile (#2346)
Fixes #2342
2024-11-04 15:19:25 +01:00
tom goriunovandGitHub 23bb231351 Add support for Diamond proxy standard (#1963)
* add support for array of implementations

* refactor ContainerWithScrollY component

* contract source code: allow to choose between all implementations

* fix layout of AddressNetWorth component

* add scroll container to implementation address on write/read proxy contract tab

* update screenshots
2024-05-29 14:09:55 +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 ad89fccee3 Addresses not rendered in token actions on Transaction page (Firefox) (#1832)
Fixes #1827
2024-04-17 20:20:16 +02:00
isstuev 2e23e95715 some fixes and tests 2024-02-12 20:18:08 +01:00
isstuev 36b58a09eb remove dynamic truncation from tables 2024-02-12 20:18:08 +01:00
tom goriunovandGitHub 840c3769f7 Graceful service degradation: block page (#1541)
* display main data

* display rest of tx fields

* placeholder data

* always show tabs

* manage error and retries on details tab

* don't retry if degraded view is active

* fix tests

* fix tx receipt

* change styles and wording for warning

* tweaks

* gray alert style change and update screenshots

* display main block info from RPC

* refetch API query

* txs tab

* display empty address for contract creation tx

* withdrawals tab

* remove type coercions

* lazy rendered lists

* fix RPC query refetch

* fixes

* comment about block type

* fix tests

* update screenshots

* [skip ci] better variable name
2024-01-30 16:58:06 +04:00
tom 1e261e6d5f Address title: second line updates
Fixes #1537
2024-01-25 17:33:45 +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 61ff2dda55 add tests for AddressFromTo 2024-01-17 10:31:57 +04:00
tom 75d54136c2 new arrow styles 2024-01-16 11:45:41 +04:00
tom 4a07153c71 update screenshots 2024-01-03 19:34:47 +04:00
tom 5622b22453 change offsets 2024-01-03 18:37:04 +04:00
tom 723eb07c37 make use of new component 2024-01-03 18:11:29 +04:00
tom a8893f5d5a base implementation of AddressFromTo component 2024-01-03 14:08:53 +04:00
tom 618fb0ded1 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1414 2023-12-26 19:59:30 +04:00
tom 5174ff09c1 hide metamask icon in tables
Fixes #1415
2023-12-21 12:20:26 +04:00
tom 87bbfdd449 migration: next part 2023-12-20 14:09:33 +04:00
tom goriunovandGitHub 56e50b6251 Page title updates (#1265)
* block page title

* tx page title

* address page title

* token page title

* NFT page title

* [skip ci] update envs for review

* update title for NFT instance page

* update screenshots
2023-10-16 13:10:33 -03:00
tom goriunovandGitHub bf1f35b677 Bridged tokens (#1249)
* tag "Bridged"

* base implementation of bridged tokens table

* - add tags
- reset search term and sort when switching between tabs
- fix skeleton
- add descriptioin

* - save search and filter in query
- add link to original token on token page

* add envs

* fix ts

* pin host for demo

* adjust envs schema

* fix schema

* fix review env configs

* tests

* rollback api config

* refactor query

* [skip ci] refactor filters

* update description text and disable reset link if there are no filters active

* fix poppover filter and tabs resize issues

* fix tests
2023-10-09 18:18:31 -03:00
tom 03117176dd remove unused components 2023-08-31 12:32:44 -03:00
tom 103850e8f5 remove AddressLink 2023-08-30 19:38:11 -03:00
tom 001edb22b9 remove type="address" from AddressLink 2023-08-30 13:23:54 -03:00
tom e239b74125 remove AddressSnippet and Address components 2023-08-29 19:20:11 -03:00
tom 05509dcc75 remove Address component, pt.1 2023-08-24 18:48:02 -04:00