Commit Graph
59 Commits
Author SHA1 Message Date
Igor StuevandGitHub b79d300fd2 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom goriunovandGitHub d7cbebe580 Replace system selectors with Blockscout selectors style (#2451)
* migrate from native select to the custom one

* migrate popover radio filter to select component

* migrate stats menu to select

* migrate Sort component

* screenshot updates
2024-12-13 14:42:21 +01:00
tom 56ed34c852 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
isstuev 831fc63430 design fixes 2024-09-25 10:16:02 +02:00
isstuev a4f8d38b80 stats updates 2024-09-25 10:16:02 +02:00
tom goriunovandGitHub 403bc9e882 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 f1b59f4f8b Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom aff9dd0231 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1977 2024-07-05 19:18:51 +02:00
tom goriunovandGitHub 8ce5d336d9 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 c433698aed update gutter for Menu dropdown 2024-06-28 18:55:22 +02:00
tom goriunovandGitHub d664a5f81a Update styles of outlined buttons and more (#1978)
* selected state for Button

* tests

* fix menu filter button hover issue

* update screenshots

* try to fix SearchBar recent keywords test
2024-06-05 12:44:09 +02:00
tom goriunovandGitHub 6b66cd4cd4 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 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
tom goriunovandGitHub b3a5a141f9 Validators list (#1621)
* new ENV and page placeholder

* display list data

* comment out SearchInput

* add counters

* add tag to address page

* tests

* refactoring

* fix ts

* change ENVs for demo

* fix ENVs validator

* [skip ci] remove hash

* review fixes
2024-02-19 11:04:28 +04:00
tom e084af0419 use dataUpdatedAt as a reference 2024-01-11 19:50:04 +04:00
tom ffa394a211 tooltip on stats page 2024-01-08 07:57:10 +04:00
tom 6a176e33c5 migration: next part 2023-12-20 14:09:33 +04:00
isstuev afe23d6d54 stats second fix 2023-12-14 12:53:10 +01:00
tom goriunovandGitHub f5404749f9 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 203332b945 Charts&Stats: add tooltips to number charts (#1192)
Fixes #1151
2023-09-19 11:21:26 -03:00
tom 2bdeccedaf skeletons for stats counters 2023-06-02 11:59:47 -03:00
tom dc5fb9142c skeletons for stats 2023-05-25 17:54:20 -03:00
tom 2b813d102e renaming 2023-05-08 15:47:14 -03:00
isstuev e90a7ecc57 global en locale 2023-04-12 10:16:26 -03:00
tom d324576c6b Merge branch 'main' of github.com:blockscout/frontend into charts-fixes 2023-02-28 11:33:20 -05:00
tom 85e1fe67cf remove number formatters 2023-02-24 11:54:14 -05: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 Mikhin 1c0dfd1d11 Remake mobile layout for the stats page. 2023-01-22 16:34:04 +03:00
isstuev 948c086642 token type filter 2023-01-20 11:22:06 -06:00
Yuri MikhinandYuri Mikhin 78f12ca2a7 Remake charts API integration. 2023-01-18 12:45:44 +03:00
Yuri MikhinandYuri Mikhin 8d4f383ea8 Remake counters 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
Yuri MikhinandYuri Mikhin 0e291dd850 Add grouping of values for charts at the long ranges. 2023-01-11 18:54:36 +03:00
Yuri MikhinandYuri Mikhin ceefa93ebb Add units to number widgets in the Stats. 2023-01-03 23:20:05 +03:00
Yuri MikhinandYuri Mikhin 08769c84a2 Add metric prefixes for stats and charts. 2023-01-03 23:20:05 +03:00
Yuri MikhinandYuri Mikhin da7d356ead Add new charts. 2023-01-03 23:20:05 +03:00
Yuri Mikhin 7bbd84b3e5 Temporary disable some charts. 2022-12-27 13:42:28 +03:00
Yuri MikhinandYuri Mikhin c0a422af00 Fix stats widgets. 2022-12-27 13:22:42 +03:00
tom goriunovandGitHub 21df28f3f9 Merge branch 'main' into client-api-calls 2022-12-26 16:31:49 +03:00
Yuri MikhinandYuri Mikhin b79922aca9 Swap filter elements in the Stats page. 2022-12-25 22:14:53 +03:00
tom 8ea2bf43cf stats api 2022-12-20 12:52:47 +03:00
Yuri MikhinandYuri Mikhin f1e3acd86e Improve Stats page layout. 2022-12-19 16:45:13 +03:00
Yuri MikhinandYuri Mikhin fa7e5c8d15 Add new number stats widgets. 2022-12-19 16:45:13 +03:00
Yuri MikhinandYuri Mikhin 68e797d5c1 Move ChartWidget to ui/shared/chart. 2022-12-19 16:45:13 +03:00
tom 701baa7dc6 fix chart resize when toggling nav bar 2022-12-16 14:10:40 +03:00
Yuri MikhinandYuri Mikhin 4858b3693f Remove 'visible' property from charts. 2022-12-13 22:37:07 +03:00
Yuri MikhinandYuri Mikhin 178e46c73a Add new charts. 2022-12-13 22:37:07 +03:00
Yuri MikhinandYuri Mikhin 67c4ca6160 Improve stats charts. 2022-12-12 12:58:45 +03:00