Commit Graph
326 Commits
Author SHA1 Message Date
Max AlekseenkoandGitHub 89169fa090 Hotfix for v2.2.0 (#2862) 2025-07-17 13:37:45 +02:00
tom goriunovandGitHub 93981cd872 API documentation page (#2725)
* add tabs to api-docs page and put swagger widgets in accordion

* move GraphQL widget into tab

* refactor API docs feature

* add swagger for user ops, bens and tac services

* update screenshots

* fix ts

* fix screenshot
2025-07-16 10:57:38 +02:00
eed52a4f49 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 9daf74bfd1 Changes in ReCaptcha behavior (#2829)
* migrate to v2 API URLs for CSV exports

* don't ask user to solve recaptcha for first response; pass token in header as well

* hide "Try again" button if no bypass allowed

* fix tests
2025-07-04 09:23:00 +02:00
tom goriunovandGitHub 8f16d530c8 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 goriunovandGitHub 2807f5fd30 Metadata: send address to fetchers once visited (#2814)
* Metadata: send address to fetchers once visited

Fixes #2723

* fix ts
2025-06-30 17:44:53 +02:00
tom goriunovandGitHub 0ae96dbd71 Celo: support L2 epochs (#2784)
* epochs page

* epoch rewards distribution

* epoch election rewards

* address epoch rewards

* block epoch tag

* add some  tests

* adjust epoch details for L1 epochs

* support non-finalized epochs

* fixes after design review

* add truncation to block numbers on mobile

* update epochs table layout

* update timestamp hint

* fix bug with subheading of first epoch

* fixes of mobile view

* update screenshots
2025-06-30 17:44:10 +02:00
tom goriunovandGitHub 91d1d03831 Add support for Ton Application Chains (#2722)
* operation lifecycle accordion

* operation entity

* adapt layout to mobile device

* basic operations view

* pass response data to operation details

* update types package

* tac operation status and links to tx on ton

* feature config, docs and operation badge

* add info to tx page

* add operations to search

* search input on operations page

* tests

* update tooltips and temporary fix of ts

* add InterFallback typeface with → glyph

* design and api updates

* support new API version

* add time format toggle

* add shield to entity icon

* minor fixes

* update screenshots

* clean up

* fix screenshot
2025-06-05 11:47:47 +02:00
tom goriunovandGitHub 4eb1bab413 Block page: internal transactions tab (#2721)
* Block page: internal transactions tab

Fixes #2698

* add counter
2025-06-04 15:03:09 +02:00
tom goriunovandGitHub b435e7feb8 Internal transactions page: add search by hash (#2715)
Fixes #2623
2025-06-04 14:29:05 +02:00
tom goriunovandGitHub 60ca92f526 API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00
Max AlekseenkoandGitHub 99355b548b Merits: activity cards and tracking (#2662) 2025-04-15 19:59:09 +02:00
Igor StuevandGitHub 4c991ccd2a Interop (#2585)
* interop

* fixes

* fix skeleton

* tests

* review fixes
2025-03-25 12:28:10 +01:00
Igor StuevandGitHub 50272d80cb fix endpoint name (#2610) 2025-03-05 15:35:29 +01:00
tom goriunovandGitHub e0d384195a Internal transactions list page (#2553)
* Internal transactions list page

Fixes #2526

* update nav icon for internal txns route

* fix ts error

* fix external txs test
2025-02-18 09:42:34 +01:00
tom goriunovandGitHub 1b6f441158 Merge pull request #2572 from blockscout/release/v1-37-6
Release v1.37.6
2025-02-13 18:25:41 +01:00
Igor StuevandGitHub 810d0c31a3 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 dec13d34f0 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 291fadfdd1 update paths for 3rd party resources 2025-02-13 12:02:52 +01:00
tom goriunovandGitHub fd45c5926e 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 791f9fd65f Zilliqa: Validator views (#2557)
* list of validators

* validator details page

* clean up

* review fixes
2025-02-11 09:59:02 +01:00
tom goriunovandGitHub 4923bd7bff 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 fd731ff6db don't throw on "Too many requests" error from 3rd-party APIs 2025-02-06 12:19:53 +01:00
tom d42ad68e15 Merge branch 'main' of github.com:blockscout/frontend into release/v1-37-5 2025-01-24 14:54:40 +01:00
tom 0202eddc50 migrate to the new API fields: tx_types, blob_tx_count and tx_burnt_fee 2025-01-23 12:36:47 +01:00
tom goriunovandGitHub 3fe8d3b27c Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
Igor StuevandGitHub ac9d57ccf0 pools pages (#2468)
* pools pages

* fixes and changes

* revert demo config
2024-12-16 14:43:50 +01:00
Igor StuevandGitHub 9c648f6671 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
tom goriunovandGitHub 96596264b9 Call the API logout endpoint when the user logs out (#2469)
* Call the API logout endpoint when the user logs out

* fix tests

* one more fix
2024-12-16 13:22:09 +01:00
Igor StuevandGitHub 203f7931fd Scroll views (#2418)
* Scroll views

* review fix

* fix tests
2024-12-03 11:05:28 +01:00
tom goriunovandGitHub 7ce99dcd19 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 2fcdaa2509 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 56ed34c852 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
isstuevandtom goriunov 778a0a9ed1 xstar endpoint url was changed 2024-11-08 17:26:58 +01:00
Igor StuevandGitHub 50089e7731 Humanity score integration (#2354)
* Humanity score integration

* isLoading fix
2024-11-04 18:53:42 +01:00
Max Alekseenko d2e440a39f Merge main into rewards 2024-10-30 16:54:58 +01:00
de46df7d9e 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
tom goriunovandGitHub 4daf9661d3 Support custom MUD system ABI (#2296)
* MUD system tab placeholder

* implement MUD system selector and fix proxy contract read/write

* rollback changes of target contract address
2024-10-28 18:42:50 +01:00
Max Alekseenko 13cdbd03e4 Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-24 16:29:15 +02:00
tom 298726d328 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-22 16:45:30 +02:00
Igor StuevandGitHub dd2cc8b03f Merge pull request #2280 from blockscout/fe-2257
Token transfers list page
2024-10-22 16:01:25 +02:00
isstuev 3c896d2e7a Token transfers list page 2024-10-22 15:13:54 +02:00
tom 7740ddf348 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-18 16:02:43 +02:00
isstuev c52888ac69 Celo: Epoch rewards tab on Address view 2024-10-17 13:22:43 +03:00
Max Alekseenko f1a5db2fa4 Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-16 17:44:33 +02:00
tom d05f9f8a2a fix linking email and wallet to existing account 2024-10-14 12:45:54 +02:00
tom 27c6c2b892 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-08 15:52:49 +03:00
Max Alekseenko e2127b5976 implement referral logic 2024-09-30 18:59:05 +02:00
Max Alekseenko 24c55ce1f9 add rewards config query 2024-09-30 14:22:22 +02:00
Max Alekseenko 8ddf6b6484 improve login, fetch real data 2024-09-27 18:26:58 +02:00