Commit Graph
128 Commits
Author SHA1 Message Date
7a674feb3d Bump react to v19 (#2782)
Co-authored-by: tom <[email protected]>
2025-06-11 20:03:31 +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
tom goriunovandGitHub 7f4cead166 Migrate to the props with consistent full naming in the API for addre… (#2694)
* Migrate to the props with consistent full naming in the API for address hash entity and multiple props for L2-rollups

Fixes #2686

* fix test
2025-04-24 13:13:18 +02:00
tom goriunovandGitHub 16b602d2a8 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 goriunovandGitHub 79907f648a ReCaptcha: allow the user to display the widget if an error occurs. (#2669)
Fixes #2653
2025-04-15 15:23:30 +02:00
tom d3cafc229d even more test fixes 2025-03-28 14:43:37 +01:00
tom 9f162b6995 major update of screenshots 2025-03-26 20:05:25 +01:00
tom e512d93cc5 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
23d2be9bf7 Improvements for NFT media (#2643)
* Show NFT image for token transfers

Fixes #2547

* rewrite logic of loading NFT media

* make amends to NftEntity

* show original media size only in the modal

* immutable envs

* tests

* fix fallback condition

* fixes

* fix one more test

* Removing blockscout-ci-cd from helm repo

---------

Co-authored-by: Nick Zenchik <[email protected]>
2025-03-25 13:53:27 +01:00
tom bdc7d2b370 fix ts 2025-03-24 20:55:19 +01:00
tom 7bc4372cca remove old semantic tokens 2025-03-13 15:22:59 +01:00
tom 7baad7e61d Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom eab8a90668 refactor Merits dashboard and Entities components 2025-03-11 19:46:38 +01:00
tom bd45b65f3a refactor Select usage 2025-03-11 12:35:49 +01:00
tom goriunovandGitHub f88adf1ad1 MetaMask: update chain data and add NFT tokens (#2598)
* Tweak `Add {Network}` button to enable network details update in MetaMask

Fixes #2591

* add NFTs tokens to MM wallet
2025-03-05 15:03:40 +01:00
tom 9ff6f1cf34 token instance page 2025-02-20 16:18:41 +01:00
tom d1caa0a2d1 DetailedInfo refactoring 2025-02-11 14:57:19 +01:00
tom 906058fc30 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-01-16 16:30:12 +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
tom 450a6fbaed horizontal navigation refactoring 2025-01-08 19:06:00 +01:00
Igor StuevandGitHub b79d300fd2 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom goriunovandGitHub d7cbebe580 Replace system selectors with Blockscout selectors style (#2451)
* migrate from native select to the custom one

* migrate popover radio filter to select component

* migrate stats menu to select

* migrate Sort component

* screenshot updates
2024-12-13 14:42:21 +01:00
tom goriunovandGitHub 710992b402 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 8fab91b298 Bump up Node.js to v22 (#2410)
* Bump up Node.js to v22

Fixes #2404

* update Playwright to v1.49.0

* fix tests

* one more fix

* fix screenshots
2024-11-25 12:43:05 +01:00
tom goriunovandGitHub 403d0a392e 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 56ed34c852 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom a7d5fe1aa7 hide NFT attributes if array is empty or has only items without value 2024-11-08 17:26:58 +01:00
isstuev 0f20a8d60b add more robust addresses 2024-11-04 16:23:30 +01:00
tom goriunovandGitHub b17ead416c Do not display empty NFT attributes (#2348)
Fixes #2337
2024-11-04 14:13:21 +01:00
6394d40118 Show "Update metadata" button for instance without metadata (#2327)
* 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

* Show "Update metadata" button for instance without metadata

* remove unused components

---------

Co-authored-by: aagaev <[email protected]>
2024-11-04 14:12:37 +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 1015cd2f07 fix tests 2024-09-25 18:54:59 +02:00
tom goriunovandGitHub 3db29ac1fe Tx interpretation: change margins between elements (#2241)
Paddings: icons + amount/text in interpretation

Fixes #1997
2024-09-16 18:19:37 +02:00
Max Alekseenko ea6f9de99c remove action button experiment 2024-07-18 14:20:41 +02:00
tom goriunovandGitHub d160752ea7 Public tags design updates (#2078)
* update styles of name tags

* update screenshots

* update screenshots

* fix tests

* update screenshot
2024-07-18 12:05:05 +02:00
tom goriunovandGitHub f1b59f4f8b Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom caa1e61cf0 show pending toast until data is fetched 2024-06-27 12:50:20 +02:00
tom goriunovandGitHub 90a53a8a74 Implement NFT instance metadata refetch button (#2039)
* refactor token instance page title

* add menu item and modal with recaptcha

* initialize refresh and show loading state

* handle error state

* fix metadata atributes parser

* refactoring

* tests
2024-06-25 18:19:39 +02:00
tom goriunovandGitHub 66045c206c Token Instance Page: move critical requests to the page root (#1959)
[performance]Token Instance Page move critical requests to the page root

Fixes #1938
2024-05-29 14:10:12 +02:00
tom goriunovandGitHub 4c0969b145 Add support for Diamond proxy standard (#1963)
* add support for array of implementations

* refactor ContainerWithScrollY component

* contract source code: allow to choose between all implementations

* fix layout of AddressNetWorth component

* add scroll container to implementation address on write/read proxy contract tab

* update screenshots
2024-05-29 14:09:55 +02:00
tom goriunovandGitHub 56ca976bb0 Details page: fix line height for rows (#1949)
* refactor block page

* token details

* token instance details

* name domain details

* blob details

* user ops details

* zkEvm and zkSync batch details

* tx details

* address details

* update screenshots
2024-05-28 12:33:56 +02:00
isstuev b14d326c75 Multi chain balance button 2024-05-26 16:14:04 +02:00
tom goriunovandGitHub c51dbd8177 Playwright tests refactoring, pt.5 (#1952)
* next part of test refactoring

* more refactoring

* more refactoring

* fixes and clean-up

* fixes

* build fixes

* more fixes
2024-05-25 15:41:32 +02:00
tom goriunovandGitHub 9ec01aa280 Update styles of form inputs (#1914)
* Update styles of form inputs

* update token info form

* update demo values

* fix preset for sepolia

* update screenshots
2024-05-15 17:37:02 +02:00
Max Alekseenko 38f9241cf7 add isEnabled param for useAppActionData 2024-05-08 14:21:47 +02:00
Max Alekseenko aac9bc9b89 change bg color and update screenshots 2024-05-07 21:26:18 +02:00
Max Alekseenko fd738f6b6c add more tests 2024-05-07 19:50:54 +02:00
Max Alekseenko 2a3c851067 refactor TokenInstanceDetails test 2024-05-07 19:36:14 +02:00
Max Alekseenko 2a140d0676 rename vars 2024-05-07 13:22:06 +02:00
Max Alekseenko ef0b6b454c add A/B-experiment and mixpanel event 2024-05-03 15:34:13 +02:00