Commit Graph
14 Commits
Author SHA1 Message Date
tom goriunovandGitHub b6d5268188 Enhance OG tags with API data (#1806)
* simple fetch data for token instance page

* generate enhanced metadata

* group query params in page props

* make base gSSP function generic

* add metric for search engine bots

* measure api request duration

* get API data for token, address and dapp pages

* improve typings for apiData prop

* add ENV variable

* tweak logs for /media-type requests

* [skip ci] add prefix to default metrics
2024-04-16 10:27:47 +02:00
tom goriunovandGitHub e62fdcae2f show "Read contract" tab even if WalletConnect is not configured (#1315)
Fixes #1313
2023-11-02 10:27:30 -03:00
tom a50b4b8aa3 [skip ci] move next.js api config to proxy route 2023-10-13 18:47:55 -03:00
tom goriunovandGitHub 05945f6cf7 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 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 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 f53c949f22 fix csrf request 2022-12-30 10:31:05 +03:00
tom 22b0ae8ba1 refactoring and clean up 2022-12-29 11:30:24 +03:00
tom 4d284138c5 add prefix to proxy path 2022-12-26 16:36:28 +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 70e44120c1 api keys resource 2022-12-20 11:50:24 +03:00
tom d8ad7d612b first two resources and hook 2022-12-19 13:23:54 +03:00
tom ddc541a7dc make proxy for localhost 2022-12-19 11:16:26 +03:00