44 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
tom goriunovandGitHub 9b89142dbd Incorrect amount of tx value if decimals for native token is not equal 18 (#3129)
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS is not respected in transaction amounts

Resolves #3128
2025-11-14 13:03:36 +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
Igor StuevandGitHub ebb3fb9b6f eslint default export (#2995)
* eslint default export

* fix linter error
2025-09-15 15:20:59 +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 28b9b27e8b Update styles for detailed views on mobile and more (#2875)
* update styles of tx details

* common color for text separator

* remove bold fontWeight from some details items

* address, block, token, pool, user ops details pages

* refactor chain-specific views

* unify grid column template for detailed views

* remove TODO

* update margins for text separator

* update screenshots

* update margin between icon and text for mobile

* rename prop

* update layout of decoded input data

* update screenshots

* fix tac operation and zilliqa quorum snippets
2025-08-12 22:56:03 +02:00
tom goriunovandGitHub ecae7062b2 Merge pull request #2700 from blockscout/release/v2-0-1
Release v2.0.1
2025-05-05 09:56:18 +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 d15d3a1584 fix user op call data switch 2025-05-01 13:47:08 +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 d3da2aa3be refactor Merits dashboard and Entities components 2025-03-11 19:46:38 +01:00
tom 80c55f58d9 showcase fixes 2025-03-03 19:04:25 +01:00
tom 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +01:00
tom abb46a8761 user ops 2025-02-17 20:53:00 +01:00
tom 72f80539f8 DetailedInfo refactoring 2025-02-11 14:57:19 +01:00
Igor StuevandGitHub 74190fd5f6 Show decoded target address in User operations (#2520) 2025-02-04 15:13:18 +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 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub d50475f9d1 Tx interpretation: change margins between elements (#2241)
Paddings: icons + amount/text in interpretation

Fixes #1997
2024-09-16 18:19:37 +02:00
tom goriunovandGitHub 7b9511d179 Hide toggle "Show external call data" when data is not available (#2158)
Fixes #2103
2024-08-12 18:07:53 +02:00
tom 33a85abf7e fix padding, switch executed and inner call data and fix scroll overlay 2024-06-03 13:36:58 +02:00
tom goriunovandGitHub bf9b8cd577 Details page: fix line height for rows (#1949)
* refactor block page

* token details

* token instance details

* name domain details

* blob details

* user ops details

* zkEvm and zkSync batch details

* tx details

* address details

* update screenshots
2024-05-28 12:33:56 +02:00
tom goriunovandGitHub d02a3f707f User Operations: add switcher to call data (#1950)
* User Operations: add switcher to call data

Fixes #1762

* update screenshots

* move toggler above decoded method signature on mobile
2024-05-27 14:18:44 +02:00
tom goriunovandGitHub 0c7b6f5f45 404 for unknown transaction (#1697)
* 404 for unknown transaction

Fixes #1689

* add helper for displaying custom error screen
2024-03-18 13:28:00 +03:00
tom goriunovandGitHub fd016178a1 Merge pull request #1678 from blockscout/fe-1677
Support raw format of v0.7 user ops
2024-03-08 08:19:57 +04:00
isstuev 877b08dc4d add user ops tx interpretation 2024-03-07 22:00:19 +01:00
isstuev c7f648898f Support raw format of v0.7 user ops 2024-03-06 17:23:55 +01:00
isstuev 7c2342e748 review fixes 2024-02-19 12:29:01 +01:00
isstuev f085508cdc shibarium deposits and withdrawals 2024-02-19 12:28:59 +01:00
omahsandGitHub e1b8f920db Fix minor typo (#1608)
fix typo
2024-02-13 17:53:51 +04:00
tom goriunovandGitHub d0c66e1e3f Graceful service degradation: tx details tab (#1525)
* 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

* add retries to RPC call

* fixes after merge
2024-01-30 10:39:23 +04:00
isstuev c03ba4592b review fixes 2024-01-29 13:07:23 +01:00
isstuev 75767b2e4f remove call data tab 2024-01-23 14:57:46 +01:00
isstuev 1f8d7af878 raw data sort 2024-01-22 22:18:42 +01:00
isstuev 2427f21cae fix2 2024-01-22 22:18:40 +01:00
isstuev 86ef160b37 tests, fixes, etc 2024-01-22 22:18:16 +01:00
isstuev 2eb14dd513 schema changes 2024-01-22 22:17:31 +01:00
isstuev c5e1df1807 fixes 2024-01-22 22:17:31 +01:00
isstuev 97e69be288 some other fixes 2024-01-22 22:17:31 +01:00
isstuev e2a35711a2 raw data and some fixes 2024-01-22 22:17:31 +01:00
isstuev eb860cc2d5 hide fee if hidden in config 2024-01-22 22:17:30 +01:00
isstuev a9266484a9 token transfers and call data 2024-01-22 22:17:30 +01:00
isstuev 0f994c6088 user ops list and user op details 2024-01-22 22:17:28 +01:00