14 Commits
Author SHA1 Message Date
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 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
isstuev 61271e560a stats updates 2024-09-25 10:16:02 +02:00
tom goriunovandGitHub e9aa8a3c2f Stats: give emphasis to incomplete data days (#2085)
* draw dotted line for incomplete data

* add title to tooltip

* refactor parts into separate components

* move utils

* refactor render logic of tooltip

* more refactoring

* fix issue in safari

* tweaks

* test

* make an approximation as a straight line.

* update screenshots

* fix the tooltip hiding behavior.

* add prop for disabling animation
2024-07-22 14:41:18 +02: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 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 dc5fb9142c skeletons for stats 2023-05-25 17:54:20 -03:00
tom ad85fc18dc add units in tooltip 2023-02-23 15:27:55 -05:00
tom cc9cdf774e fixes for safari 2023-01-26 09:56:13 -06:00
Yuri Mikhin 4d0e0bceec Remove charts flickering. 2023-01-22 16:34:05 +03:00
Yuri MikhinandYuri Mikhin 78f12ca2a7 Remake charts API integration. 2023-01-18 12:45:44 +03:00
Yuri MikhinandYuri Mikhin 4d980dc29f Add network error state for charts. 2023-01-13 12:48:56 +03:00
tom 8ea2bf43cf stats api 2022-12-20 12:52:47 +03:00
Yuri MikhinandYuri Mikhin 68e797d5c1 Move ChartWidget to ui/shared/chart. 2022-12-19 16:45:13 +03:00