Commit Graph
21 Commits
Author SHA1 Message Date
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 acb6cb44d6 navigation doesn't work on error pages (#1519)
* navigation doesn't work on error pages

Fixes #1518

* unify API resource thrown errors and disable Sentry logging for them

* test fix
2024-01-22 17:36:30 +04:00
tom c6f1ed87e0 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2024-01-17 11:34:41 +04:00
tom d5c8e79fc2 coin price change 2024-01-05 14:11:59 +04:00
tom d067ef07a6 migration to new API resources schema 2023-12-27 19:34:22 +04:00
tom goriunovandGitHub e3551038af 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 550eecb86f [skip ci] send cookie to other origins only if account is enabled 2023-08-08 08:31:36 -04:00
tom goriunovandGitHub 4fa0edfae3 support 429 "Too many requests" API error (#1004)
* get client key on 429 error

* set key to cookie and pass it in query params

* move csrf-token header to useApiFetch

* pin host for preview

* actual layout

* support new changes in API

* proxy headers from API

* add header to request

* remove next.js proxy flag

* fix ts

* refactor

* add tests
2023-08-02 19:45:06 -04:00
tom 5d4de74c5f add Authorization header for external services APIs 2023-05-31 16:39:46 -03:00
tom 6106f8d6b6 fix condition for fetch x-endpoint header 2023-04-13 13:43:59 -03:00
tom 530185520e add meta data to sentry errors 2023-02-28 18:49:43 -05:00
tom 3607609838 better resource types 2023-02-16 15:01:04 -05:00
isstuev 7e8b248ef2 token transfer socket 2023-01-17 13:24:39 -06:00
tom 265b425ca9 add api 2022-12-26 16:26:10 +03:00
tom 9615a2025e other paginated resources 2022-12-24 22:03:59 +03:00
tom bfb4d708a2 blocks and block txs 2022-12-24 20:47:38 +03:00
tom cf76b6b265 rollback csrf 2022-12-20 15:07:37 +03:00
tom 8ea2bf43cf stats api 2022-12-20 12:52:47 +03:00
tom c01173b642 refactor 2022-12-20 10:49:58 +03:00
tom 3f2aae927d watchlist resource 2022-12-20 10:00:43 +03:00
tom 19ef04ff3c custom abi resources 2022-12-19 17:11:53 +03:00