109 Commits
Author SHA1 Message Date
tom goriunovandGitHub b9c24fea17 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 28d077c59c remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom goriunovandGitHub 5106e526a4 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 a93e992291 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 39771804db 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 b21f57a9ba 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 5c286d6517 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom 294c136305 hide NFT attributes if array is empty or has only items without value 2024-11-08 17:26:58 +01:00
isstuev d45ceea0fa add more robust addresses 2024-11-04 16:23:30 +01:00
tom goriunovandGitHub 101420026f Do not display empty NFT attributes (#2348)
Fixes #2337
2024-11-04 14:13:21 +01:00
f78bfcfdb9 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
94e289c068 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 714f4495e0 fix tests 2024-09-25 18:54:59 +02:00
tom goriunovandGitHub cf796fd0b9 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 90aa60ba59 remove action button experiment 2024-07-18 14:20:41 +02:00
tom goriunovandGitHub 72331036c5 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 6021aa8b19 Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom 0b6abb9ac5 show pending toast until data is fetched 2024-06-27 12:50:20 +02:00
tom goriunovandGitHub 80cd43ad5e 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 6e16b57f33 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 8558965704 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 cbd6cf9d3c 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 f9e01d865e Multi chain balance button 2024-05-26 16:14:04 +02:00
tom goriunovandGitHub 8829025900 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
Max Alekseenko b098364220 add action button to NFT pages 2024-05-02 19:22:13 +02:00
tom 448e846b10 add fallback for NFT animation media 2024-03-05 09:27:20 +04:00
tom 481cb529fd fix tests 2023-12-20 19:56:57 +04:00
isstuev afd7480321 remove token info from instance 2023-11-29 15:49:58 +01:00
isstuev eb9fa1ef41 fixes 2023-10-23 23:14:57 +02:00
isstuev 6d54b780db test fixes 2023-10-23 23:14:57 +02:00
tom goriunovandGitHub e6c8bc21da Page title updates (#1265)
* block page title

* tx page title

* address page title

* token page title

* NFT page title

* [skip ci] update envs for review

* update title for NFT instance page

* update screenshots
2023-10-16 13:10:33 -03:00
tom goriunovandGitHub 03b8203611 NFT collections and instances - link to markets (#1277)
Fixes #1213
2023-10-16 11:29:01 -03:00
tom goriunovandGitHub 3fa4d09be1 Suave customization (#1256)
* new fields in tx details page

* execution node txs page

* tab for wrapped tx details

* add loading state to tabs

* types enhancement

* change review env api host

* add front app paths to review env

* rename fields

* [skip ci] execution node -> computor

* rollback envs for review stand

* add ENV for SUAVE
2023-10-09 15:41:52 -03:00
tom goriunovandGitHub 6f6bad6906 update icon styles for tokens, contract and more (#1204)
* update border radius for token logos and contract icon

* update gaps between icons and text

* update NFT icon and create entity

* update screenshots
2023-09-25 14:29:26 -03:00
isstuev 718e7d2423 nft fullscreen view 2023-09-22 19:19:01 +02:00
tom f831484e24 update screenshots 2023-08-31 17:05:48 -03:00
tom 76d41b4261 remove TokenSnippet 2023-08-30 16:23:30 -03:00
tom 5a21492f23 remove Address component, pt.2 2023-08-29 18:01:01 -03:00
tom goriunovandGitHub cac2ed2413 components for Block and Tx entities (#1108)
* base implementation of entity

* refactor other components to make use of BlockEntity

* tests

* migrate entities w/o icon + L2 blocks

* base implementation of tx entity

* delet TransactionSnippet

* remove type="transaction" from AddressLink

* tests for TxEntity

* make EntityBase components

* common styles for icon color and spacing to text

* update icon color in tests

* update icons to slime format

* Address entity
2023-08-23 18:08:01 -04:00
tom goriunovandGitHub 0e1bb4aa6c bugfix: media is not shown for NFT (#1095)
* combine imageUrl and animationUrl prop for NftMedia

* add lazy load to NftMedia

* refactor image and video components

* add support for NFT HTML media

* move pw image mocks to separate folder

* tests

* fix loading state
2023-08-18 08:56:53 -04:00
tom goriunovandGitHub e5bb9b21af 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
Igor StuevandGitHub 008fd491d0 copy and external icons update (#1077) 2023-08-07 19:23:28 -04:00
tom goriunovandGitHub 3e678a1009 tx logs: fix layout on mobile (#1062)
* tx logs: fix layout on mobile

Fixes #1052

* make a use of TruncatedValue
2023-08-07 19:20:40 -04:00