Commit Graph
46 Commits
Author SHA1 Message Date
Max AlekseenkoandGitHub c24d92193f Support new API for dapp ratings (#2916); Remove dapp security score (#2918) 2025-08-08 14:49:14 +02:00
6d44e159b5 Address widgets (#2788)
* add address widgets

* Update ENVS.md

* fix long values

* fix responsive size and hover border color

* improve url template formatting, add chainId mapping

* add hover animation

* add widgets tab

* filter widgets by address type

* fix link style

* add mixpanel event

* fix stub

* fix result check

* add tests

* fix tabs loading

* Check the workflow: generate chakra types if the node_modules cache is hit

* fix loading

* fix loading view all link

* fix loading issue

* post-review changes

* rename envs and feature

* rename components and hook

* rename config prop and change url template format

* change validation schema

* add chain_id to request params

* update tests

* rename, improve

* improve grid logic

* improve formatting func

* simplify grid logic

* update hint text

* duplicate widgets in env for tests

* update mocks and snapshots

* fix text

* fix grid one more time

* update envs with test config

* update snapshots

* fix grid max width

* update mock and snapshots

* use separator

* Update .env.eth

* fix

* update snapshots

---------

Co-authored-by: tom <[email protected]>
2025-07-04 10:21:28 +02:00
tom goriunovandGitHub ca4c8d6633 OP Superchain Explorer: MVP (#2786)
* context for storing subchain config and tx view for subchain

* address page and block page for subchain

* address aggregated page: local txs tab

* connect MultichainSelect to context

* home page placeholder

* refactor subchain select state

* envs for demo

* fix ts

* clear value for l2 review

* subchain widgets on home page

* csp policies

* sockets, duck and goose

* fix socket on subchain address page

* link builder for subchain views

* update home widget

* fix time increment

* enable tx interpretator and metadata service

* generate multichain config based on every chain app config

* Fix the multichain config to work in Docker

* multichain socket test

* rename subchain-id to subchain-slug path param

* refactoring

* update chain icons on entities

* home page: latest local txs

* latest cross-chain txs

* minor improvements

* renaming, pt. 1

* rename chain routes

* enable blockchain interaction

* add loading state to icon shield

* fix build

* fix tests

* update types package
2025-07-03 15:07:00 +02:00
tom 803be77728 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-24 19:47:18 +01:00
tom b1b8c508c7 [skip ci] generate og image after validating envs 2025-03-19 19:28:27 +01:00
tom goriunovandGitHub 7e7f49cbe6 Make static sprite registry (#2615)
* make static sprite registry

* [skip ci] fix file stats command

* [skip ci] sort icons by name
2025-03-14 17:04:06 +01:00
tom 4216798b00 fix build, sidebar transition and network logo loading state 2025-03-12 20:15:14 +01:00
tom 98e8c54841 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom 3b727f406b [skip ci] add timeouts for og and sitemap generators 2025-02-18 14:21:27 +01:00
tom c5f8fcdd3f [skip ci] add timeout for asset download script 2025-02-18 12:18:57 +01:00
tom 57c70454ee make build not failing in the ci 2025-01-23 18:13:19 +01:00
tom goriunovandGitHub b32a115b07 OG image: automatically generate image on container start (#2496)
* make script to generate OG image at container start

* add prod service URL

* remove og_image.png

* update path to file

* [skip ci] remove app url from payload
2025-01-14 12:01:18 +01:00
tom goriunovandGitHub ec06875b08 Generate sitemap.xml and robots.txt files (#2502)
* base implementation of sitemap generator

* move generator to separate directory to optimize docker image size

* generate robots.txt file
2025-01-14 11:56:47 +01:00
tom 60886be306 append hash to sprite file name base on its content 2024-12-23 15:37:28 +01:00
MaxandGitHub 7947f1fc74 fix(deploy-script): favicon generator (#2466)
Without this change, the script tries to execute an `index.js` located
in a folder that does not have such a file.
2024-12-13 13:56:53 +01:00
Igor StuevandGitHub 926beb4091 Merge pull request #2319 from blockscout/fe-2287
Favicon generator: replace realfavicon with favicons package
2024-11-01 11:39:06 +01:00
tom goriunovandGitHub 644122b3a5 Add run-time variable to skip ENVs validation (#2334)
Add run-time variable to skip ENV validation
2024-10-29 08:18:48 +01:00
isstuev 71cf615b30 Favicon generator: replace realfavicon with favicons package 2024-10-25 13:57:35 +02:00
isstuev 15bbd28000 Graph integration 2024-10-17 13:39:10 +03:00
omnusandGitHub 73a1cd8659 Next.js compliant command for production builds (#2219)
* feat: Vercel compliant command for prod builds

* feat: simplify to a single command, rename command

Also included the script to download assets.

* fix: exclude vercel injected env vars

Vercel injects a number of environment variables, that in some cases can result in run time errors when the app is reading from envs.js. Exclude these.
2024-09-11 12:20:27 +02:00
tom f476b4e6b5 add support of raw string inputs for json-like config ENVs 2024-08-30 18:43:25 +02:00
tom goriunovandGitHub 811ba0a437 Move generated assets into separate folder inside the public folder (#1930)
* add build-time ENV to explicitly enable Open Telemetry

* generate svg-sprite before next build

* move envs.js to assets folder

* move favicon bundle to assets folder

* move external configs to configs folder

* fix envs validator
2024-05-20 13:17:33 +02:00
tom goriunovandGitHub 35314183d6 zkEVM deposits and withdrawals (#1833)
* deposits page

* withdrawals page

* tests

* rename optimism routes

* [skip ci] fix presets
2024-04-23 15:42:32 +02:00
tom goriunovandGitHub 0057fe01c4 ENVs preset for deploy demo workflow (#1829)
* pass envs preset to docker entrypoing

* gh actions integration

* update presets

* more preset fixes

* [skip ci] fixes
2024-04-17 14:38:53 +02:00
Max Alekseenko 188139b77c add iframe banner 2024-04-04 18:00:48 +02:00
Max Alekseenko a2d13d8b95 add featured app banner 2024-03-29 19:46:43 +01:00
Max Alekseenko 815921be25 add security score component, integrate real data 2024-03-13 22:19:08 +01:00
Max Alekseenko 28f5a61303 use separate list of categories and improve apps sorting 2024-01-26 17:44:19 +01:00
tom goriunovandGitHub 06a8b00ba9 support local file URI for ENVs with external resources (#1325)
[skip ci] support local file URI for ENVs with external resources

Fixes #1324
2023-11-08 10:11:40 -03:00
tom goriunovandGitHub f4a9d70a4c ENVs changes and test script for validator (#1296)
* use SENTRY_CSP_REPORT_URI only in nextjs part of the app

* rename NEXT_PUBLIC_FAVICON_GENERATOR_API_KEY to FAVICON_GENERATOR_API_KEY

* tests presets for envs validator

* simplify logs

* refactor getExternalJsonContent function

* tweak contribution guide

* break validator

* debug workflow

* fix copying assets folder

* fix CI
2023-10-18 12:05:00 -03:00
tom goriunovandGitHub f6c2115018 filters counters and verify button (#1294)
* add counter to filters

* move verification button higher for partially verified contracts

* [skip ci] support query params in external assets ENV urls

* [skip ci] skip code checks if changes in tools folder

* [skip ci] tweak eslint process.env rule
2023-10-18 12:03:09 -03:00
tom goriunovandGitHub 7dc9f249c1 double quotes in NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE cause an error (#1285)
Fixes #1276
2023-10-16 11:15:39 -03:00
tom b1b2e17e33 fix envs generator for pw tests 2023-10-13 17:49:52 -03:00
tom 714992892e [skip ci] fix loading envs from docker build stage 2023-10-03 10:19:33 -03:00
tom goriunovandGitHub 43f1af2c25 workaround for ENV replacement script (#1212)
* base implementation of client script with envs values

* better ENVs setup for pw tests

* fix tests
2023-09-29 10:45:23 -03:00
Igor StuevandGitHub a463c05cac og improvements (#1175)
* og improvements

* update review configs

* review fix

* review fix 2
2023-09-25 14:34:26 -03:00
tom goriunovandGitHub cc21eb144e validate ENV values at run-time (#1184)
* migrate from zod to yul schema

* describe full schema

* adjust docker integration

* make script for downloading app assets

* change links to downloaded assets in the config code

* docker integration

* validate external json configs

* better schemas and ts integration

* update docs and dev script

* gh workflow

* try to fail gh workflow

* install global deps and adjust script for gh workflow

* refinements

* make workflow to pass

* 🙈

* fix tests
2023-09-19 16:19:27 -03:00
tom goriunovandGitHub 4c905b061c Highlight Safe wallets (#1174)
* add tag and icon for safe contracts

* surpress sentry error log and describe feature in the docs

* refine logs at container start
2023-09-19 11:18:07 -03:00
tom c3002e4bd6 add favicon path to values for review envs 2023-09-06 15:54:33 -03:00
tom 457a7adae8 integrate with docker and CI 2023-09-06 15:23:41 -03: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 7150f93435 image build process improvements (#1045)
* auto-generate .env.production file

* env placeholders congruity check

* refactor yarn dev and docker tasks

* [skip ci] pass git tag and commit sha to dev app

* [skip ci] clean up
2023-08-02 13:32:53 -04:00
tom goriunovandGitHub d22f431755 ENVs integrity check (#1039)
* group account envs in docs

* remove NEXT_PUBLIC_LOGOUT_RETURN_URL env

* simple ENVs checker

* add types for all envs

* group values in config

* global envs types

* text tweaks

* fixes

* [skip ci] fix docker build
2023-07-26 09:32:37 -04:00
tom a75ba3d39e fix envs replace script 2022-11-21 15:56:19 +04:00
tom b0e5c8b6ec empty envs and configs clean up 2022-10-13 13:26:23 +03:00
tom 919ec602b8 deploy refactoring 2022-09-16 17:13:48 +03:00