20 Commits
Author SHA1 Message Date
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
Igor StuevandGitHub eec6216086 Unify stats across relevant pages (#2561)
* Unify stats across relevant pages

* add op stats to tx page and change stats titles

* demo config

* aboba or cat fix

* chart tooltip fix

* tests

* revert config
2025-02-13 17:16:15 +01:00
tom goriunovandGitHub d29849184d 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
tom goriunovandGitHub f3fbe04d11 Bind to full prop namings in API v2 endpoints (#2381)
Fixes #2374
2024-11-11 17:45:07 +01:00
isstuev b9bda5182c stats updates tests 2024-09-25 10:16:03 +02:00
isstuev 61271e560a stats updates 2024-09-25 10:16:02 +02:00
tom goriunovandGitHub 4e14bbc1d8 Stats Update: secondary token icon (#2206)
Fixes #1849
2024-09-06 12:19:41 +02:00
tom f09e2a368d fis stats on home page when there is no gas info 2024-07-30 13:24:43 +02:00
tom goriunovandGitHub 5d2ae73172 Migrate to @blockscout/stats-types and @blockscout/visualizer-types (#2063)
* migrate to stats-types package

* migrate to visualizer-types package

* update package.json
2024-07-02 16:27:13 +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
isstuev 583eb40698 native token icon separate 2024-05-24 12:18:28 +02:00
isstuevandisstuev efa177b3d4 add native token image 2024-05-23 23:52:56 +02:00
tom goriunovandGitHub c0e660d2e1 Stats Update (#1796)
* [WIP] chart for secondary coin price

* latest L1 state batch snippet

* txs stats snipper

* Merge main branch

* optimism preset

* rename governance token into secondary coin

* add secondary coin price to top bar

* calculate usd value for avg tx fee

* tests

* tweaks

* change envs for demo

* fix tests

* fixes

* fix flaky test

* change scroll to filter for stats link behaviour
2024-04-17 10:04:33 +02:00
tom e28df6ea15 Add a decimal part to the Market cap graph value and handle null values 2024-02-26 13:32:28 +04:00
tom goriunovandGitHub ae5489b1f7 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
tom 9a24651687 new data format and update times 2024-01-05 19:06:15 +04:00
tom d5c8e79fc2 coin price change 2024-01-05 14:11:59 +04:00
tom goriunovandGitHub 96582e3a79 TVL stats and Rootstock locked BTC (#1297)
* Handle new TVL property in /api/v2/stats/charts/market endpoint

Fixes #1250

* Support stats widget for Rootstock

* fix envs validation

* fix tests
2023-10-18 17:43:12 -03:00
Yuri MikhinandYuri Mikhin 305b264072 Rename the Stats type to the HomeStats type. 2022-11-30 12:37:17 +03:00
tom 1c6badb772 stats and charts tests 2022-11-29 16:14:58 +03:00