193 Commits
Author SHA1 Message Date
tom goriunovandGitHub b9c24fea17 Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
Igor StuevandGitHub 28d077c59c remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom 833908e61c [skip ci] add line wrapping for blocks base fee 2024-12-23 15:37:28 +01:00
tom goriunovandGitHub bae98b9d2d fix block miner highlight style (#2459) 2024-12-10 19:46:39 +01:00
tom 5c286d6517 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub c3efa1f74e Bind to full prop namings in API v2 endpoints (#2381)
Fixes #2374
2024-11-11 17:45:07 +01:00
isstuev ab08b296bc support custom wei 2024-10-28 12:03:55 +01:00
isstuev a5e00e5241 Blocks list: add base fee 2024-10-28 12:03:54 +01:00
isstuev a869cfa1a7 Table: table header left/right hor padding 2024-10-21 12:34:00 +02:00
tom goriunovandGitHub 81e244e8ae OP rollup: Batch view and DA fields (#2210)
* tx batches view adjustments

* blocks and txs tabs of batch page

* batch details

* add batch info to block details view

* display batch blob data in EIP-4844 and calldata container

* display batch blob data in celestia container

* tests

* add optimism_celestia preset

* review fixes

* update screenshots
2024-09-06 12:19:01 +02:00
tom goriunovandGitHub 489768e0c4 Celo: Block views customizations (#2185)
* show flag next to epoch block

* block view customizations

* add hint with link

* display block epoch transfers

* show epoch election reward types

* show reward details

* show base fee token from API

* display current epoch on main page

* mobile view

* tests

* add infinite scroll loading to reward details resource

* update useApiQuery options

* update screenshots

* update layout of reward details on desktop

* change hints of block epoch reward distribution
2024-08-28 13:30:16 +02:00
isstuev 0f40d4f81c Add tooltip with full date on "age" fields 2024-07-22 12:57:55 +02:00
Igor StuevandGitHub bf39e5807c Merge pull request #2099 from blockscout/fe-2060
delete gas used utilization for some rollups
2024-07-22 12:50:29 +02:00
tom goriunovandGitHub 0ed0015dc9 Block Countdown page (#2091)
* page placeholder

* block info snippet

* add actions for calendar buttons

* add timer

* add redirect when timer runs out

* add redirect from not found block page

* block countdown index page

* link to countdown index page

* add link to search suggest

* add URL to an event

* add link to block countdown on mobile

* tests

* add countdown text to search result page

* update margins

* show block countdown when search results are not empty
2024-07-18 08:56:28 +02:00
isstuev ee35664cb1 delete gas used utilization for some rollups 2024-07-16 12:56:30 +02:00
isstuev 5095829860 fix show reward condition in blocks table 2024-07-02 17:18:10 +02:00
isstuev 3de2fe9569 review fix 2024-06-20 17:57:18 +03:00
isstuev b2cdf7c6b9 arbitrum 2024-06-18 12:11:43 +03:00
tom c81bd827a4 fix padding for page tabs 2024-05-30 13:47:56 +02:00
isstuev f9e01d865e Multi chain balance button 2024-05-26 16:14:04 +02:00
tom goriunovandGitHub 5d90e27a68 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 7549e11bc4 fix block table layout
h ick 7b395881 up node version to 18
2024-02-29 13:10:05 +01:00
tom goriunovandGitHub 7c9a967774 Gas tracker page (#1524)
* add custom headers to API resource

* refactoring

* page title

* chart

* gas prices snippet

* GasPrice component

* add ENV for gas units

* dark theme and other tweaks

* tests

* add base and priority fee

* [skip ci] small fiat values

* change behavior of the variable

* update tooltip layout

* refactor gas info tooltip

* refactor GasPrice component

* fix logic and deploy demo for eth mainnet

* tests

* remove link from anchor

* [skip ci] rollback ENVs for demo

* review fixes

* fix tests
2024-02-20 08:36:57 +04:00
isstuev 45e2602e31 remove dynamic truncation from tables 2024-02-12 20:18:08 +01:00
tom goriunovandGitHub 6ebcc30e83 Refactor rollup features (#1599)
* refactor ENVs and app feature

* rename l2 into optimisticL2

* [skip ci] fix validator schema
2024-02-12 17:35:22 +04:00
tom 00a63f9221 Custom 'wei' name
Fixes #1490
2024-01-18 18:41:00 +04:00
tom fbaa2a6626 Highlighted address
Fixes #1446
2024-01-17 19:24:25 +04:00
tom goriunovandGitHub f160dfd321 Merge pull request #1492 from blockscout/tom2drum/issue-1486
Highlight "Uncle" blocks
2024-01-17 18:27:05 +04:00
tom e084af0419 use dataUpdatedAt as a reference 2024-01-11 19:50:04 +04:00
tom a72d84dbaf Highlight "Uncle" blocks
Fixes #1486
2024-01-11 17:58:16 +04:00
tom 5055cc08a4 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1446 2023-12-27 12:03:52 +04:00
tom 5fef50ac87 highlight similar addresses in the table views 2023-12-26 19:55:35 +04:00
tom 97385b60b0 migrate address, block and tx pages 2023-12-20 13:26:42 +04:00
tom goriunovandGitHub 34e85c0e09 Update SearchBar background color and hide miner field in block views (#1397)
* update SearchBar background color on home page

* add miner field to NEXT_PUBLIC_VIEWS_BLOCK_HIDDEN_FIELDS variable supported values
2023-12-11 17:31:29 +04:00
isstuevandisstuev 43bcf1a606 rollup config fixes 2023-10-23 23:14:57 +02:00
tom goriunovandGitHub 6f6bad6906 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
isstuev 636ea7248e new blocks from socket limit 2023-09-08 11:52:14 -03:00
tom 2af932fe01 remove type="address" from AddressLink 2023-08-30 13:23:54 -03:00
tom goriunovandGitHub cac2ed2413 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 e28e70f3e0 Rootstock block fields updates (#1102)
* small fixes in blocks fields + config for rootstock

* add env for hidding fields in block views

* [skip ci] update docs
2023-08-22 18:36:02 -04:00
tom goriunovandGitHub e5bb9b21af 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 f644f2a96e 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 f872c87e9f trim block height if it is too long (#1033)
Fixes #1023
2023-07-24 09:50:57 -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 f4fe266bfd Icon component with skeleton 2023-05-16 09:26:17 -03:00
tom eb04577ac4 skeleton for pagination component 2023-05-12 20:55:19 -03:00
tom 428783f3f4 skeletons for blocks page 2023-05-12 18:22:05 -03:00
isstuev e90a7ecc57 global en locale 2023-04-12 10:16:26 -03:00