Commit Graph
125 Commits
Author SHA1 Message Date
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 goriunovandGitHub fefc9dc03c ReCaptcha: allow the user to display the widget if an error occurs. (#2669)
Fixes #2653
2025-04-15 15:23:30 +02:00
tom f75a3ef288 even more test fixes 2025-03-28 14:43:37 +01:00
tom c45537b706 major update of screenshots 2025-03-26 20:05:25 +01:00
tom 0d0e5cde60 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
0890eb286a 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 8fa65829c2 fix ts 2025-03-24 20:55:19 +01:00
tom c55dfdcf5b remove old semantic tokens 2025-03-13 15:22:59 +01:00
tom 98e8c54841 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom d3da2aa3be refactor Merits dashboard and Entities components 2025-03-11 19:46:38 +01:00
tom 57bb722cb0 refactor Select usage 2025-03-11 12:35:49 +01:00
tom goriunovandGitHub 429bb4657b 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 e9b167e8d7 token instance page 2025-02-20 16:18:41 +01:00
tom 72f80539f8 DetailedInfo refactoring 2025-02-11 14:57:19 +01:00
tom 5f91ff4f3f Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-01-16 16:30:12 +01:00
tom goriunovandGitHub d29849184d 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 d79c4d8dd8 horizontal navigation refactoring 2025-01-08 19:06:00 +01:00
Igor StuevandGitHub 6c2356d607 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom goriunovandGitHub c802f0b5ed 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 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 bd4094ebd1 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 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 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom 4bed8be0ec hide NFT attributes if array is empty or has only items without value 2024-11-08 17:26:58 +01:00
isstuev 1e954fbfd0 add more robust addresses 2024-11-04 16:23:30 +01:00
tom goriunovandGitHub 969e46244b Do not display empty NFT attributes (#2348)
Fixes #2337
2024-11-04 14:13:21 +01:00
54721b88b3 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
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
tom 7c0e2fff47 fix tests 2024-09-25 18:54:59 +02:00
tom goriunovandGitHub d50475f9d1 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 9655b0243d remove action button experiment 2024-07-18 14:20:41 +02:00
tom goriunovandGitHub 0b4f3d1ef6 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 c735b217a7 Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom 375806c7dd show pending toast until data is fetched 2024-06-27 12:50:20 +02:00
tom goriunovandGitHub 19ddd87083 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 ba56108159 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 23bb231351 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 bf9b8cd577 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 f81f1c181b Multi chain balance button 2024-05-26 16:14:04 +02:00
tom goriunovandGitHub 22f8016a8f 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 bfb5d6acc7 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 04142008ba add isEnabled param for useAppActionData 2024-05-08 14:21:47 +02:00
Max Alekseenko b0202a6e9d change bg color and update screenshots 2024-05-07 21:26:18 +02:00
Max Alekseenko 9e85fa80da add more tests 2024-05-07 19:50:54 +02:00
Max Alekseenko 6845136f9c refactor TokenInstanceDetails test 2024-05-07 19:36:14 +02:00
Max Alekseenko f8f1ce24fa rename vars 2024-05-07 13:22:06 +02:00
Max Alekseenko 15e3c14bce add A/B-experiment and mixpanel event 2024-05-03 15:34:13 +02:00
Max Alekseenko 892a1dc188 add action button to NFT pages 2024-05-02 19:22:13 +02:00
tom ab2787e7df add fallback for NFT animation media 2024-03-05 09:27:20 +04:00
tom b8426f722a fix tests 2023-12-20 19:56:57 +04:00