69 Commits
Author SHA1 Message Date
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
tom goriunovandGitHub 5c0c18149d Move charts to toolkit and improve color mode hook (#3075)
* move charts to toolkit

* refactor imports

* fix tests

* change the behavior of the color mode hook and add the noWatermark prop

* fix gas tracker test and fix toolkit build
2025-10-21 17:33:04 +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 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 goriunovandGitHub fae4990e1f API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
tom 0c34029e42 design fixes, pt.1 2025-03-25 14:16:06 +01:00
tom c55dfdcf5b remove old semantic tokens 2025-03-13 15:22:59 +01:00
tom ab7bf0655e validators and coin balance tabs 2025-02-12 20:57:31 +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
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +02:00
tom 80ef89ef8a remove AddressCoinBalanceHistoryChartOld 2024-09-05 15:54:13 +02:00
isstuev 0b9b9b7e33 Add tooltip with full date on "age" fields 2024-07-22 12:57:55 +02:00
tom goriunovandGitHub 2aff9cf6cf Element paddings updates (#1929)
* update paddings on homepage

* update styles for network menu

* search input paddings updates

* update action bar paddings

* update sepolia preset

* fix scroll to active tab

* update padding for navigation menu

* add comment

* update screenshots

* fix screenshots
2024-05-20 13:17:04 +02:00
isstuev 4a4708a1e4 coin balance history chart new type and custom empty text 2024-04-09 17:00:32 +02:00
tom ae09531748 Custom 'wei' name
Fixes #1490
2024-01-18 18:41:00 +04:00
tom goriunovandGitHub c559061506 migrate to ReactQuery v5 (#1321)
* change signature of hooks

* isLoading -> isPending

* default error type

* dev tools props
2023-11-02 10:27:41 -03:00
tom goriunovandGitHub bad9591ed1 update icon styles for tokens, contract and more (#1204)
* update border radius for token logos and contract icon

* update gaps between icons and text

* update NFT icon and create entity

* update screenshots
2023-09-25 14:29:26 -03:00
tom goriunovandGitHub 4563b9fe75 components for Block and Tx entities (#1108)
* base implementation of entity

* refactor other components to make use of BlockEntity

* tests

* migrate entities w/o icon + L2 blocks

* base implementation of tx entity

* delet TransactionSnippet

* remove type="transaction" from AddressLink

* tests for TxEntity

* make EntityBase components

* common styles for icon color and spacing to text

* update icon color in tests

* update icons to slime format

* Address entity
2023-08-23 18:08:01 -04:00
tom goriunovandGitHub 05945f6cf7 refactor page layout components (#1087)
* update csv export text

* fix pw tests

* base layout and customization for home page and search results page

* refactor rest of the pages

* refactor AppError

* move header padding to layout

* move nextjs utils to separate folder

* combine PageServer and Page

* make useQueryClientConfig hook

* add tests

* remove unused var

* fix envs for pw

* fix pw tests
2023-08-15 19:28:00 -04:00
tom goriunovandGitHub e3551038af app feature list (#1079)
* metadata helpers and values for txs pages

* update titles to the rest of the pages

* refactor getServerSideProps

* dynamically update metadata for token and dapp page

* test

* 404 error page

* make new config

* make use of new config, delete old one

* feature reporter: dev implementation

* feature reporter: docker integration

* resctructure ENVS.md

* sentry feature

* refinements

* add spaces between sections

* tweaks

* switch to camelCase

* clean up

* remove NEXT_PUBLIC_NETWORK_TOKEN_ADDRESS

* v
2023-08-09 15:39:36 -04:00
tom goriunovandGitHub 06b9c95459 disable focus state for buttons on mobile (#1043)
Address Contract tab title: unnecessary border in mobile view

Fixes #1041
2023-08-02 13:34:21 -04:00
tom 58fcb78113 refactor 2023-06-12 16:22:18 -04:00
tom 67aa84d2b1 clean up 2023-06-02 11:47:04 -03:00
isstuev 94831a283a block hash or height 2023-05-29 12:49:13 -03:00
tom e136222990 units for coin balance chart 2023-05-26 16:15:44 -03:00
tom dc5fb9142c skeletons for stats 2023-05-25 17:54:20 -03:00
tom 34808ad970 skeletons for coin balance history 2023-05-25 12:21:39 -03:00
isstuev 01af0271a3 change copy icon color 2023-05-02 16:48:09 -03:00
isstuev c97bb43091 design-fixes 2023-03-23 22:35:27 -03:00
isstuev a1029826e9 better types 2023-03-14 12:28:02 -03:00
isstuev 1b766d1d02 display list component 2023-03-13 16:45:16 -03:00
tom 712af47c32 long skeleton, first attempt 2023-02-17 15:43:05 -05:00
tom d16cffa38e address routes 2023-02-16 12:56:18 -05:00
tom 8126906cca blocks routes 2023-02-16 12:48:17 -05:00
isstuev 18982def41 fix sticky header top 2023-02-06 14:21:29 -05:00
tom 86fa1b52c7 hmmm 2023-01-26 18:43:39 -06:00
tom f9599ec3f1 try to fix test in CI 2023-01-26 18:28:57 -06:00
tom 10cd7370bb fix address coin balance 2023-01-26 18:08:11 -06:00
tom 97036b52bf Merge branch 'main' of github.com:blockscout/frontend into internal-link 2023-01-26 17:09:35 -06:00
tom 23775044fd InternalLink component 2023-01-26 15:07:00 -06:00
isstuev 543af973f6 show-hide ssr 2023-01-26 12:19:57 -06:00
tom cc9cdf774e fixes for safari 2023-01-26 09:56:13 -06:00
tom 19d10f47f1 more stats fixes 2023-01-26 09:20:01 -06:00
tom 5178e436d5 Merge branch 'main' of github.com:blockscout/frontend into contract-write 2023-01-13 17:46:59 -06:00
Yuri MikhinandYuri Mikhin 4d980dc29f Add network error state for charts. 2023-01-13 12:48:56 +03:00
tom 45027d2415 verified tick and balance history fixes 2023-01-12 09:03:24 -06:00
Yuri MikhinandYuri Mikhin 0e291dd850 Add grouping of values for charts at the long ranges. 2023-01-11 18:54:36 +03:00
tom 0c5268a777 Merge branch 'main' of github.com:blockscout/frontend into contract-creation-code 2023-01-04 10:59:54 -06:00