Commit Graph
547 Commits
Author SHA1 Message Date
tom baee6d42fa Merge branch 'main' of github.com:blockscout/frontend into release/v2-0-0 2025-04-21 19:47:03 +02:00
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
tom db9390a3fc allow robots to index /api routes 2025-04-18 12:29:30 +02:00
tom 14d2679f6c [skip ci] clean up 2025-04-01 19:25:29 +02:00
tom 0d0e5cde60 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
Igor StuevandGitHub 15153cf776 Interop (#2585)
* interop

* fixes

* fix skeleton

* tests

* review fixes
2025-03-25 12:28:10 +01: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
GeorgyandGitHub 1f911de733 Update helmfile.yaml 2025-03-19 16:28:49 +03: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 f9e83d91d6 [skip ci] open sprite page on prod environment 2025-03-04 20:39:14 +01:00
tom 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +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 goriunovandGitHub 60e0aa3364 Support show_scam_tokens cookie (#2560)
* Support `show_scam_tokens` cookie

Fixes #2549

* fix test and update envs for demo

* [skip ci] pass all cookies via next proxy

* fixes
2025-02-17 14:26:05 +01:00
Igor StuevandGitHub eec6216086 Unify stats across relevant pages (#2561)
* Unify stats across relevant pages

* add op stats to tx page and change stats titles

* demo config

* aboba or cat fix

* chart tooltip fix

* tests

* revert config
2025-02-13 17:16:15 +01:00
Igor StuevandGitHub 67912498df Neon: Solana transactions (#2483)
* Neon: Solana transactions

* add neon-devnet to reviews

* add env validation for external txs feature

* txs -> txns

* review fix
2025-02-13 17:15:57 +01:00
tom goriunovandGitHub 9908a53269 Arbitrum messages claiming (#2533)
* txn withdrawals page stub

* add base page layout

* add ConnectWallet alert

* save search term in page query param

* add links to the new page

* add functionality to claim button

* combine "Connect wallet" and "Claim" buttons

* Refactor rollup configuration to introduce ParentChain structure and deprecate legacy environment variables

* handle txn claim

* allow to pass array of RPC urls for parent chain config

* display token value and completion tx hash

* fix csp

* write tests for arbitrum l2 txn withdrawals

* fix ts

* review fixes

* update screenshots and hide button if the txn is not confirmed yet
2025-02-11 10:36:36 +01:00
tom goriunovandGitHub 77a255d0e7 Show Celestia Blobs on Arbitrum chains (#2562)
* DA info

* ENV variable

* celestia batch page

* tests

* fix ts

* [skip ci] fixes
2025-02-11 09:42:33 +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 goriunovandGitHub 1d2160ed43 App config: support multiple RPC URLs (#2498)
Fixes #2479
2025-01-14 11:55:15 +01:00
tom bd5e3d760a Fix dependabot alerts 2025-01-06 12:07:52 +01:00
tom 60886be306 append hash to sprite file name base on its content 2024-12-23 15:37:28 +01:00
Igor StuevandGitHub bced8f9b7a Games (#2338)
* puzzle15

* capybara

* add claim button (fake)

* fix capy runner

* add claim feature

* remove puzle15

* hide game for tests

* fixes
2024-12-16 16:23:47 +01:00
Igor StuevandGitHub 246447e6fd pools pages (#2468)
* pools pages

* fixes and changes

* revert demo config
2024-12-16 14:43:50 +01:00
Igor StuevandGitHub 00be74150e Advanced filter (#1905)
* advanced filter start

* advanced filters stage 2

* adv filters stage 3

* fixes

* add test

* eslint fixes

* age filter update

* some fixes and filters tests

* fixes 2

* add csv export

* fixes 3

* add env variable for adv filter

* fix tests

* edit env temporary
2024-12-16 13:43:44 +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
tom goriunovandGitHub 114587672c ReCaptcha: migrate back to v2 solution (#2446)
* show recaptcha in the site footer

* replace badge in footer with text

* add invisible reCaptcha v2

* handle unsolved reCaptcha case

* migrate the rest of components to invisible reCaptcha v2

* remove unused code

* refactoring

* add env for demo

* fix tests

* update values for demo

* update link to secret in vault

* mock recaptcha for tests

* ohhh victor victor

* fix token metadata update test

* deprecate variable for ReCaptcha v3
2024-12-09 18:06:56 +01:00
tom goriunovandGitHub adc017d6c7 Zilliqa: filter for Scilla contracts (#2449)
* Zilliqa: filter for Scilla contracts

Fixes #2427

* [skip ci] review fixes
2024-12-09 18:05:44 +01:00
tom goriunovandGitHub da6b2f2b87 Migrate from Sentry.io to Rollbar monitoring solution (#2403)
* basic Rollbar setup

* remove sentry code

* add rollback env to values for demo

* [skip ci] adjust instance name

* fix validator

* don't log errors from API by default and change error levels

* [skip ci] change default value for environment property

* [skip ci] do not log api errors of address endpoint
2024-11-29 15:25:59 +01:00
tom goriunovandGitHub 74a3f296ad Try @helia/verified-fetch for fetching NFT images from IPFS (#2363)
* prototype

* fetch video poster from ipfs

* add a constraint to the asset type

* add ENV variable

* fix tests

* [skip ci] clean up
2024-11-25 10:03:18 +01:00
tom goriunovandGitHub b62cc3fa7d Optimism and Arbitrum rollups updates (#2414)
* OP rollups: add ENV to show/hide "Output roots" page

* Rename status labels for Arbitrum blocks and transactions
2024-11-25 09:50:35 +01:00
tom goriunovandGitHub 9dd092082f Celo: Cross-link to epoch block on the regular block view and Epoch rewards CSV export (#2386)
* Celo: Cross-link to epoch block on the regular block view

Fixes #2365

* [skip ci] fix hover state for gray-blue tag

* CSV export of epoch transactions for address
2024-11-21 13:44:03 +01:00
tom goriunovandGitHub 4a4e299f03 ENVs validator: allow passing a variable that was replaced along with the new one (#2384)
* ENVs validator: allow passing a variable that was replaced along with the new one

Fixes #2372

* make deprecated account envs optional
2024-11-11 17:43:44 +01:00
tom 78ed67687c Favicon generator: pass correct exit code if favicons are not generated 2024-11-11 10:08:59 +01:00
tom goriunovandGitHub 382829d9f7 Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
Igor StuevandGitHub f834a4f59c Humanity score integration (#2354)
* Humanity score integration

* isLoading fix
2024-11-04 18:53:42 +01:00
Max AlekseenkoandGitHub 043f25725e Merge branch 'main' into rewards 2024-11-01 12:55:38 +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
Max Alekseenko 444313bed5 Merge main into rewards 2024-10-30 16:54:58 +01:00
48b39022d3 Account v2 (#2262)
* simple profile button and auth modal layout

* connect email and code screens to API

* add screens to modal for wallet authentication

* migrate to pin input

* user profile menu

* refactor otp field

* fix passing set-cookie from api response

* add wallet info into profile menu

* add mobile menu

* show connected wallet address in button

* my profile page re-design

* custom behaviour of connect button on dapp page

* style pin input

* add logout

* handle case when account is disabled

* handle case when wc is disabled

* remove old components

* refactoring

* workflow to link wallet or email to account

* link wallet from profile

* show better OTP code errors

* add email alert on watchlist and verified addresses pages

* deprecate env and remove old code

* remove code for unverified email page

* add auth guard to address action items

* move useRedirectForInvalidAuthToken hook

* add mixpanel events

* refetch csrf token after login and fix connect wallet from contract page

* Add NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY env

* migrate to reCAPTCHA v3

* resend code and change email from profile page

* better wallet sign-in message error

* fix demo envs

* update some screenshots

* profile button design fixes

* fix behaviour "connect wallet" button on contract page

* fix linking email and wallet to existing account

* bug fixes

* restore the login page

* update screenshots

* tests for auth modal and user profile

* add name field to profile page and write some tests

* [skip ci] clean up and more tests

* update texts

* change text once more

* fix verified email checkmark behaviour

* pass api error to the toast while signing in with wallet

* [skip ci] disable email field on profile page

* bug fixes

* update screenshot

* Blockscout account V2

Fixes #2029

* fix texts and button paddings

* Form fields refactoring (#2320)

* text and address fields for watchlist form

* checkbox field component

* refactor private tags form

* refactor api keys and custom abi

* refactor verifiy address and token info forms (pt. 1)

* refactor token info forms (pt. 2)

* refactor token info forms (pt. 3)

* refactor public tags form

* refactor contract verification form

* refactor contract audit form

* refactor auth, profile and csv export forms

* renaming and moving

* more refactoring and test fixes

---------

Co-authored-by: aagaev <[email protected]>
2024-10-30 12:56:57 +01:00
Igor StuevandGitHub 224ddd1a06 Merge pull request #2325 from blockscout/fe-2317
Zapper integration
2024-10-29 12:25:04 +01:00
isstuev e6b57f696e review fixes 2024-10-29 12:06:36 +01:00
isstuev 6a93bdbb0b Zapper integration 2024-10-29 11:54:49 +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
tom goriunovandGitHub 5cd3e83f66 Fix security vulnerability issues (#2326) 2024-10-28 18:07:40 +01:00